usnistgov / REFPROP-wrappers

Wrappers around NIST REFPROP for languages such as Python, MATLAB, etc.
193 stars 127 forks source link

Fixes Units file to work around Prime 10 bug #608

Closed henningjp closed 4 months ago

henningjp commented 4 months ago

Single change to the RefProp_Units.mcdx file (binary) to workaround a bug in Mathcad Prime 10.

Changes include:

Per #605 , Mathcad Prime 10 introduced a bug that affects 3-parameter functions that use the derivative operator. This was used in a calculation of the thermal expansion coefficient. The error makes the entire file unusable by users as-is.

There's a simple workaround that has been employed in this version of the file. Offending equation: image

Simple re-arrangement in a Mathcad "program" fixes the problem. image

Testing

Additional Information

Related Issues

Closes #605

henningjp commented 4 months ago

@ianhbell - Sorry, this is a one-time update to a Mathcad binary worksheet. You'll just have to trust us on this one. It is ready to merge.