microgrid.model package¶
Submodules¶
Module contents¶
The model package defines all classes that are used to represent a microgrid and its devices. It mainly contains data and a few useful methods.
-
class
microgrid.model.
Grid
(data)[source]¶ -
__init__
(data)[source]¶ A microgrid is represented by its devices which are either loads, generators or storage devices, and additional information such as prices. The period duration of the simulation is also stored at this level, although it is more part of the configuration of the simulation.
Parameters: data – A json type dictionary containing a description of the microgrid.
-
base_purchase_price
¶
-
get_non_flexible_device_names
()[source]¶ Returns: The list of names of all non-flexible loads and generators for which there must be an entry in the data history
-
peak_price
¶
-
period_duration
¶
-
price_margin
¶
-