renewable
Classes:
-
RenewableCluster–Renewable clusters (solar, wind and other types of generation).
-
RenewableClusterGroup–Renewable cluster groups.
-
RenewableClusterProperties–Renewable cluster properties.
-
RenewableClusterPropertiesUpdate–Update the renewable cluster properties.
-
TimeSeriesInterpretation–Timeseries mode.
RenewableCluster
RenewableCluster(
renewable_service: BaseRenewableService,
area_id: str,
name: str,
properties: Optional[RenewableClusterProperties] = None,
)
Renewable clusters (solar, wind and other types of generation).
Methods:
-
get_timeseries–Get renewable availability time-series.
-
set_series–Set renewable availability time-series.
-
update_properties–Update renewable cluster's properties.
Attributes:
-
area_id(str) –Area ID.
-
id(str) –Renewable cluster's ID.
-
name(str) –Renewable cluster's name.
-
properties(RenewableClusterProperties) –Renewable cluster's properties.
Source code in src/antares/craft/model/renewable.py
get_timeseries
Get renewable availability time-series.
Returns:
-
DataFrame–Renewable time-series.
set_series
set_series(matrix: DataFrame) -> None
Set renewable availability time-series.
Parameters:
-
(matrixDataFrame) –Renewable time-series.
update_properties
update_properties(
properties: RenewableClusterPropertiesUpdate,
) -> RenewableClusterProperties
Update renewable cluster's properties.
Parameters:
-
(propertiesRenewableClusterPropertiesUpdate) –Renewable cluster properties to update.
Source code in src/antares/craft/model/renewable.py
RenewableClusterGroup
Renewable cluster groups. These groups are case insensitive.
Attributes:
-
THERMAL_SOLAR–Thermal solar generation.
-
PV_SOLAR–Photovoltaic solar generation.
-
ROOFTOP_SOLAR–Rooftop solar generation.
-
WIND_ON_SHORE–On shore wind generation.
-
WIND_OFF_SHORE–Off-shore wind generation.
-
OTHER1–Other 1
-
OTHER2–Other 2
-
OTHER3–Other 3
-
OTHER4–Other 4
RenewableClusterProperties
dataclass
RenewableClusterProperties(
enabled: bool = True,
unit_count: int = 1,
nominal_capacity: float = 0,
group: str = value,
ts_interpretation: TimeSeriesInterpretation = POWER_GENERATION,
)
Renewable cluster properties.
Attributes:
-
enabled(bool) –Whether the cluster is enabled in the simulation.
-
unit_count(int) –Number of generation units in the cluster.
-
nominal_capacity(float) –Nominal capacity of a single unit in MW.
-
group(str) –Group of the renewables.
-
ts_interpretation(TimeSeriesInterpretation) –Either
power_generationorproduction_factor.
RenewableClusterPropertiesUpdate
dataclass
RenewableClusterPropertiesUpdate(
enabled: Optional[bool] = None,
unit_count: Optional[int] = None,
nominal_capacity: Optional[float] = None,
group: Optional[str] = None,
ts_interpretation: Optional[TimeSeriesInterpretation] = None,
)
Update the renewable cluster properties.
Attributes:
-
group(Optional[str]) – -
ts_interpretation(Optional[TimeSeriesInterpretation]) –Either
power_generationorproduction_factor.
TimeSeriesInterpretation
Timeseries mode.
Attributes:
-
POWER_GENERATION–Power generation means that the unit of the timeseries is in MW
-
PRODUCTION_FACTOR–Production factor means that the unit of the timeseries is in p.u. (between 0 and 1, 1 meaning the full installed capacity).