Skip to content

OptimalSitingConfig

Source

Configuration for applying loadsite-based optimal siting increments.

>>> from r2x_reeds.sysmod.optimal_siting import OptimalSitingConfig
>>> assert OptimalSitingConfig is not None

Bases: PluginConfig. 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.

loadsite_op_fpath: Path | str | None = Field(default=None, description='Path to loadsite_op.csv file.')
hour_map_myr_fpath: Path | str | None = Field(default=None, description='Path to hmap_myr.csv file.')
solve_year: int | list[int] | None = Field(default=None, description='Solve year used to filter loadsite rows when the file contains multiple years.')

Continue with the Python API overview and transform contracts.