The steam enters through port a and saturated water leaves port b.
The total heat removed to bring the inlet steam to saturated liquid conditions at the set pressure is Q_total.