CADETProcess.reference.ReferenceIO

Contents

CADETProcess.reference.ReferenceIO#

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

A class representing reference data of of inlet or outlet unitoperations.

Attributes:
namestr

The name of the reference.

component_systemComponentSystem

ComponentSystem: ComponentSystem of the Solution object.

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.

denormalize()

Denormalize the solution using the transformation function.

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()

Normalize the solution using the transformation function.

plot([start, end, components, layout, y_max, ax])

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.

reset()

Reset component system, time, and solution arrays to their original values.

smooth_data([s, crit_fs, crit_fs_der])

Smooth data.

update()

Update the solution.

update_transform()

Update the transforms.