yaeos__models_ge_gc_td Module



Abstract Interfaces

abstract interface

  • public subroutine temperature_dependence(self, systems_groups, T, psi, dpsi_dt, dpsi_dt2)

    temperature_dependence interface

    Interface subroutine for UNIFAC models temperature dependent functions

    Arguments

    Type IntentOptional Attributes Name
    class(PsiFunction) :: self

    PsiFunction type variable

    class(Groups) :: systems_groups

    Groups type variable containig all the system’s groups. See the groups_stew variable on the UNIFAC documentation.

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

    Temperature [K]

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

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

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


Derived Types

type, public, abstract ::  PsiFunction

UNIFAC functions abstract type

Read more…

Type-Bound Procedures

procedure(temperature_dependence), public, deferred :: psi

type, public, extends(PsiFunction) ::  QuadraticPsi

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: Aij(:,:)
real(kind=pr), public, allocatable :: Bij(:,:)
real(kind=pr), public, allocatable :: Cij(:,:)

Type-Bound Procedures

procedure, public :: psi => Quadratic_temperature_dependence

type, public, extends(PsiFunction) ::  UNIFACPsi

Read more…

Components

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

Type-Bound Procedures

procedure, public :: psi => UNIFAC_temperature_dependence

Subroutines

public subroutine Quadratic_temperature_dependence(self, systems_groups, T, psi, dpsi_dt, dpsi_dt2)

Read more…

Arguments

Type IntentOptional Attributes Name
class(QuadraticPsi) :: self

function

class(Groups) :: systems_groups

Groups in the system

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

Temperature [K]

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

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

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

public subroutine UNIFAC_temperature_dependence(self, systems_groups, T, psi, dpsi_dt, dpsi_dt2)

Implementation of the function of the UNIFAC model.

Read more…

Arguments

Type IntentOptional Attributes Name
class(UNIFACPsi) :: self

function

class(Groups) :: systems_groups

Groups in the system

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

Temperature [K]

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

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

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