Nicolas M. Cuadrado A.

ML Ph.D. Student

ML M.Sc.

Electronics Engineer

Entrepreneur

Nicolas M. Cuadrado A.

ML Ph.D. Student

ML M.Sc.

Electronics Engineer

Entrepreneur

Blog Post

MAHTM: a multi-agent framework for hierarchical transactive microgrids

30th November 2026 Research
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.

The three-layer architecture. Solid lines are energy and information flows.
The three-layer architecture. Solid lines are energy and information flows.

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.

Price and emissions scores of the CVXPY solver and A2C across training, evaluation, and testing.
Price and emissions scores of the CVXPY solver and A2C across training, evaluation, and testing.

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

Related Posts
Write a comment