eelib.core.market.retail_electricity_provider.rep_model
eELib retail electricity provider models the behavior of provider for electricity. This basically is reduced to a provider for households and maybe small business companies.
Module Contents
Classes
Models a retail electricity provider with tariff signals and market information. |
- class RetailElectricityProvider(ename: str, step_size: int = 60 * 15, n_steps: int = 24 * 4, tariff_type: str = 'static', elec_price: float = 0.35, feedin_tariff: float = 0.07)
Models a retail electricity provider with tariff signals and market information.
- market_info_attrs = ['price_weighted_avg', 'price_low', 'price_high', 'price_last']
- _VALID_PARAMETERS
- classmethod get_valid_parameters()
Returns dictionary containing valid parameter types and values.
- Returns:
valid parameters for this model
- Return type:
dict
- add_market_entity(market_dict: dict)
Adds a market entity to the corresponding list.
- Parameters:
market_dict (dict) – Input list with all market models
- step(time)
Performs simulation step of eELib REP model.
- Parameters:
time (int) – Current simulation time
- _calc_tariff_output()
Combine values and market info for a tariff signal for this time step.
- Raises:
ValueError – If variable tariffs are chosen (not yet implemented!)
ValueError – If dynamic tariffs are chosen (not yet implemented!)
- __request_forecast()
Set markets with the needed attributes and time horizon for forecast request.