2.2 Thermodynamic properties of Ammonia

2.2 Thermodynamic properties of Ammonia#

T, degC

P, kPa

u, kJ/kg

Phase description

500

160

-100

882.5

20

Saturated liquid-vapor mixture

230

Superheated vapor

import CoolProp.CoolProp as CP
###========== (a)================###
P = 500e3 # in Pa
u = 160e3 # in J/kg
fluid = "Nitrogen"
uf = CP.PropsSI("U", "Q", 0, "P", P,fluid)/1e3
ug = CP.PropsSI("U", "Q", 1, "P", P, fluid)/1e3
print("Uf at given pressure: {}".format(uf))
print("Ug at given pressure: {}".format(ug))
## we are in saturated mixture region; since u_given > uf and u_given < ug!
T = CP.PropsSI("T","P",P,"U",u,fluid)
print("Phase description: Saturated mixture")
print("Temperature: {}".format(round(T - 273.15,2)),"deg C")
Uf at given pressure: -87.49127651927326
Ug at given pressure: 62.30524130789916
Phase description: Saturated mixture
Temperature: -55.01 deg C

T, degC

P, kPa

u, kJ/kg

Phase description

-184.6

500

160

Subcooled liquid

-100

882.5

206.7

Saturated vapor

20

1100

217.5

Saturated liquid-vapor mixture

29.7

1800

230

Superheated vapor