Derived Types

TypeLocationExtendsDescription
AlphaFunction yaeos__models_ar_genericcubic None

Abstract derived type that describe the required procedure for an alpha function.

AlphaMathiasCopeman yaeos__models_ar_cubic_alphas AlphaFunction

Mathias Copeman function.

AlphaRKPR yaeos__models_ar_cubic_alphas AlphaFunction

RKPR function

AlphaSoave yaeos__models_ar_cubic_alphas AlphaFunction

Soave function.

ArModel yaeos__models_ar BaseModel

Abstract residual Helmholtz model.

Read more…
ArModelAdiff yaeos__adiff_hyperdual_ar_api ArModel
ArModelTapenade yaeos__tapenade_ar_api ArModel
BaseModel yaeos__models_base None

Base model type.

Read more…
ContinuationVariable yaeos__math_continuation None
CriticalPoint yaeos__equilibria_boundaries_phase_envelopes_px None

Critical point

CriticalPoint yaeos__equilibria_boundaries_phase_envelopes_pt None

Critical point

CubicEoS yaeos__models_ar_genericcubic ArModel

Generic Cubic Equation of State as defined by Michelsen and Mollerup with a parameter that is not constant, and a parameter that depends on it. In the case of a two parameter EoS like PengRobinson the is the same for all components so it can be considered as a constant instead of a variable. The expression of the Equation is:

Read more…
CubicMixRule yaeos__models_ar_genericcubic None

Abstract derived type that describe the required procedure for a mixing rule on a Cubic EoS

EquilibriumState yaeos__equilibria_equilibrium_state None

Description of a two-phase equilibria state.

Read more…
FitKijLij yaeos__fitting_fit_kij_lij FittingProblem

Fit the binary interaction parameters of a mixtures.

Read more…
FitMHVNRTL yaeos__fitting_fit_nrtl_mhv FittingProblem
FittingProblem yaeos__fitting None

This derived type holds all the relevant information for a parameter optimization problem. It keeps the base model structure that will be optimized and a procedure get_model_from_X that should reconstruct the model with the desired parameters to optimize.

Read more…
GeGCModelParameters yaeos__models_ge_group_contribution_model_parameters None

group contribution model parameters container

Read more…
GeModel yaeos__models_ge BaseModel

Excess Gibbs energy model.

GeModelTapenade yaeos__tapenade_ge_api GeModel
Groups yaeos__models_ge_group_contribution_groups None

Derived type used to represent a molecule and its UNIFAC groups.

Read more…
HV yaeos__models_cubic_mixing_rules_huron_vidal CubicMixRule
hyperdual hyperdual_mod None
MHV yaeos__models_cubic_mixing_rules_huron_vidal CubicMixRule

Mixing rule at zero-pressure which allows for the inclusion of an excess-gibbs model.

Read more…
NelderMead yaeos__optimizers_nelder_mead Optimizer

Nelder-Mead optimization algorithm. This is a gradient-free optimization algorithm. It is a direct search method that does not require the gradient of the objective function. The algorithm is based on the simplex method of Nelder and Mead (1965). The original source code was taken from (https://people.math.sc.edu/Burkardt/f_src/asa047/asa047.html)

NRTL yaeos__models_ge_NRTL GeModelTapenade

Non-Random-Two-Liquid model

Read more…
Optimizer yaeos__optimizers None
PowellWrapper yaeos__optimizers_powell_wrap Optimizer

Wrapper derived type to optimize with the Powell method

PsiFunction yaeos__models_ge_gc_td None

UNIFAC functions abstract type

Read more…
PTEnvel2 yaeos__equilibria_boundaries_phase_envelopes_pt None

Two-phase isopleth. Phase boundary line of a fluid at constant composition.

PXEnvel2 yaeos__equilibria_boundaries_phase_envelopes_px None

Two-phase PX envelope. Phase boundary line of a fluid at constant temperature with variation in composition.

QMR yaeos__models_ar_cubic_quadratic_mixing CubicMixRule

Quadratic Mixing Rule (QMR) derived type. Classic Van der Waals mixing rules.

Read more…
QMR_RKPR yaeos__models_ar_cubic_quadratic_mixing QMR
QMRTD yaeos__models_ar_cubic_quadratic_mixing QMR
QuadraticPsi yaeos__models_ge_gc_td PsiFunction
Substances yaeos__substance None

Set of pure components

TMOptimizeData yaeos__phase_equilibria_stability None

Data structure to hold the data for the min_tpd optimization

UNIFAC yaeos__models_ge_group_contribution_unifac GeModel

Classic liquid-vapor UNIFAC model derived type

Read more…
UNIFACPsi yaeos__models_ge_gc_td PsiFunction

Read more…
UNIQUAC yaeos__models_ge_uniquac GeModel

UNIQUAC (universal quasichemical) Excess Gibbs free energy model.

Read more…