eelib.core.control.grid.grid_ems_model
The eElib grid EMS model is some sort of an implementation for the grid operator, as it is the grid energy management system. The control unit gathers the power flow results of the grid and can send out different kind of control signals, like set values or prices.
Author: elenia@TUBS
Copyright 2024 elenia
This file is part of eELib, which is free software under the terms of the GNU GPL Version 3.
Module Contents
Classes
Models a grid energy managament system. |
- class GridEMS(ename: str, strategy: str, grid_model_config: dict, use_14a_enwg: bool = True, grid_tariff_model: str = 'flat-rate', energy_price_static: float = 0.08, capacity_fee_dem: float = 0.0, capacity_fee_gen: float = 0.0, capacity_fee_horizon_sec: int = 3600 * 24, step_size: int = 900)
Bases:
object
Models a grid energy managament system.
- _VALID_PARAMETERS
- classmethod get_valid_parameters()
Returns dictionary containing valid parameter types and values.
- Returns:
valid parameters for this model
- Return type:
dict
- step(time)
Gathers current grid status, handles it and calculates output values.
- Parameters:
time (int) – Current simulation time
- _create_grid_tariff_signal()
Create the grid tariff signal to send to retail electricity providers and households.
- Raises:
ValueError – In case grid tariff model is not implemented