yaeos__models_ar_volume_translations_ji_lempe Module

Ji and Lempe’s temperature-dependent volume translation for cubic EOS. . The original correlation was fitted to SRK; another cubic uses its own alpha.

W.-R. Ji and D.A. Lempe, Fluid Phase Equilibria 130 (1997), 49–63.


Uses

  • module~~yaeos__models_ar_volume_translations_ji_lempe~~UsesGraph module~yaeos__models_ar_volume_translations_ji_lempe yaeos__models_ar_volume_translations_ji_lempe module~yaeos__constants yaeos__constants module~yaeos__models_ar_volume_translations_ji_lempe->module~yaeos__constants module~yaeos__models_ar_genericcubic yaeos__models_ar_genericcubic module~yaeos__models_ar_volume_translations_ji_lempe->module~yaeos__models_ar_genericcubic module~yaeos__models_ar_volume_translated yaeos__models_ar_volume_translated module~yaeos__models_ar_volume_translations_ji_lempe->module~yaeos__models_ar_volume_translated iso_fortran_env iso_fortran_env module~yaeos__constants->iso_fortran_env module~yaeos__models_ar_genericcubic->module~yaeos__constants module~yaeos__models_ar yaeos__models_ar module~yaeos__models_ar_genericcubic->module~yaeos__models_ar module~yaeos__substance yaeos__substance module~yaeos__models_ar_genericcubic->module~yaeos__substance module~yaeos__models_ar_volume_translated->module~yaeos__constants module~yaeos__models_ar_volume_translated->module~yaeos__models_ar module~yaeos__models_ar->module~yaeos__constants module~yaeos__models_base yaeos__models_base module~yaeos__models_ar->module~yaeos__models_base module~yaeos__substance->module~yaeos__constants module~yaeos__models_base->module~yaeos__substance

Used by

  • module~~yaeos__models_ar_volume_translations_ji_lempe~~UsedByGraph module~yaeos__models_ar_volume_translations_ji_lempe yaeos__models_ar_volume_translations_ji_lempe module~yaeos__models yaeos__models module~yaeos__models->module~yaeos__models_ar_volume_translations_ji_lempe module~yaeos yaeos module~yaeos->module~yaeos__models module~yaeos__extra_fluids yaeos__extra_fluids module~yaeos__extra_fluids->module~yaeos__models proc~co2_h2o_isop co2_h2o_isop proc~co2_h2o_isop->module~yaeos__models

Interfaces

public interface JiLempeVolumeTranslation

  • private function new_ji_lempe(base, vc, eta, gamma) result(model)

    JiLempeVolumeTranslation constructor

    Construct from a cubic EOS and experimental critical molar volumes.

    Description

    The base volume is evaluated for each pure component at its Tc and Pc. Supply initialized cubic parameters and arrays in component order, with matching lengths, vc > 0, eta >= 0 and gamma > 0.

    Arguments

    Type IntentOptional Attributes Name
    class(CubicEoS), intent(in) :: base
    real(kind=pr), intent(in) :: vc(:)

    Critical molar volumes [L/mol].

    real(kind=pr), intent(in) :: eta(:)

    Nonnegative dimensionless parameters.

    real(kind=pr), intent(in) :: gamma(:)

    Positive exponents.

    Return Value type(JiLempeVolumeTranslation)


Derived Types

type, public, extends(VolumeTranslatedModel) ::  JiLempeVolumeTranslation

Component shifts are additive in mole amounts. Construct with JiLempeVolumeTranslation(base, vc, eta, gamma); base must be a cubic EOS and vc contains pure critical molar volumes in L/mol. The base volume is solved at each supplied Tc and Pc.

Read more…

Components

Type Visibility Attributes Name Initial
class(ArModel), public, allocatable :: base

Owned copy of the untranslated model, available to translation laws.

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

Base critical molar volume minus supplied critical molar volume [L/mol].

type(Substances), public :: components

Pure-component properties for the model’s component order.

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

Dimensionless Ji–Lempe parameter.

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

Positive exponent of the absolute reduced-temperature distance.

character(len=:), public, allocatable :: name

Name of the model

Constructor

private function new_ji_lempe (base, vc, eta, gamma)

Construct from a cubic EOS and experimental critical molar volumes.

Read more…

Type-Bound Procedures

procedure, public :: Cp_residual_pt
procedure, public :: Cp_residual_vt
procedure, public :: Cv_residual_pt
procedure, public :: Cv_residual_vt
procedure, public :: Psat_pure
procedure, public :: enthalpy_excess
procedure, public :: enthalpy_residual_pt
procedure, public :: enthalpy_residual_vt
procedure, public :: entropy_excess
procedure, public :: entropy_residual_pt
procedure, public :: entropy_residual_vt
procedure, public :: get_v0 => translated_v0
procedure, public :: gibbs_excess
procedure, public :: gibbs_residual_pt
procedure, public :: gibbs_residual_vt
procedure, public :: helmholtz_excess
procedure, public :: helmholtz_residual_pt
procedure, public :: init
procedure, public :: internal_energy_excess
procedure, public :: internal_energy_residual_pt
procedure, public :: internal_energy_residual_vt
procedure, public :: ln_activity_coefficient
procedure, public :: lnfug_vt
procedure, public :: lnphi_pt
procedure, public :: lnphi_vt
procedure, public :: pressure
procedure, public :: residual_helmholtz => translated_helmholtz
procedure, public :: translation => ji_lempe_translation
procedure, public :: volume => translated_volume
procedure, public :: volume_excess

Functions

private function new_ji_lempe(base, vc, eta, gamma) result(model)

Construct from a cubic EOS and experimental critical molar volumes.

Read more…

Arguments

Type IntentOptional Attributes Name
class(CubicEoS), intent(in) :: base
real(kind=pr), intent(in) :: vc(:)

Critical molar volumes [L/mol].

real(kind=pr), intent(in) :: eta(:)

Nonnegative dimensionless parameters.

real(kind=pr), intent(in) :: gamma(:)

Positive exponents.

Return Value type(JiLempeVolumeTranslation)


Subroutines

private subroutine ji_lempe_translation(self, n, T, C, CT, CT2, Cn, CTn, Cn2)

Evaluate C = sum(n_i*c_i) and its requested derivatives.

Read more…

Arguments

Type IntentOptional Attributes Name
class(JiLempeVolumeTranslation), intent(in) :: self
real(kind=pr), intent(in) :: n(:)

Component amounts [mol].

real(kind=pr), intent(in) :: T

Temperature [K].

real(kind=pr), intent(out) :: C

Extensive displacement [L].

real(kind=pr), intent(out), optional :: CT

Temperature derivative [L/K].

real(kind=pr), intent(out), optional :: CT2

Second temperature derivative [L/K²].

real(kind=pr), intent(out), optional :: Cn(size(n))

Molar shifts [L/mol].

real(kind=pr), intent(out), optional :: CTn(size(n))

Shift slopes [L/(mol K)].

real(kind=pr), intent(out), optional :: Cn2(size(n),size(n))

Zero amount Hessian [L/mol²].