CADETProcess.reference.ReferenceIO

Contents

CADETProcess.reference.ReferenceIO#

class CADETProcess.reference.ReferenceIO(name, time, component_system, solution, c_min)[source]#

A class representing reference data of inlet or outlet concentration profiles.

Attributes:
namestr

The name of the reference.

component_systemComponentSystem

The reference component system.

timenp.ndarray

The time points for the reference.

solutionnp.ndarray

The reference solution values.

flow_ratenp.ndarray

The flow rates for the reference.

Methods

check_required_parameters()

Verify if all required parameters are set.

create_fraction([start, end])

Create fraction in interval [start, end].

fraction_mass([start, end])

Component mass in a fraction interval.

fraction_volume([start, end])

Volume of a fraction interval.

integral([start, end])

Peak area in a fraction interval.

normalize()

SolutionIO: Normalize the solution using the transformation function.

offset(offset)

Shift solution by an offset.

plot([start, end, components, x_axis_in_minutes])

Plot the entire time_signal for each component.

plot_purity([start, end, components, ...])

Plot local purity for each component of the concentration profile.

resample([start, end, nt])

Resample solution to nt time points.

smooth_data([s, crit_fs, crit_fs_der])

Smooth data.

update_solution()

Update solution method.

update_transform()

Update the Transformer.