CADETProcess.modelBuilder.SerialColumns#
- class CADETProcess.modelBuilder.SerialColumns(cycle_time, _lock)[source]#
Serial columns process.
The flowsheet is configured with the following unit operations: - feed: Inlet - eluent_1: Inlet - eluent_2: Inlet - column_1: ChromatographicColumnBase - column_2: ChromatographicColumnBase - outlet_1: Outlet for column 1 - outlet_2: Outlet for column 2
— Injection — - feed_on: Sets feed.flow_rate to flow_rate. - eluent_1_off: Sets eluent_1.flow_rate to 0.0; triggered by feed_on. - serial_on: Connects column 1 to column 2. - eluent_2_off: Sets eluent_2.flow_rate to 0.0; triggered by serial_on.
— Elution — - feed_off: Sets feed.flow_rate to 0.0; triggered by feed_on and feed_duration. - eluent_1_on: Sets eluent_1.flow_rate to flow_rate; triggered by feed_off.
— Serial Connection — - serial_off: Disconnects column 1 from column 2 (sets output_states.column_1 to 0). - eluent_2_on: Sets eluent_2.flow_rate to flow_rate; triggered by serial_off.
- Attributes:
aggregated_parametersdict: Aggregated parameters of the instance.
component_systemComponentSystem: Component system of the process.
configdict[str, dict]: Parameters and initial state of the process.
- cycle_time
flow_sheetFlowSheet: flow sheet of the process model.
initial_statedict: Initial state of the process.
lockbool: If True, properties are cached. False otherwise.
meta_informationdict: Meta information of the process.
missing_parameterslist: Parameters that are required but not set.
n_compint: Number of components in the process.
n_sectionsint: Number of sections.
n_sensitivitiesint: Number of parameter sensitivities.
parameter_sensitivitieslist: Parameter sensitivites.
parameter_sensitivity_nameslist: Parameter sensitivity names.
parametersdict: Parameters of the process.
performer_eventsReturn Dict: Event performer mapped to their corresponding list of events.
polynomial_parametersdict: Polynomial parameters of the process.
process_metaProcessMeta: Process meta information.
required_parameterslist: Parameters that have no default value.
section_dependent_parametersdict: Section dependent parameters of the process.
sized_parametersdict: Sized parameters of the process.
system_statenp.ndarray: State of the entire system.
system_state_derivativenp.ndarray: State derivative of the entire system.
Methods
add_concentration_profile(unit, time, c[, ...])Add concentration profile to Process.
add_duration(name[, time])Register a new duration or time point of interest.
add_event(name, parameter_path, state[, ...])Add a new event that changes a parameter during the process.
add_event_dependency(dependent_event, ...[, ...])Create a dependency relationship between events.
add_flow_rate_profile(unit, time, flow_rate)Add flow rate profile to a SourceMixin unit operation.
add_parameter_sensitivity(parameter_paths[, ...])Add parameter sensitivty to Process.
Validate that process config is setup correctly.
Check if CSTRs run empty.
Ensure no simulateneous events are scheduled for a specific parameter and index.
Verify if all required parameters are set.
Ensure all indices are specified when a parameter isn't initialized.
plot_events([x_axis_in_minutes, ax, ...])Plot parameter state as a function of time.
remove_duration(duration_name)Remove a specified duration or time point from tracking.
remove_event(evt_name)Remove a specified event from the event handler.
remove_event_dependency(dependent_event, ...)Remove a previously defined dependency between events.