Agent-Based Electricity Markets Simulation Toolbox
The transformation of electricity markets associated with the transition towards high shares of renewable power generation results in the constant development of market mechanisms, increasing sector coupling, and creating new market platforms. Introducing a new market or changing the current market design does, however, affect all other markets and their participants because of their strong interrelation in not necessarily foreseeable ways, as the last changes in the German reserve markets demonstrated. This raises the need for tools and simulation models to investigate and understand such complex interplay of markets and predict possible adverse effects and misuse of market power.
With ASSUME a team of researchers aims to develop a highly modular and easy-to-use energy market simulation toolbox with integrated reinforcement learning methods. Different reinforcement learning algorithms in multi-agent simulations of electricity markets have already been tested creating promising results. This toolbox will enable an agile analysis of market designs and bidding strategies of new actors and emerging market dynamics in our fast-changing energy system.
The ASSUME project aims to develop an open-source, agent-based simulation toolbox for electricity markets using deep reinforcement learning (DRL) algorithms.
We are very happy about and constructive feedback and contributions to the Git-repositories.
Here you can visit the docs.
What? | Status | Description |
---|---|---|
Markets | ||
Markets modularity | Implemented | Parent classes providing basic structure, functionality, and syntax, that are adapted by specific markets to allow interchangeability, start with a combination of IDM and DAM |
Market coupling | Implemented | Spatially interconnected electricity markets (NTC) and different commodity markets (gas, hydrogen) |
Interchangeable market clearing algorithms | Implemented | Clearing is treated as one specific interchangeable part that can be adapted easily in each market representation |
Redispatch Market | Implemented | Market after the day-ahead electricity market that handles redispatch considering the grid constraints |
Sector coupling | Work in progress | How to model sector coupling technologies in detail |
Agents | ||
Assets modularity | Implemented | Parent classes provide basic structure, functionality, and syntax, that are adapted by specific agents to allow interchangeability |
Learning agents | Implemented | Usage of Deep Reinforcement Learning for the definition of bidding policies |
Exchangeable bidding policies | Implemented | Naive policies and policies that are learned by the RL agents |
Demand Side Management Units | Work in progress | In Stage 1, fixed demand is used, and later we integrate different demand-side agents that have an individual collection of technologies themselves, such as heat pumps and PV |
Different bid types | Implemented | Incorporation of different bids such as block bids, etc. |
Portfolio Optimization | Planned | The option is accounted for in architecture; the actual implementation to be discussed |
General | ||
Database support for storing outputs | Implemented | Users can use traditional CSV formats for outputs or utilize the provided timescaleDB for storing simulation results |
Graphical interface for analyzing simulation results | Implemented | Users can utilize the provided Grafana Dashboards for analyzing individual simulation results, compare several simulations to each other, and track learning progress of DRL agents |
Network | Implemented | Adaptable network representation that is also able to read and solve PyPSA examples in Assume |
Communication layer | Implemented | e.g. Order-books used between agents and markets, there we rely on mango agents |
Interoperable IO formats | Implemented | Standard data formats adapted from other open-source tools and general conventions; enable scenario reading from Amiris and PyPSA |
Scalability and parallel execution | Work in progress | Enables running Assume in different Docker containers |
Deep Reinforcement Learning | ||
Strategies for multiple unit types | Implemented | Including power plants and different storages |
Strategy for Multi-Market Bidding | Work in progress | To handle the variety of configurable markets, we must adjust the DRL algorithmic settings to manage multiple markets at once. |
Explainability features | Work in progress | As the developed strategy of DRL follows an rather explorative nature, we need to develope ways of assessing the learned startegies with the help of explainable RL. |
Different Algorithms | Planned | Implementing a PPO in addition to the MATD3, incorporating LSTM policies and importance sampling buffers for the MATD3 |
Nick Harder, Ramiz Qussous, and Anke Weidlich
Fit for purpose: Modeling wholesale electricity markets realistically with multi-agent deep reinforcement learning
Energy and AI, Volume 14, 2023
https://doi.org/10.1016/j.egyai.2023.100295
Nick Harder, Anke Weidlich, and Philipp Staudt
Finding individual strategies for storage units in electricity market models using deep reinforcement learning
Energy Inform 6 (Suppl 1), 41, 2023
https://doi.org/10.1186/s42162-023-00293-0
Florian Maurer, Kim K. Miskiw, Rebeca Ramirez Acosta, Nick Harder, Volker Sander & Sebastian Lehnhoff
Market Abstraction of Energy Markets and Policies – Application in an Agent-Based Modeling Toolbox
Jørgensen, B.N., da Silva, L.C.P., Ma, Z. (eds) Energy Informatics. EI.A 2023. Lecture Notes in Computer Science, vol 14468.
http://dx.doi.org/10.1007/978-3-031-48652-4_10
Kim K. Miskiw, Nick Harder and Philipp Staudt
Multi Power-Market Bidding: Stochastic Programming and Reinforcement Learning
Proceedings of the 57th Hawaii International Conference on System Sciences, 2024.
https://scholarspace.manoa.hawaii.edu/bitstreams/ab278af7-2dfe-4c36-a538-eaccb8be1262/download
Nick Harder, Anke Weidlich, and Philipp Staudt
Modeling Participation of Storage Units in Electricity Markets using Multi-Agent Deep Reinforcement Learning.
In Proceedings of the 14th ACM International Conference on Future Energy Systems (e-Energy ’23). Association for Computing Machinery, New York, NY, USA, 439–445
https://doi.org/10.1145/3575813.3597351
Manish Khanra, Parag Patil, Marian Klobasa, and Daniel Scholz
Economic Evaluation of Electricity and Hydrogen-Based Steel Production Pathways: Leveraging Market Dynamics and Grid Congestion Mitigation through Demand Side Flexibility.
In Proceedings of the 20th International Conference on European Energy Market (EEM24). IEEE, Istanbul, Turkey, 2024
https://doi.org/10.1109/EEM60825.2024.10608890
Florian Maurer, Felix Nitsch, Johannes Kochems, Christoph Schimeczek, Volker Sander, and Sebastian Lehnhoff
Know Your Tools – A Comparison of Open-Source Energy Market Simulation Models.
In Proceedings of the 20th International Conference on European Energy Market (EEM24). IEEE, Istanbul, Turkey, 2024
https://doi.org/10.1109/EEM60825.2024.10609021
Johanna Adams, Nick Harder, and Anke Weidlich
Do Block Orders Matter? Impact of Regular Block and Linked Orders on Electricity Market Simulation Outcomes.
In Proceedings of the 20th International Conference on European Energy Market (EEM24). IEEE, Istanbul, Turkey, 2024
https://doi.org/10.1109/EEM60825.2024.10608956
Kim K. Miskiw and Philipp Staudt
Explainable Deep Reinforcement Learning for Multi-Agent Electricity Market Simulations.
In Proceedings of the 20th International Conference on European Energy Market (EEM24). IEEE, Istanbul, Turkey, 2024
https://doi.org/10.1109/EEM60825.2024.10608907
Nick Harder is a research associate and a doctoral student at the Institute for Sustainable Systems Engineering (INATECH) at the University of Freiburg. He completed his master’s studies in “Sustainable Systems Engineering” at the same university. His research primarily focuses on utilizing deep reinforcement learning methods to model electricity markets and understand the behavior of market participants. Additionally, he holds the role of project coordinator for the ASSUME project, which focuses on developing a modeling toolbox for analyzing electricity markets and market designs through the use of deep reinforcement learning techniques. Overall, Nick’s expertise lies in the intersection of sustainable systems engineering and advanced machine learning approaches applied to energy markets.
Kim K. Miskiw is a research associate and a doctoral student at the Chair for Information and Market Engineering (IISM) within the Faculty of Economics and Business Engineering at the Karlsruhe Institute of Technology (KIT). Her research interests revolve around deep reinforcement learning in electricity market simulations, agent-based electricity market modeling, energy market engineering, and stochastic optimization. Previously, she held the position of Junior-Project Associate at the Institute for Industrial Production, Chair of Energy Economics (KIT). Kim completed her Master’s degree in Industrial Engineering at KIT, focusing her master’s thesis on stochastically optimized bidding strategies in sequential electricity markets and examining their benefits in relation to risk preferences and portfolio setups.
Manish Khanra is a research associate at the Competence Center, Energy Technologies and Energy Systems (CC-E) at Fraunhofer ISI. He is also a doctoral student at the Institute for Industrial Production (IIP) at Karlsruhe Institute of Technology (KIT). With specialisation in integrating hydrogen and efuels for decarbonising Hard-to-Abate sectors, Manish investigates their impact on the power system.
Holding an MSc in Renewable Energy and Energy Efficiency for the Middle East and North Africa, his research has focused on the transformation paths in the heat sector in Germany. Currently, his work encompasses developing electricity market and technology diffusion models, analysing policy aspects for sectors such as steel, cement, chemicals, aviation, and maritime, and conducting applied research in the hydrogen economy.
Florian Maurer is a research associate and doctoral student at the University of Applied Sciences Aachen in cooperation with the University of Oldenburg. After completing a dual study program in software development, he obtained his Master’s degree in “Applied Mathematics and Computer Science” at FH Aachen, where he developed charging solutions for e-mobility. Florian is involved in research projects related to energy measurements and prosumer market integration. His research interests include open-source development, wireless communication and energy market design. Currently, he is researching agent-based modeling of energy markets to provide a simulation framework that covers the comparison of different market designs and policies.