CADETProcess.processModel.FlowSheet.get_unit_index

CADETProcess.processModel.FlowSheet.get_unit_index#

FlowSheet.get_unit_index(unit)[source]#

Return the unit index of the unit.

Parameters:
unitUnitBaseClass

UnitBaseClass object of which the index is to be returned.

Returns:
unit_indexint

Returns the unit index of the unit_operation.

Raises:
CADETProcessError

If unit does not exist in the current flow sheet.