Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ortho-H2 enthalpy datum #662

Open
DaveCryo opened this issue Jun 26, 2024 · 1 comment
Open

Ortho-H2 enthalpy datum #662

DaveCryo opened this issue Jun 26, 2024 · 1 comment

Comments

@DaveCryo
Copy link

If you have an issue to report, please continue and fill out the applicable sections below. The details provided will help to resolve this issue as quickly as possible.

Prerequisites

NOTE: Be aware that all issues are publicly accessible and viewable. Thus please do not post any code or other content that is protected intellectual property or under copyright.

Before posting an issue, please:
* Check the FAQ for common solutions.
* Check that your issue isn't already filed under REFPROP Issues.
* Check the documentation.

You can also use markdown to format your issue: GitHub guide on Markdown. If you have code snippets, please use a code block to ensure that the formatting remains legible in the web interface. For instance, surround your code in triple backticks:

print('Hello world!')

Description

My problem in a nutshell,
a) REFPROP enthalpy and entropy datum values for Para-H2 are zero at NBP.
b) I would like to be able to change the enthalpy datum value of Ortho-H2 from 444.92 J/g to 703 J/g (rounded value).
With this change the enthalpies of O-H2 and P-H2 would differ by the exothermic heat of conversion.

Is this possible? If so please let me know how. (I am not a VB programmer).

If the enthalpy datum for O-H2 is adjusted as suggested, it may be advisable for its entropy datum to be changed.
Your advice on this point is also appreciated.

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Versions

REFPROP Version: [REFPROP version you are using] version10
Operating System and Version: [OS you are running REFPROP on] Windows 11
Access Method: [How you are accessing REFPROP (i.e. Python, other wrapper)]: Standalone REFPROP via links to Excel and via UniSim using REFPROP Thermo.

Additional Information

I obtain the same result, so this is a fundamental issue with the enthalpy datum for ortho H2.
The enthalpy datum value for para-H2 is liquid at NBP. The value for ortho-H should be greater than this by the heat of conversion at about 20.3K.

If possible, please post examples and/or screenshots of the issue.
image

@ianhbell
Copy link
Contributor

In the VBA code you should look for the SETREF function and the docs are here: https://refprop-docs.readthedocs.io/en/latest/DLL/legacy.html#f/_/SETREFdll

@ianhbell ianhbell transferred this issue from usnistgov/REFPROP-wrappers Jun 27, 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

No branches or pull requests

2 participants