- class idaes.core.phases.Phase(*args, **kwds)¶
rule (function) – A rule function or None. Default rule calls build().
concrete (bool) – If True, make this a toplevel model. Default - False.
ctype (str) – Pyomo ctype of the block. Default - “Block”
default (dict) –
Default ProcessBlockData config
List of components which are present in phase. This is used to construct the phase-component Set for the property package.
A valid Python class with the necessary methods for constructing the desired equation of state (or similar model).
A dict or ConfigBlock of options to be used when setting up equation of state for phase.
Dict containing initialization data for parameters
Internal config argument indicating whether phase_list needs to be populated.
Method to calculate component diffusivities in phase
Method to calculate dynamic viscosity of phase
initialize (dict) – ProcessBlockData config for individual elements. Keys are BlockData indexes and values are dictionaries described under the “default” argument above.
idx_map (function) – Function to take the index of a BlockData element and return the index in the initialize dict from which to read arguments. This can be provided to overide the default behavior of matching the BlockData index exactly to the index in initialize.
(Phase) New instance
Phase Type Enum¶
In some cases, it is useful to be able to indicate a given type of phase, rather than an instance specific Phase class; an example would be indicating the set of valid phases for a given chemical species. In these cases, the PhaseType Enum can be used, which enumerates the different types of phases recognized by the IDAES framework.
The PhaseType Enum has the following possible values: