CADETProcess.processModel.FlowSheet.__getitem__

CADETProcess.processModel.FlowSheet.__getitem__#

FlowSheet.__getitem__(unit_name)[source]#

Make FlowSheet substriptable s.t. units can be used as keys.

Parameters:
unit_namestr

Name of the unit.

Returns:
unitUnitBaseClass

UnitOperation of FlowSheet.

Raises:
KeyError

If unit not in FlowSheet