CADETProcess.processModel.FlowSheet.set_output_state

CADETProcess.processModel.FlowSheet.set_output_state#

FlowSheet.set_output_state(unit: UnitBaseClass, state: int | list[float] | dict, port: str | None = None) None[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.

portstr

Port for which to set the output state.

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. If port cannot be found in the unit operation.