CADETProcess.reference.ReferenceBase#
- class CADETProcess.reference.ReferenceBase(name, time, solution, c_min)[source]#
Class representing references to be compared with SimulationResults.
- Attributes:
aggregated_parametersdict: Aggregated parameters of the instance.
- c_min
component_coordinatesnp.ndarray: Indices of the components.
component_systemComponentSystem: ComponentSystem of the Solution object.
coordinatesnp.ndarray: Coordinates of the Solution.
cycle_timefloat: Cycle time.
local_purity_componentsnp.ndarray: Local purity of each component.
local_purity_speciesnp.ndarray: Local purity of components.
missing_parameterslist: Parameters that are required but not set.
n_compint: Number of components.
- name
ntint: Number of time steps.
parametersdict: Parameters of the instance.
polynomial_parametersdict: Polynomial parameters of the instance.
required_parameterslist: Parameters that have no default value.
sized_parametersdict: Sized parameters of the instance.
- solution
solution_shapetuple: (Expected) shape of the solution.
- time
total_concentrationnp.ndarray: Total concentration (sum) of all components.
total_concentration_componentsnp.ndarray: Total concentration of components (sum of species).
Methods
Verify if all required parameters are set.
reset()Reset component system, time, and solution arrays to their original values.
update()Update the solution.
Update the transforms.
See also