OptimalSitingConfig
Configuration for applying loadsite-based optimal siting increments.
Import
Section titled “Import”>>> from r2x_reeds.sysmod.optimal_siting import OptimalSitingConfig>>> assert OptimalSitingConfig is not NoneBases: PluginConfig. 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.
loadsite_op_fpath
Section titled “loadsite_op_fpath”loadsite_op_fpath: Path | str | None = Field(default=None, description='Path to loadsite_op.csv file.')hour_map_myr_fpath
Section titled “hour_map_myr_fpath”hour_map_myr_fpath: Path | str | None = Field(default=None, description='Path to hmap_myr.csv file.')solve_year
Section titled “solve_year”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.