PXEnvel2 Derived Type

type, public :: PXEnvel2

PXEnvel2

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

Description

Stores feed interpolation coordinates, limiting compositions, saturation states, and critical points along the line.

Examples

line = px_envelope_2ph(model, z0, alpha0, z_injection, first_point)

Inherits

type~~pxenvel2~~InheritsGraph type~pxenvel2 PXEnvel2 type~criticalpoint CriticalPoint type~pxenvel2->type~criticalpoint cps type~equilibriumstate EquilibriumState type~pxenvel2->type~equilibriumstate points

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: alpha(:)

Second fluid molar fraction

type(CriticalPoint), public, allocatable :: cps(:)

Critical points found along the line.

type(EquilibriumState), public, allocatable :: points(:)

Each point through the line.

real(kind=pr), public, allocatable :: z0(:)

Original fluid composition

real(kind=pr), public, allocatable :: z_inj(:)

Second fluid composition