# Variable declaration
T_c=34;# The condensing temperature in °C
T_s=30;# The subcooled temperature in °C
g=9.81;# m/s**2
# Calculation
P_c=15.69;# Saturation pressure at 34°C in bar
P_s=14.18;# Saturation pressure at 30°C in bar
dp=P_c-P_s;# Permissible pressure drop in bar
rho=1022;# Specific mass of liquid in kg/m**3;
H=(dp*10**5)/(rho*g);# Possible loss in static head in m
print"Possible loss in static head=%2.1f m"%H
# Variable declaration
T_a=20;# The ambient temperature in °C
m_p=10;# g
# Calculation
P_v=10.34;# Vapour pressure of R407C at 20°C in bar abs
P_o=11.70;# Observed pressure in bar abs
P_p=P_o-P_v;# Partial pressure of non-condensible gas in bar abs
M_m=(0.23*52)+(0.25*120)+(0.52*102);# Molecular mass
print"\nPartial pressure of non-condensible gas=%1.2f bar abs \nMolecular mass=%2.0f"%(P_p,M_m)