Calculate the critical constants for each pure component.
Description
Calculates the critical temperature, pressure and acentric factor
for each pure component in the model.
The critical points are calculated using the critical_point function
from the yaeos__equilibria_critical module.
The acentric factor is calculated using the saturation pressure at
0.7 of the critical temperature.
It updates the Tc, Pc and w attributes of each component in the
model.
Note
This subroutine assumes that the pure component constants for each
component are already allocated.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.