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

Unsupported model type for methanol #171

Open
Matthew-Boyd opened this issue Mar 24, 2025 · 3 comments
Open

Unsupported model type for methanol #171

Matthew-Boyd opened this issue Mar 24, 2025 · 3 comments

Comments

@Matthew-Boyd
Copy link
Collaborator

Modeling methanol with the multifluid EOS causes the error:

Bad type:ResidualHelmholtzAssociating; allowed types are: {ResidualHelmholtzPower,ResidualHelmholtzGaussian,ResidualHelmholtzNonAnalytic,ResidualHelmholtzGaoB,ResidualHelmholtzLemmon2005,ResidualHelmholtzExponential,ResidualHelmholtzDoubleExponential,ResidualHelmholtzGenericCubic,ResidualHelmholtzPCSAFTGrossSadowski2001}

@ibell
Copy link
Collaborator

ibell commented Mar 24, 2025

I'm assuming you are using a CoolProp fluid file. The default fluid files for CoolProp (those used by default in teqp) use the associating fluid terms that were developed for methanol and acetic acid. I would recommend to use the file converted with the routines in REFPROP-interop as exposed like this: https://teqp.readthedocs.io/en/latest/models/REFPROP_conversion.html

@Matthew-Boyd
Copy link
Collaborator Author

I'm using teqp::cppinterface::make_model() with the JSON data from the default teqp JSON fluid file.

How do you best model methanol in teqp using its CoolProp fluid file, or must the converted FLD file be used instead?

@ibell
Copy link
Collaborator

ibell commented Mar 25, 2025

The converted fluid file must be used. On my CoolProp development list is to match the EOS used in REFPROP for methanol as the associating one has issues

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