The Groups type stores the UNIFAC subgroups of a molecule and their occurrence counts. It is used by all group-contribution models. A molecule is represented by matching subgroup-ID and count arrays.
molecule%groups_ids = [1, 14]
molecule%number_of_groups = [1, 1]
Derived type used to represent a molecule and its UNIFAC groups.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | allocatable | :: | groups_ids(:) |
Indexes (ids) of each subgroup in the main group matrix |
||
| integer, | public, | allocatable | :: | number_of_groups(:) |
Occurrences of each subgroup in the molecule |
||
| real(kind=pr), | public | :: | surface_area |
Molecule surface area |
|||
| real(kind=pr), | public | :: | volume |
Molecule volume |