get_subgroups_cij Function

public function get_subgroups_cij(self, subgroup_i_id, subgroup_j_id) result(cij)

get_subgroups_cij

Get the interaction parameter

Description

Get the interaction parameter of the subgroups i and j ids.

Examples

 use yaeos__models_ge_group_contribution_unifac_parameters, only: UNIFACParameters
 use yaeos__models_ge_group_contribution_model_parameters, only: GeGCModelParameters

 type(GeGCModelParameters) :: parameters

 parameters = UNIFACParameters()

 ! Get the subgroups i:1, j:16 interaction parameter cij (CH3-H2O)
 ! with maingroups 1 and 7 respectively.
 print *, parameters%get_subgroups_cij(1, 16) ! prints: 0.0000

In the example we obtain 0.0 because UNIFAC only have parameters

References

  1. Dortmund Data Bank Software & Separation Technology

Type Bound

GeGCModelParameters

Arguments

Type IntentOptional Attributes Name
class(GeGCModelParameters) :: self
integer, intent(in) :: subgroup_i_id

ID of the subgroup i

integer, intent(in) :: subgroup_j_id

ID of the subgroup j

Return Value real(kind=pr)

Interaction parameter


Calls

proc~~get_subgroups_cij~~CallsGraph proc~get_subgroups_cij GeGCModelParameters%get_subgroups_cij proc~get_maingroup_index GeGCModelParameters%get_maingroup_index proc~get_subgroups_cij->proc~get_maingroup_index proc~get_subgroup_maingroup GeGCModelParameters%get_subgroup_maingroup proc~get_subgroups_cij->proc~get_subgroup_maingroup proc~get_subgroup_index GeGCModelParameters%get_subgroup_index proc~get_subgroup_maingroup->proc~get_subgroup_index

Called by

proc~~get_subgroups_cij~~CalledByGraph proc~get_subgroups_cij GeGCModelParameters%get_subgroups_cij proc~setup_dortmund setup_dortmund proc~setup_dortmund->proc~get_subgroups_cij proc~setup_psrk setup_psrk proc~setup_psrk->proc~get_subgroups_cij proc~psrk PSRK proc~psrk->proc~setup_psrk

Variables

Type Visibility Attributes Name Initial
integer, public :: i
integer, public :: j
integer, public :: mi_id
integer, public :: mj_id