Temperature–entropy diagram
Graph relating temperature and entropy during a thermodynamic process or cycle
From Wikipedia, the free encyclopedia
In thermodynamics, a temperature–entropy (T–s) diagram is a thermodynamic diagram used to visualize changes to temperature (T ) and specific entropy (s) during a thermodynamic process or cycle as the graph of a curve. It is a useful and common tool, particularly because it helps to visualize the heat transfer during a process. For reversible (ideal) processes, the area under the T–s curve of a process is the heat transferred to the system during that process.[1]
Working fluids are often categorized on the basis of the shape of their T–s diagram.
An isentropic process is depicted as a vertical line on a T–s diagram, whereas an isothermal process is a horizontal line.[2]

For reversible processes, such as those found in the Carnot cycle:
If the cycle moves in a clockwise sense, then it is a heat engine that outputs work; if the cycle moves in a counterclockwise sense, it is a heat pump that takes in work and moves heat QH from the cold reservoir to the hot reservoir.
