You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For total helmholtz equations, the following equations are provided: [...] with more to come. all functions accept the following states : [...]
state(p=p0,t=t0,...): Pressure-temperature. finds the gas and liquid phases, and returns the one with the least amount of gibbs
energy
However the following code :
using ThermoModels, ThermoState, Unitful
st =state(p =1.0u"bar", t =300.0u"K")
mass_enthalpy(IAPWS95(),st, u"kJ/kg")
gives :
weird, v₁ =0.03627440313443364 and v₀ =0.03627440313443364
ERROR: LoadError: MethodError: no method matching mol_enthalpy_impl(::Tuple{ThermoState.Types.Pressure,ThermoState.Types.Temperature,ThermoState.Types.SingleComponent}, ::IAPWS95, ::Float64, ::Float64)
Closest candidates are:mol_enthalpy_impl(::Tuple{ThermoState.Types.VolumeAmount,ThermoState.Types.Temperature,ThermoState.Types.SingleComponent}, ::ThermoModels.HelmholtzModel, ::Any, ::Any) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:99mol_enthalpy_impl(::Tuple{ThermoState.Types.VolumeAmount,ThermoState.Types.Temperature,ThermoState.Types.MaterialCompounds}, ::ThermoModels.HelmholtzModel, ::Any, ::Any, ::Any) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:110mol_enthalpy_impl(::ThermoModels.HelmholtzModel, ::Any...) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:304
Stacktrace:
[1] mol_enthalpy(::Tuple{ThermoState.Types.Pressure,ThermoState.Types.Temperature,ThermoState.Types.SingleComponent}, ::IAPWS95, ::ThermodynamicState{Tuple{Spec{ThermoState.Types.Pressure,Float64},Spec{ThermoState.Types.Temperature,Float64}},Tuple{}}, ::Unitful.FreeUnits{(J, mol^-1),𝐋 ^2 𝐌 𝐍 ^-1 𝐓 ^-2,nothing}) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:335
[2] mol_enthalpy(::IAPWS95, ::ThermodynamicState{Tuple{Spec{ThermoState.Types.Pressure,Float64},Spec{ThermoState.Types.Temperature,Float64}},Tuple{}}, ::Unitful.FreeUnits{(J, mol^-1),𝐋 ^2 𝐌 𝐍 ^-1 𝐓 ^-2,nothing}) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:309 (repeats 2 times)
[3] mass_enthalpy(::IAPWS95, ::ThermodynamicState{Tuple{Spec{ThermoState.Types.Pressure,Float64},Spec{ThermoState.Types.Temperature,Float64}},Tuple{}}, ::Unitful.FreeUnits{(kg^-1, kJ),𝐋 ^2 𝐓 ^-2,nothing}) at ~\.julia\packages\ThermoModels\BFqaa\src\base\helmholtz\helmholtz.jl:356
Is this still work in progress as the readme seems to indicate ?
The text was updated successfully, but these errors were encountered:
The readme states that
However the following code :
gives :
Is this still work in progress as the readme seems to indicate ?
The text was updated successfully, but these errors were encountered: