CADETProcess.processModel.FlowSheet.remove_unit

CADETProcess.processModel.FlowSheet.remove_unit#

FlowSheet.remove_unit(unit)[source]#

Remove unit from flow sheet.

Removes unit from the list. Tries to remove units which are twice located as desinations. For this the origins and destinations are deleted for the unit. Raises a CADETProcessError if an ValueError is excepted. If the unit is specified as feed_inlet, eluent_inlet or product_outlet, the corresponding attributes are deleted.

Parameters:
unitUnitBaseClass

UnitBaseClass object to be removed to the flow sheet.

Raises:
CADETProcessError

If unit does not exist in the flow sheet.

See also

add_unit
feed_inlet
eluent_inlet
product_outlet