pub struct PhaseEquilibrium<U, E, const N: usize>(_);
Expand description

A thermodynamic equilibrium state.

The struct is parametrized over the number of phases with most features being implemented for the two phase vapor/liquid or liquid/liquid case.

Contents

Implementations

Calculate a phase equilibrium for a given temperature and composition of the liquid phase.

Calculate a phase equilibrium for a given pressure and composition of the liquid phase.

Calculate a phase equilibrium for a given temperature and composition of the vapor phase.

Calculate a phase equilibrium for a given pressure and composition of the vapor phase.

Calculate a heteroazeotrope (three phase equilbrium) for a binary system and given temperature.

Calculate a heteroazeotrope (three phase equilbrium) for a binary system and given pressure.

Perform a Tp-flash calculation. If no initial values are given, the solution is initialized using a stability analysis.

The algorithm can be use to calculate phase equilibria of systems containing non-volatile components (e.g. ions).

Calculate a phase equilibrium for a pure component and given temperature.

Calculate a phase equilibrium for a pure component and given pressure.

Calculate the pure component vapor pressures of all components in the system for the given temperature.

Calculate the pure component boiling temperatures of all components in the system for the given pressure.

Calculate the pure component phase equilibria of all components in the system for the given temperature.

Calculate the pure component phase equilibria of all components in the system for the given pressure.

Check if the two states form a trivial solution

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.