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.
Construct from a cubic EOS and experimental critical molar volumes.
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.
| Type | Intent | Optional | 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. |
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.
| 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 |
| private function new_ji_lempe (base, vc, eta, gamma) | Construct from a cubic EOS and experimental critical molar volumes. |
| 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 |
Construct from a cubic EOS and experimental critical molar volumes.
| Type | Intent | Optional | 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. |
Evaluate C = sum(n_i*c_i) and its requested derivatives.
| Type | Intent | Optional | 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²]. |