Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I am trying to get a pressure-enthalpy diagram for methane by using Coolprop but I am constantly getting Pressure_out_of_range error. Does anyone know the solution?
Hi,
Do not Have CoolProp so made up a make do HPQ function for this example
You first need to create a vector (not a range) for A.
Then vectorize the calls (element by element) of A when using HPQ
Cheers
Terry
Hi @ED_11098942 ,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,