Skip to content
New issue

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

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

Already on GitHub? # to your account

Unable to return fugacity lookups using the julia wrapper #31

Closed
chris-hampel-CA opened this issue Aug 23, 2023 · 0 comments
Closed

Unable to return fugacity lookups using the julia wrapper #31

chris-hampel-CA opened this issue Aug 23, 2023 · 0 comments

Comments

@chris-hampel-CA
Copy link
Contributor

CoolProp.jl is missing functions that allow for returning fugacity and fugacity coefficients. It was found that when trying to create the julia wrapper functions, seen below, that they errored out because the current CoolProp_jll pkg does not have proper functions that are compatible to wrap for use in Julia (it does work when using Pycall however); therefore, enabling this will first require a change in CoolProp_jll and then a change here in this repository.

For example,

AbstractState_keyed_output(handle, CoolProp.get_param_index("fugacity"))

Expected behavior: fugacity (or fugacity vector) returned

Actual behavior: CoolProp: Unknown parameter: fugacity

or

AbstractState_get_fugacity(handle, i)

Expected behavior: fugacity of species i returned

Actual behavior: ERROR: UndefVarError: AbstractState_get_fugacity not defined

We have created an issue within the CoolProp repo here

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants