Carrier

Overview

Carrier represents energy carriers used across technologies and system components in a model.

Use Cases

  • Define or customize carrier behavior in a project-specific subclass.

  • Store carrier-related attributes used by technologies and validation logic.

Examples

from zen_creator import Carrier

# Typically extended in project-specific implementations.
class MyCarrier(Carrier):
    pass

Summary

zen_creator.Carrier.__init__

Initialize an Element instance.

Constructors

Carrier.__init__(model: Model, power_unit: str = 'MW')

Initialize an Element instance.

Parameters:
  • model (Model) – The model this element belongs to.

  • power_unit (str) – The unit for power values. Defaults to “MW”.

Member Reference

class zen_creator.Carrier(model: Model, power_unit: str = 'MW')

Bases: Element, ABC

property availability_export: Attribute
property availability_export_yearly: Attribute
property availability_import: Attribute
property availability_import_yearly: Attribute
property carbon_intensity_carrier_export: Attribute
property carbon_intensity_carrier_import: Attribute
property demand: Attribute
name: str = 'carrier'
property price_export: Attribute
property price_import: Attribute
property price_shed_demand: Attribute
set_default_values()

Initialize internal attributes to default values.

subpath: ClassVar[str] = 'set_carriers'