Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
flash calculation given temperature and pressure

src/l/i/librefprop.so-HEAD/python/example.py   librefprop.so(Download)
T_1 = C(20)
T, p_1, Dl, Dv = RP.SATT(T_1+deltaT,kph=1)
T_1,p_1,D_1,Dl_1,Dv_1,q_1,e_1,h_1,s_1,cv_1,cp_1,w_1 = RP.TPFLSH(T_1,p_1)
pointsTable.add_row(["Point 1",K(T_1),Pa(p_1),milli(h_1),milli(s_1)])
 
T_3 = C(250)
p_3 = p_2 - deltaP
T_3,p_3,D_3,Dl_3,Dv_3,q_3,e_3,h_3,s_3,cv_3,cp_3,w_3 = RP.TPFLSH(T_3,p_3)
pointsTable.add_row(["Point 3",K(T_3),Pa(p_3),milli(h_3),milli(s_3)])