Skip to content

Mathcad Wrapper Usability Enhancements#50

Merged
henningjp merged 1 commit intoCoolProp:masterfrom
henningjp:if97Units
Aug 15, 2024
Merged

Mathcad Wrapper Usability Enhancements#50
henningjp merged 1 commit intoCoolProp:masterfrom
henningjp:if97Units

Conversation

@henningjp
Copy link
Copy Markdown
Contributor

Description of the Change

Greatly improves usability of the stand-alone IF97 add-in for Mathcad Prime with the following changes.

  • Add two Mathcad include files (two very small binaries) that greatly improve usability of the IF97 Add-in by providing Mathcad wrapper functions for each IF97 function that:

    • Wraps the IF97 functions with more standard math notation for the function names,
    • Handle input values with Mathcad units and convert them to the units required by the IF97 functions,
    • Applies Mathcad units to the return values from the IF97 functions in the Mathcad add-in DLL.
  • Updates the README to point to an additional CustFunc add-in for Mathcad that

    • Opens a pop-up panel in Mathcad Prime on hot-key to provide descriptions and easy insertion of Custom Functions (add-ins like this one),
    • Provides an IF97 XML file that lists all of the raw and unit-wrapped functions in this IF97 add-in for Mathcad Prime
  • Legacy XML file for Mathcad 15 renamed to deter attempted use by Mathcad Prime users.
     

Verification

All unit wrapper functions have been tested to provide the same results in Mathcad as the raw functions provided by the add-in.

Possible Drawbacks

None. No changes to the actual IF97 code.

The Mathcad include files are, unfortunately, binaries, but they are small (~256K) and should not need updating as they have been thoroughly tested.

@henningjp henningjp merged commit f99ad8e into CoolProp:master Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant