Crate feos_core

Source

Modules§

cubic
Implementation of the Peng-Robinson equation of state.
parameter
Structures and traits that can be used to build model parameters for equations of state.

Macros§

log_iter
Print messages with level Verbosity::Iter or higher.
log_result
Print messages with level Verbosity::Result or higher.

Structs§

EquationOfState
An equation of state consisting of an ideal gas model and a residual Helmholtz energy model.
NoResidual
Dummy implementation for EquationOfStates that only contain an ideal gas contribution.
PhaseDiagram
Pure component and binary mixture phase diagrams.
PhaseDiagramHetero
Phase diagram (Txy or pxy) for a system with heteroazeotropic phase behavior.
PhaseEquilibrium
A thermodynamic equilibrium state.
SolverOptions
Options for the various phase equilibria solvers.
State
Thermodynamic state of the system.
StateBuilder
A simple tool to construct States with arbitrary input parameters.
StateHD
Thermodynamic state of the system in reduced variables including their derivatives.
StateVec
A list of states for a simple access to properties of multiple states.

Enums§

Contributions
Possible contributions that can be computed.
DensityInitialization
Initial values in a density iteration.
Derivative
Derivatives of the helmholtz energy.
EosError
Error type for improperly defined states and convergence problems.
Verbosity
Level of detail in the iteration output.

Traits§

Components
The number of components that the model is initialized for.
EntropyScaling
Reference values and residual entropy correlations for entropy scaling.
IdealGas
Ideal gas Helmholtz energy contribution.
Molarweight
Molar weight of all components.
ReferenceSystem
Residual
A residual Helmholtz energy model.
TemperatureOrPressure
Trait that enables functions to be generic over their input unit.

Type Aliases§

EosResult
Convenience type for Result<T, EosError>.