MAHTM: a multi-agent framework for hierarchical transactive microgrids
ICLR 2023 Tackling Climate Change with Machine Learning Workshop (workshop paper)
N. M. Cuadrado A., R. Gutiérrez, Y. Zhu, M. Takáč
Integrating variable renewable energy forces grid operators into hard trade-offs between energy availability, affordability, and pollution. MAHTM is a multi-agent reinforcement learning framework for managing energy transactions in microgrids: it uses the available resources while minimising the carbon footprint, for the benefit of every stakeholder.

Three layers of agents
- Prosumers and consumers minimise their total energy cost.
- The two upper layers control the energy price to lower the carbon impact, while balancing the consumption and production of renewable and conventional energy.
- The framework also accounts for fluctuations in energy demand and supply.
We built a custom OpenAI Gym environment as the test bench and compared the learned agents, trained with A2C, against a CVXPY optimisation solver.

A framework like this can help local renewable energy markets develop, cutting emissions and increasing consumer engagement.