CADETProcess.processModel.ComponentSystem

Contents

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_speciesint

int: Number of species.

n_compint

int: Number of species.

n_componentsint

int: 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.

check_required_parameters()

Verify if all required parameters are set.

remove_component(component)

Remove a component from the system.

See also

Species
Component