CADETProcess.processModel.FlowSheet.add_unit#
- FlowSheet.add_unit(unit, feed_inlet=False, eluent_inlet=False, product_outlet=False)[source]#
Add unit to the flow sheet.
- Parameters:
- unitUnitBaseClass
UnitBaseClass object to be added to the flow sheet.
- feed_inletbool
If True, add unit to feed inlets.
- eluent_inletbool
If True, add unit to eluent inlets.
- product_outletbool
If True, add unit to product outlets.
- Raises:
- TypeError
If unit is no instance of UnitBaseClass.
- CADETProcessError
If unit already exists in flow sheet. If n_comp does not match with FlowSheet.
See also