Mathematica 13.2 introduced some changes in unit handling that created errors in the Mathematica Wrapper. These have been patched including:
On loading of RefpropLink, an error occurs on the definition of the mN unit.
Mathematica bug treats Rankine (R) unit as a temperature change unit instead of an absolute unit. Wolfram will provide a patch release, but provided an interim work around that is applied when RefpropLink loads, but only if $VersionNumber = 13.2
There is a fundamental change in how Mathematica handles multiplication of affine temperature units (°F and °C). The change is warranted, but RefpropLink took advantage of the previously inconsistent treatment to create temperature unit variables °F and °C for simply temperature input notation. These unit variables have been removed for all versions > 13.2.
Benefits
Eliminates error message when loading the RefpropLink wrapper paclet, and when converting between Rankine and other temperature units. Also deprecates the affine temperature scaling variable definitions for °F and °C.
Possible Drawbacks
Temperatures with affine units must now be entered using Mathematica's Quantity[ ] function.
T = Quantity[72.0, "DegreesFahrenheit"]
T2 = Quantity[22.0, "DegreesCelsius"]
Also, extensive documentation still uses the provided °F and °C unit variables. However, an upcoming PR to address #502 will correct this misuse of °F and °C in the overhauled documentation files.
Verification Process
Changes were rather simple and can be viewed in the file changes. However, documentation examples were re-run and did not show any errors.
Description of the Change
Mathematica 13.2 introduced some changes in unit handling that created errors in the Mathematica Wrapper. These have been patched including:
Benefits
Eliminates error message when loading the RefpropLink wrapper paclet, and when converting between Rankine and other temperature units. Also deprecates the affine temperature scaling variable definitions for °F and °C.
Possible Drawbacks
Temperatures with affine units must now be entered using Mathematica's
Quantity[ ]
function.Also, extensive documentation still uses the provided °F and °C unit variables. However, an upcoming PR to address #502 will correct this misuse of °F and °C in the overhauled documentation files.
Verification Process
Changes were rather simple and can be viewed in the file changes. However, documentation examples were re-run and did not show any errors.
Applicable Issues
Closes #495