excess_gibbs Subroutine

public subroutine excess_gibbs(self, n, T, Ge, GeT, GeT2, Gen, GeTn, Gen2)

Uses

  • proc~~excess_gibbs~2~~UsesGraph proc~excess_gibbs~2 NRTLHV%excess_gibbs module~yaeos__models_ge_base yaeos__models_ge_base proc~excess_gibbs~2->module~yaeos__models_ge_base module~yaeos__constants yaeos__constants module~yaeos__models_ge_base->module~yaeos__constants iso_fortran_env iso_fortran_env module~yaeos__constants->iso_fortran_env

Calculate Excess Gibbs and its derivatives.

Type Bound

NRTLHV

Arguments

Type IntentOptional Attributes Name
class(NRTLHV), intent(in) :: self

Model

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

Moles vector

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

Temperature [K]

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

Excess Gibbs free energy

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

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

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

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

Calls

proc~~excess_gibbs~2~~CallsGraph proc~excess_gibbs~2 NRTLHV%excess_gibbs proc~nrtl_hv_ge nrtl_hv_ge proc~excess_gibbs~2->proc~nrtl_hv_ge proc~nrtl_hv_tdep_linear nrtl_hv_tdep_linear proc~excess_gibbs~2->proc~nrtl_hv_tdep_linear

Called by

proc~~excess_gibbs~2~~CalledByGraph proc~excess_gibbs~2 NRTLHV%excess_gibbs proc~dmixhvnrtl HV_NRTL%DmixHVNRTL proc~dmixhvnrtl->proc~excess_gibbs~2

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: dtaudt(size(n),size(n))
real(kind=pr), public :: dtaudt2(size(n),size(n))
real(kind=pr), public :: tau(size(n),size(n))