You are on page 1of 1

T5=T1

T7=60[C]
P1=50 [bar]
P2 = 20[bar]
P4 = 2 [bar]
h1 = enthalpy(water,T=T1,P=P1)
s1 = entropy(water,T=T1,P=P1)
hisentropic2 = enthalpy(water,P=P2,s=s1)
eta0= (h1-h2)/(h1-hisentropic2)
h3= enthalpy(water,T=T3,P=P2)
s3 = entropy(water,T=T3,P=P2)
hisentropic4 = enthalpy(water,P=P4,s=s3)
eta_0= (h3-h4)/(h3-hisentropic4)
h5= enthalpy(water,T=T5,P=P4)
s5 = entropy(water,T=T5,P=P4)
P6 = P_sat(water,T=T7)
hisentropic6=enthalpy(water,P=P6,s=s5)
eta_0= (h5-h6)/(h5-hisentropic6)
h7= enthalpy(water,T=T7,x=0)
h8=h7+volume(water,T=T7,x=0)*(P4-P6)*convert(bar,kPa)
h9=enthalpy(water,P=P4,x=0)
h10= h9+volume(water,P=P4,x=0)*(P1-P4)*convert(bar,kPa)
h12=enthalpy(water,P=P2,x=0)
h13=h12
h11= enthalpy(water,P=P1,T=T12)

You might also like