CADETProcess.fractionation.Fractionator#
- class CADETProcess.fractionation.Fractionator(name, cycle_time, _lock)[source]#
Class for Chromatogram Fractionation.
To set Events for starting and ending a fractionation it inherits from the EventHandler class. It defines a ranking list for components as a DependentlySizedUnsignedList with the number of components as dependent size. The time_signal to fractionate is defined. If no ranking is set, every component is equivalently.
- Attributes:
aggregated_parametersdict: Aggregated parameters of the instance.
- chromatogram_events
chromatogram_nameslist: Chromatogram names
chromatogramslist: Chromatograms to be fractionized.
chromatograms_dictdict: Chromatogram names and objects.
component_systemComponentSystem: The component system of the chromatograms.
concentrationndarray: Component concentration in corresponding fraction pool.
cycle_timefloat: The cycle time of the Fractionator.
eluent_consumptionndarray: Specific eluent consumption in corresponding fraction pool.
fraction_poolsList of the component and waste fraction pools.
fractionation_statesdict: Fractionation state of Chromatograms.
- lock
massndarray: Component mass in corresponding fraction pools.
mass_balance_differencendarray: Difference in mass balance between m_feed and fraction pools.
missing_parameterslist: Parameters that are required but not set.
n_chromatogramsint: Number of Chromatograms Fractionator.
n_compint: Number of components to be fractionized
n_fractions_per_poollist: number of fractions per pool.
n_sectionsint: Number of sections.
- name
parametersdict: The EventHandler parameters.
performancePerformance: The performance metrics of the fractionation.
performer_eventsdict: Event performer mapped to their corresponding list of events.
polynomial_parametersdict: Polynomial parameters of the instance.
processProcess: The process from the simulation results.
productivityndarray: Specific productivity in corresponding fraction pool.
purityndarray: Component purity in corresponding fraction pool.
recoveryndarray: Component recovery yield in corresponding fraction pool.
required_parameterslist: Parameters that have no default value.
- section_dependent_parameters
simulation_resultsSimulationResults: The simulation results containing the chromatograms.
sized_parametersdict: Compilation of parameters from events with indices.
timenp.ndarray: solution times of Chromatogram.
total_massndarray: Total mass of each component in all fraction pools.
Methods
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_fraction(fraction, target)Add Fraction to the FractionPool of target component.
add_fractionation_event(event_name, target, time)Add a fractionation event.
Decorator to enable calling functions with chromatogram object or name.
Validate the event configuration.
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.
initial_values([purity_required])Create events from chromatogram with minimum purity.
Plot parameter state as a function of time.
plot_fraction_signal([chromatogram, ax])Plot the signal without the waste fractions.
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.
reset()Reset the results when fractionation times are changed.
set_fractionation_state(chrom, state)Set fractionation states of Chromatogram.
save