Title: Thermodynamics of heat-power systems