However, the min. pressure can't be set under 0.32 bar, otherwise I became following error:
e.g.: for pRange=[0.3 Mpa, 95Mpa]
CreatAmmoniaProperties
Error using twoPhaseFluidTables>coolpropFluidProperties (line 899)
CoolProp failed to return fluid properties at P = 0.3 MPa, U =
243.085 kJ/kg.
Error in twoPhaseFluidTables>@(p,u)coolpropFluidProperties(p,u,substance,coolpropFun) (line 789)
fluidProperties = @(p, u) coolpropFluidProperties(p, u, substance, coolpropFun);
Error in twoPhaseFluidTables (line 233)
= fluidProperties(p(j), u_liq(i,j));
Error in CreatAmmoniaProperties (line 2)
AmmoniaTables = twoPhaseFluidTables([10,3050],[0.3,95],50,50,120,...
Caused by:
Error using CoolProp/CoolProp.__Props_err2 (line 351)
Python Error: ValueError: unable to solve 1phase PY flash with Tmin=263.935, Tmax=1087.5 due to error: HSU_P_flash_singlephase_Brent could not find a solution because Umolar [4139.86 J/mol] is below the minimum value of 25121.9561167 J/mol : PropsSI("D","P",300000,"U",243085.0403,"Ammonia")
According to my knowledge, the min pressure of ammonia could be under 1 bar, could anyone help me to find why the error occurs? Or is the pressure<3.5 bar is not covered in CoolPro?
Thanks to all.
>>