battery_optimizer.uk.bod#
Classes
|
|
|
|
|
|
|
|
|
- class battery_optimizer.uk.bod.BodBid(*, offer_price_per_MWh, bid_price_per_MWh, power_MW)#
Bases:
BaseModel- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class battery_optimizer.uk.bod.BodRequest(*, request_id, creation_timestamp, payload, maximal_price_per_MWh=9999.0)#
Bases:
BaseModel- Parameters:
request_id (str)
creation_timestamp (datetime)
payload (list[BodRequestEntry])
maximal_price_per_MWh (float)
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- payload: list[BodRequestEntry]#
- class battery_optimizer.uk.bod.BodRequestEntry(*, time_from, time_to, base_price_export_per_MWh, base_price_import_per_MWh, max_discharging_power_MW, max_charging_power_MW, max_physical_notification_MW, min_physical_notification_MW, price_margin_export_per_MWh, price_margin_import_per_MWh, undo_price_margin_export_per_MWh, undo_price_margin_import_per_MWh, mel_MW=None, mil_MW=None)#
Bases:
BaseModel- Parameters:
time_from (datetime)
time_to (datetime)
base_price_export_per_MWh (float)
base_price_import_per_MWh (float)
max_physical_notification_MW (float)
min_physical_notification_MW (float)
undo_price_margin_export_per_MWh (Annotated[float, Ge(ge=0.0)])
undo_price_margin_import_per_MWh (Annotated[float, Ge(ge=0.0)])
- classmethod insure_max_physical_notification_smaller_equal_max_discharging(max_physical_notification_MW, values)#
- classmethod insure_min_physical_notification_greater_equal_max_charging(min_physical_notification_MW, values)#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class battery_optimizer.uk.bod.BodResult(*, request_id, problem_type=ProblemType.BOD, data, request_creation_time=None, result_creation_time=None)#
Bases:
BaseModel- Parameters:
request_id (str)
problem_type (ProblemType)
data (list[BodResultEntry])
request_creation_time (datetime)
result_creation_time (datetime)
- data: list[BodResultEntry]#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- problem_type: ProblemType#