CADETProcess.modelBuilder.FlipFlop

Contents

CADETProcess.modelBuilder.FlipFlop#

class CADETProcess.modelBuilder.FlipFlop(cycle_time, _lock)[source]#

Flip-flop process.

The flowsheet includes: - feed: Inlet - eluent: Inlet - column: ChromatographicColumnBase - outlet: Outlet

The process is configured with two injections and column flow direction flips: - Injection 1 (duration: feed_duration) - Flip column flow direction after delay_flip - Injection 2 (delayed by delay_injection) - Flip column flow direction back

Attributes:
aggregated_parameters

dict: Aggregated parameters of the instance.

component_system

ComponentSystem: Component system of the process.

config

dict[str, dict]: Parameters and initial state of the process.

cycle_time
flow_sheet

FlowSheet: flow sheet of the process model.

initial_state

dict: Initial state of the process.

lock

bool: If True, properties are cached. False otherwise.

meta_information

dict: Meta information of the process.

missing_parameters

list: Parameters that are required but not set.

n_comp

int: Number of components in the process.

n_sections

int: Number of sections.

n_sensitivities

int: Number of parameter sensitivities.

parameter_sensitivities

list: Parameter sensitivites.

parameter_sensitivity_names

list: Parameter sensitivity names.

parameters

dict: Parameters of the process.

performer_events

Return Dict: Event performer mapped to their corresponding list of events.

polynomial_parameters

dict: Polynomial parameters of the process.

process_meta

ProcessMeta: Process meta information.

required_parameters

list: Parameters that have no default value.

section_dependent_parameters

dict: Section dependent parameters of the process.

sized_parameters

dict: Sized parameters of the process.

system_state

np.ndarray: State of the entire system.

system_state_derivative

np.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.

check_config()

Validate that process config is setup correctly.

check_cstr_volume()

Check if CSTRs run empty.

check_duplicate_events()

Ensure no simulateneous events are scheduled for a specific parameter and index.

check_required_parameters()

Verify if all required parameters are set.

check_uninitialized_indices()

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.