Skip to content

Carrier

API Reference

Carrier

Bases: BaseComponent[Static]

Energy carriers of buses (e.g. "AC" for alternating current, "DC" for direct current, "hydrogen", or "heat") or technologies of other components (e.g. "wind", "gas turbine", "electrolyser", or "heat pump").

PyPSA user guide for this component.

co2_emissions: float = Field(default=0.0, ge=0.0)

Emissions in tCO₂ per MWh of primary energy (e.g. methane has 0.2 tCO₂/MWh_thermal).

color: str | None = Field(default=None, min_length=1)

Color for plotting (e.g. matplotlib named colors or hexadecimal color codes like "#AB9812").

nice_name: str | None = Field(default=None, min_length=1)

Descriptive name for statistics and visualisations (e.g. "Natural Gas" for carrier gas).

max_growth: float | None = Field(default=None, ge=0.0)

Maximum new installed capacity per investment period.

max_relative_growth: float = Field(default=0.0, ge=0.0)

Maximum capacity ratio for new installed capacity per investment period.