QH = W + QC = heat exchanged with the hot reservoir.
η = W / QH =thermal efficiency of the 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.T–s diagram for steam, US units