Facility#

class Facility(ID='', ins=None, outs=(), thermo=None, **kwargs)[source]#

Abstract class for facilities that are run after simulation of all unit operations within a system path.

static ordered_facilities(facilities)[source]#

Return facilities ordered according to their network priority.

line: str = 'Facility'#

class-attribute Name denoting the type of Unit class. Defaults to the class name of the first child class

run()#

Run mass and energy balance. This method also runs specifications user defined specifications unless it is being run within a specification (to avoid infinite loops).

See also

_run, specifications, add_specification, add_bounded_numerical_specification