Microgrid#
Constructor#
|
Microgrid class, used to define and simulate an environment with a variety of modules. |
Methods#
|
|
Reset the microgrid and flush the log. |
|
|
Get a random action within the microgrid's action space. |
|
Collect a log of controls and responses of the microgrid. |
Get the forecast horizon of timeseries modules contained in the microgrid. |
|
|
Get an action for the microgrid with no values set. |
Serialization/IO/Conversion#
|
Load a microgrid from a yaml buffer. |
|
Save a microgrid to a YAML buffer. |
|
Convert to Microgrid from old-style NonModularMicrogrid. |
|
Load one of the pymgrid25 benchmark microgrids. |
Convert Microgrid to old-style NonModularMicrogrid. |