PowerMarketJax speeds multi-agent learning for electricity market bidding

PowerMarketJax: A JAX Benchmark Suite for Multi-Agent Reinforcement Learning in Power Markets

Multiagent SystemsArtificial Intelligence

Summary

Electricity markets involve many independent actors bidding to sell or buy power, which makes it a complex setting for artificial intelligence research called multi-agent reinforcement learning. The authors created PowerMarketJax, a suite of five simulated power market environments with different rules, allowing AI systems to learn and test bidding strategies more realistically and quickly. Their tool runs on GPUs using JAX, providing much faster training than traditional CPU methods. They also found that the type of market shapes how AI bidders behave and which strategies succeed.

What this means in practice

  • For energy market analysts: Simulate and evaluate different bidding strategies across multiple realistic electricity market types to improve market understanding and design.
  • For energy trading firms: Train AI agents on GPU-accelerated simulations to develop more competitive bidding strategies faster for wholesale and local electricity markets.

Authors

Zhanhua Pan, Xin Qin, Xiao Liu, Zhilong Cao, Jianhong Wang, Dawei Qiu

Abstract

Power markets are a natural testbed for multi-agent reinforcement learning (MARL), where multiple self-interested participants repeatedly submit bids. A market-clearing mechanism then determines dispatch and prices subject to power grid constraints and market settlement rules. However, existing MARL environments typically focus on a single market setting, implement simplified clearing mechanisms, or rely on CPU-based optimization solvers that slow large-scale training and limit the systematic study of bidding strategies and market behavior. We introduce PowerMarketJax, a benchmark suite for MARL across five power markets: day-ahead wholesale, real-time balancing, ancillary services, peer-to-peer double auctions, and local flexibility. Each environment implements its own clearing, pricing, and settlement rules while providing a common framework for learning and evaluation. We find that learned bidding behavior depends strongly on the market design: independent learners can miss better strategies when gains require many agents to change together, when more profitable strategies lie beyond a region of lower profit, or when profits disappear as more agents adopt the same strategy. PowerMarketJax implements both market simulation and policy training in JAX, allowing the entire pipeline to run on the GPU with 1,024 X 1,200 parallelisms across both environments and market participants, achieving up to 33X speedup over CPU-based baselines. Our open-source benchmark is available at: https://github.com/powermarketjax/PowerMarketJax.