CADETProcess.processModel.FlowSheet#
- class CADETProcess.processModel.FlowSheet(name)[source]#
Class to design process flow sheet.
In this class, UnitOperation models are added and connected in a flow sheet.
- Attributes:
- n_compUnsignedInteger
Number of components of the units in the flow sheet.
- nameString
Name of the FlowSheet.
units
listlist: list of all unit_operations in the flow sheet.
connections
dictdict: In- and outgoing connections for each unit.
- output_statesdict
Split ratios of outgoing streams of UnitOperations.
Methods
add_connection
(origin, destination)Add connection between units 'origin' and 'destination'.
add_eluent_inlet
(eluent_inlet)Add inlet to list of units to be considered for eluent consumption.
add_feed_inlet
(feed_inlet)Add inlet to list of units to be considered for recovery.
add_product_outlet
(product_outlet)Add outlet to list of units considered for fractionation.
add_unit
(unit[, feed_inlet, eluent_inlet, ...])Add unit to the flow sheet.
Validate that units are connected correctly.
Verify if all required parameters are set.
Check if units are configured correctly.
connection_exists
(origin, destination)bool: check if connection exists in flow sheet.
get_flow_rates
([state])Calculate the volumetric flow rate for all connections in the process.
get_unit_index
(unit)Return the unit index of the unit.
remove_connection
(origin, destination)Remove connection between units 'origin' and 'destination'.
remove_eluent_inlet
(eluent_inlet)Remove inlet from list of units considered for eluent consumption.
remove_feed_inlet
(feed_inlet)Remove inlet from list of units to be considered for recovery.
remove_product_outlet
(product_outlet)Remove outlet from list of units to be considered for fractionation.
remove_unit
(unit)Remove unit from flow sheet.
set_output_state
(unit, state)Set split ratio of outgoing streams for UnitOperation.
check_flow_rates
origin_destination_name_decorator
unit_name_decorator
update_parameters
update_parameters_decorator