Get the interaction parameter
Get the interaction parameter of the maingroups i
and j
ids.
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 cij (CH2-H2O)
print *, parameters%get_maingroups_cij(1, 7) ! prints: 0.0
In the example we obtain 0.0 because UNIFAC only have parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | maingroup_i_id |
ID of the maingroup |
||
integer, | intent(in) | :: | maingroup_j_id |
ID of the maingroup |
Interaction parameter
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | i | ||||
integer, | public | :: | j |