cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Coolprop P-h diagram

ED_11098942
1-Newbie

Coolprop P-h diagram

ED_11098942_0-1717749552282.png

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?

2 REPLIES 2

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

Capture.JPG

Cheers

Terry

olivierlp
Community Manager
(To:ED_11098942)

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,

Olivier
Announcements

Top Tags