get_maingroups_bij Function

public function get_maingroups_bij(self, maingroup_i_id, maingroup_j_id) result(bij)

get_maingroups_bij

Get the interaction parameter

Description

Get the interaction parameter of the maingroups 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 maingroups i:1, j:7 interaction parameter bij (CH2-H2O)
 print *, parameters%get_maingroups_bij(1, 7) ! prints: 0.0

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) :: maingroup_i_id

ID of the maingroup i

integer, intent(in) :: maingroup_j_id

ID of the maingroup j

Return Value real(kind=pr)

Interaction parameter


Variables

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