group contribution model parameters module.
This module contrains the GeGCModelParameters type that allows to store the subgroups ids, maingroups ids, subgroups Rs, subgroups Qs, subgroups maingroups, and maingroups interaction parameters for UNIFAC like models (UNIFAC, LL-UNIFAC, Dortmund UNIFAC, PSRK, etc)
group contribution model parameters container
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public, | allocatable | :: | maingroups_aij(:,:) |
Maingroup interaction parameters matrix |
||
real(kind=pr), | public, | allocatable | :: | maingroups_bij(:,:) |
Maingroup interaction parameters matrix |
||
real(kind=pr), | public, | allocatable | :: | maingroups_cij(:,:) |
Maingroup interaction parameters matrix |
||
integer, | public, | allocatable | :: | maingroups_ids(:) |
ID of each model’s maingroup |
||
real(kind=pr), | public, | allocatable | :: | subgroups_Qs(:) |
value of each subgroup |
||
real(kind=pr), | public, | allocatable | :: | subgroups_Rs(:) |
value of each subgroup |
||
integer, | public, | allocatable | :: | subgroups_ids(:) |
ID of each model’s subgroup |
||
integer, | public, | allocatable | :: | subgroups_maingroups(:) |
Maingroup of each subgroup |
procedure, public :: check_consistency | |
procedure, public :: get_maingroup_index | |
procedure, public :: get_maingroups_aij | |
procedure, public :: get_maingroups_bij | |
procedure, public :: get_maingroups_cij | |
procedure, public :: get_subgroup_Q | |
procedure, public :: get_subgroup_R | |
procedure, public :: get_subgroup_index | |
procedure, public :: get_subgroup_maingroup | |
procedure, public :: get_subgroups_aij | |
procedure, public :: get_subgroups_bij | |
procedure, public :: get_subgroups_cij |
Get index of the maingoup with id: maingoup_id
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | maingroup_id |
ID of the subgroup |
Index of the maingroup on the self%maingroups_ids
vector
Get the interaction parameter
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
Get the interaction parameter
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
Get the interaction parameter
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
Get the subgroup’s value
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_id |
ID of the subgroup |
value of the subgroup
Get the subgroup’s value
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_id |
ID of the subgroup |
value of the subgroup
Get index of the subgroup with id: subgroup_id
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_id |
ID of the subgroup |
Index of the subgroup on the self%subgroups_ids
vector
Get the subgroup’s maingroup
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_id |
ID of the subgroup |
Maingroup of the subgroup
Get the interaction parameter
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
Get the interaction parameter
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
Get the interaction parameter
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 | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters), | intent(in) | :: | self |