FromTo_ToFrom
Bidirectional flow capacity model.
Import
Section titled “Import”>>> from r2x_reeds import FromTo_ToFrom>>> assert FromTo_ToFrom is not NoneBases: InfraSysBaseModel. Inherited contracts remain defined by the base classes.
Declared fields
Section titled “Declared fields”These fields are declared on this class. Required/default behavior is shown directly from source. Base-class fields also apply.
from_to
Section titled “from_to”from_to: Annotated[float, Field(description='Capacity from origin to destination in MW', ge=0)]to_from
Section titled “to_from”to_from: Annotated[float, Field(description='Capacity from destination to origin in MW', ge=0)]Continue with the Python API overview and transform contracts.