CADETProcess.processModel.FlowSheet.set_output_state

CADETProcess.processModel.FlowSheet.set_output_state#

FlowSheet.set_output_state(unit, state)[source]#

Set split ratio of outgoing streams for UnitOperation.

Parameters:
unitUnitBaseClass

UnitOperation of flowsheet.

stateint or list of floats or dict

new output state of the unit.

Raises:
CADETProcessError

If unit not in FlowSheet If state is integer and the state >= the state_length. If the length of the states is unequal the state_length. If the sum of the states is not equal to 1.