Values obtained for T above maximum for model

4 views
Skip to first unread message

Matt Yates

unread,
Dec 2, 2025, 10:50:59 AM (2 days ago) Dec 2
to coolpro...@googlegroups.com
What does CoolProp do when you ask it to calculate state properties outside the T range of the model?  For example the propane model:


says the maximum temperature is 650 K.  However, nothing in CoolProp stops me from calculating values well above that temperature.  Should I just assume calculated values above 650 K are meaningless?

I have been working on calculating enthalpy and Gibbs energy of chemical reactions.  I posted code on github to answer this issue:


It would be very useful for chemical reactions if higher T values outside the model limits could be used.  If CoolProp cannot be used above the T limit of each model, it would require switching to a different model (like ideal gas with a polynomial fit of Cp or an empirical correlation) when the T limit of the CoolProp model is reached.

-Matt Yates


Ian Bell

unread,
Dec 3, 2025, 4:53:18 PM (19 hours ago) Dec 3
to coolpro...@googlegroups.com
There are flags to skip the checks, but for consistency with REFPROP, you are permitted to evaluate up to 1.5*Tmax. The model is extrapolated, which may or may not be reasonable depending on the model, and caveat emptor

--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/coolprop-users/CAAFKHGPtCv7Tp2VLVN6ApS1AAnJZ41yRpiJ5QhbfLGEWBEC9Xw%40mail.gmail.com.

Matt Yates

unread,
12:10 PM (12 minutes ago) 12:10 PM
to coolpro...@googlegroups.com
Ian,

Thank you for the extra information.  I just tried an experiment with the ammonia formation reaction.  CoolProp ammonia model upper limit in T is listed as 725 K, but it allows me to calculate data using T much higher than 1.5*725.

JANAF has ammonia formation data here up to 6000 K: https://janaf.nist.gov/tables/H-083.html

I used the CoolProp model extrapolated to 6000K at the same 0.1MPa pressure for the JANAF table to generate estimates of ΔG and ΔH of this reaction from 300 K to 6000 K.  It does a very good job approximating values shown by NIST in the JANAF tables.  Maybe it is a fluke for ammonia and a bad idea to extrapolate willy nilly.  I attached plots of the difference in value estimated by coolprop to that given by JANAF in units of kJ/mol.  As a percentage difference, the maximum difference for ΔG is less than -0.5%.  It does a good job with estimating ΔH up to ~3000 K, but falls off after that.  As a percentage, the maximum error in ΔH from the CoolProp model is above 20% at 6000 K.  The enthalpy estimate at extremely high temperatures isn't great, but still doesn't seem terrible.

-Matt

G_NH3.png
H_NH3.png
Reply all
Reply to author
Forward
0 new messages