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.
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 currentCoolProp_jll
pkg does not have proper functions that are compatible to wrap for use in Julia (it does work when usingPycall
however); therefore, enabling this will first require a change inCoolProp_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