Get the interaction parameter
Get the interaction parameter of the subgroups 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 subgroups i:1, j:16 interaction parameter bij (CH3-H2O)
! with maingroups 1 and 7 respectively.
print *, parameters%get_subgroups_bij(1, 16) ! prints: 0.0000
In the example we obtain 0.0 because UNIFAC only have parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_i_id |
ID of the subgroup |
||
integer, | intent(in) | :: | subgroup_j_id |
ID of the subgroup |
Interaction parameter
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | i | ||||
integer, | public | :: | j | ||||
integer, | public | :: | mi_id | ||||
integer, | public | :: | mj_id |