usnistgov / REFPROP-issues

A repository solely used for reporting issues with NIST REFPROP
26 stars 13 forks source link

Issue evaluating Temperature from Pressure and Enthalpy #616

Open LugPaw opened 11 months ago

LugPaw commented 11 months ago

In an Excel/VBA simulation that I was running, REFPROP Version 10.0.0.98a complained about a “type mismatch” trying to extract the temperature of WATER from the given pair of pressure and enthalpy values in the shaded row of the table below.

This is weird because the inputs are nowhere near edge of the range of validity. In fact, perturbing the enthalpy by 0.5 and 1 kJ/kg on the minus side gives the correct values, while I have to perturb it by a full 1 kJ/kg to get it to evaluate correctly on the plus side.

Is there a patch that fixes this issue?

image

ianhbell commented 3 months ago

You'll need the beta. Please email me at ian.bell@nist.gov for a fix for this case