feos.eos

The eos module contains the EquationOfState object that contains all implemented equations of state. The State and PhaseEquilibrium objects are used to define thermodynamic conditions and – once created – can be used to compute properties.

If you want to adjust parameters of a model to experimental data you can use classes and utilities from the estimator module.

EquationOfState

EquationOfState

Collection of equations of state.

EquationOfState.pcsaft

PC-SAFT equation of state.

EquationOfState.epcsaft

ePC-SAFT equation of state.

EquationOfState.gc_pcsaft(parameters[, ...])

(heterosegmented) group contribution PC-SAFT equation of state.

EquationOfState.peng_robinson(parameters)

Peng-Robinson equation of state.

EquationOfState.pets(parameters[, max_eta])

PeTS equation of state.

EquationOfState.python_residual(residual)

Residual Helmholtz energy model from a Python class.

EquationOfState.python_ideal_gas(ideal_gas)

Ideal gas equation of state from a Python class.

EquationOfState.uvtheory

UV-Theory equation of state.

EquationOfState.saftvrmie(parameters[, ...])

SAFT-VR Mie equation of state.

EquationOfState.saftvrqmie(parameters[, ...])

SAFT-VRQ Mie equation of state.

Models defined in Python

EquationOfState.python_residual(residual)

Residual Helmholtz energy model from a Python class.

EquationOfState.python_ideal_gas(ideal_gas)

Ideal gas equation of state from a Python class.

Other data types

Contributions

Possible contributions that can be computed.

Verbosity

Level of detail in the iteration output.

State(eos[, temperature, volume, density, ...])

A thermodynamic state at given conditions.

StateVec(states)

A list of states that provides convenient getters for properties of all the individual states.

PhaseEquilibrium

A thermodynamic two phase equilibrium state.

PhaseDiagram(phase_equilibria)

Phase diagram for a pure component or a binary mixture.

The estimator module

Import

from feos.eos.estimator import Estimator, DataSet, Loss, Phase

Estimator(data, weights, losses)

A collection of `DataSet`s that can be used to compute metrics for experimental data.

DataSet

A collection of experimental data that can be used to compute cost functions and make predictions using an equation of state.

Loss

Collection of loss functions that can be applied to residuals to handle outliers.

Phase

Different phases of experimental data points.