CADETProcess.processModel.ComponentSystem.add_component

CADETProcess.processModel.ComponentSystem.add_component#

ComponentSystem.add_component(name: str | None = None, species: str | list[str | None] = None, charge: int | list[int | None] = None, molecular_weight: float | list[float | None] = None, density: float | list[float | None] = None) None[source]#

Initialize Component.

Parameters:
namestr | None

Name of the component.

speciesstr | list[str | None]

Name(s) of the subspecies to initialize. If None, the component’s name is used.

chargeint | list [int | None]

Charges of the subspecies. Defaults to None for each species.

molecular_weightfloat | list[float | None]

Molecular weights of the subspecies. Defaults to None for each species.

densityfloat | list[float | None]

Density of component (including species). Defaults to None for each species.