Thermodynamic cycle p v loop