CADETProcess.processModel.ComponentSystem#
- class CADETProcess.processModel.ComponentSystem(name)[source]#
Information about components in system.
A component can contain subspecies (e.g. differently charged variants).
- Attributes:
- nameString
Name of the component system.
componentslist[Component]list[Component]: List of components in the system.
n_speciesintint: Number of species.
n_compintint: Number of species.
n_componentsintint: Number of components.
indicesdict[str, list[int]]dict[str, list[int]]: List of species indices for each component name.
nameslist[str]list[str]: List of component names.
specieslist[str]list[str]: List of species names.
chargeslist[int | None]list[int | None]: List of species charges.
molecular_weightslist[float | None]list[float | None]: List of species molecular weights.
densitieslist[float | None]list[float | None]: List of species densities.
Methods
add_component([name, species, charge, ...])Initialize Component.
Verify if all required parameters are set.
remove_component(component)Remove a component from the system.