DeepAI AI Chat
Log In Sign Up

pymgrid: An Open-Source Python Microgrid Simulator for Applied Artificial Intelligence Research

by   Gonzague Henri, et al.

Microgrids, self contained electrical grids that are capable of disconnecting from the main grid, hold potential in both tackling climate change mitigation via reducing CO2 emissions and adaptation by increasing infrastructure resiliency. Due to their distributed nature, microgrids are often idiosyncratic; as a result, control of these systems is nontrivial. While microgrid simulators exist, many are limited in scope and in the variety of microgrids they can simulate. We propose pymgrid, an open-source Python package to generate and simulate a large number of microgrids, and the first open-source tool that can generate more than 600 different microgrids. pymgrid abstracts most of the domain expertise, allowing users to focus on control algorithms. In particular, pymgrid is built to be a reinforcement learning (RL) platform, and includes the ability to model microgrids as Markov decision processes. pymgrid also introduces two pre-computed list of microgrids, intended to allow for research reproducibility in the microgrid setting.


page 1

page 2

page 3

page 4


TorchBeast: A PyTorch Platform for Distributed RL

TorchBeast is a platform for reinforcement learning (RL) research in PyT...

VeRLPy: Python Library for Verification of Digital Designs with Reinforcement Learning

Digital hardware is verified by comparing its behavior against a referen...

Horizon: Facebook's Open Source Applied Reinforcement Learning Platform

In this paper we present Horizon, Facebook's open source applied reinfor...

Bus Stop Spacings Statistics: Theory and Evidence

Transit agencies have been removing a large number of bus stops, but dis...

ns3-gym: Extending OpenAI Gym for Networking Research

OpenAI Gym is a toolkit for reinforcement learning (RL) research. It inc...

Benchmarking for Bayesian Reinforcement Learning

In the Bayesian Reinforcement Learning (BRL) setting, agents try to maxi...

Code Repositories


pymgrid is a python library to generate and simulate a large number of microgrids.

view repo