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

support for superancillaries via loading of EoSSuperancillaries.jl #261

Merged
merged 18 commits into from
Mar 2, 2024

Conversation

longemen3000
Copy link
Member

superancillary support via pkg extensions. The workflow is the following:

  1. load the package: using EoSSuperancillaries
  2. that's it. the extension defined method for model::Union{SuperAncPCSAFT,SuperAncCubic} (hardcoded types that should support superancillaries.
  3. the extension adds methods for x0_sat_pure, x0_crit_pure(model::SuperAncPCSAFT) and crit_pure(model::SuperAncPCSAFT). this is useful in the case of extended precision calculations where the results are not exactly the ancillary, while being a really good starting point.
  4. the use of superancillaries can be turned on/off via Clapeyron.use_superancillaries!(val::Bool). This is useful for testing the default initial guess methods.

@longemen3000 longemen3000 merged commit 707a442 into master Mar 2, 2024
13 of 24 checks passed
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.

None yet

1 participant