Skip to content

FromTo_ToFrom

Source

Bidirectional flow capacity model.

>>> from r2x_reeds import FromTo_ToFrom
>>> assert FromTo_ToFrom is not None

Bases: InfraSysBaseModel. Inherited contracts remain defined by the base classes.

These fields are declared on this class. Required/default behavior is shown directly from source. Base-class fields also apply.

from_to: Annotated[float, Field(description='Capacity from origin to destination in MW', ge=0)]
to_from: Annotated[float, Field(description='Capacity from destination to origin in MW', ge=0)]

Continue with the Python API overview and transform contracts.