Thermo Hw2

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

"given"

t[1]=80
x[1]=0.7
t[2]=500
p[1]=200
p[2]=20000
p[3]=500
h[1]=1500
t[3]=151.83
fluid$='Steam_IAPWS'
"fix states"
h[2]=enthalpy(fluid$,t=t[1],x=x[1])
p[4]=pressure(fluid$,t=t[1],h=h[1])
h[3]=enthalpy(fluid$,t=t[1],p=p[1])
h[4]=enthalpy(fluid$,t=t[1],p=p[2])
s[1]=entropy(fluid$,t=t[2],p=p[2])
h[5]=enthalpy(fluid$,t=t[3],p=p[3])

You might also like