{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/powergridworld-a-framework-for-multi-agent","title":"PowerGridworld: A Framework for Multi-Agent Reinforcement Learning in Power Systems","arxiv_id":"2111.05969","date":"2021-11-10","proceeding":null,"authors":["David Biagioni","Xiangyu Zhang","Dylan Wald","Deepthi Vaidhynathan","Rohit Chintala","Jennifer King","Ahmed S. Zamzam"],"abstract":"We present the PowerGridworld software package to provide users with a lightweight, modular, and customizable framework for creating power-systems-focused, multi-agent Gym environments that readily integrate with existing training frameworks for reinforcement learning (RL). Although many frameworks exist for training multi-agent RL (MARL) policies, none can rapidly prototype and develop the environments themselves, especially in the context of heterogeneous (composite, multi-device) power systems where power flow solutions are required to define grid-level variables and costs. PowerGridworld is an open-source software package that helps to fill this gap. To highlight PowerGridworld's key features, we present two case studies and demonstrate learning MARL policies using both OpenAI's multi-agent deep deterministic policy gradient (MADDPG) and RLLib's proximal policy optimization (PPO) algorithms. In both cases, at least some subset of agents incorporates elements of the power flow solution at each time step as part of their reward (negative cost) structures.","url_abs":"https://arxiv.org/abs/2111.05969v1","url_pdf":"https://arxiv.org/pdf/2111.05969v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"powergridworld-a-framework-for-multi-agent","repo_url":"https://github.com/nrel/powergridworld","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"multi-agent-reinforcement-learning","task_name":"Multi-agent Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2111.05969","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.05969"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nrel/powergridworld","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"unverified":4},"by_repo_kind":{"official":{"samples":4,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"c6fc339cd36db94d","entry":"build_u_vector","repo":"nrel/powergridworld","repo_kind":"official","path":"gridworld/agents/buildings/five_zone_rom_dynamics.py","file_url":"https://github.com/nrel/powergridworld/blob/HEAD/gridworld/agents/buildings/five_zone_rom_dynamics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"c6fc339cd36db94d"}},{"code_sha256_prefix":"b347b79a7945ed01","entry":"filter_update","repo":"nrel/powergridworld","repo_kind":"official","path":"gridworld/agents/buildings/five_zone_rom_dynamics.py","file_url":"https://github.com/nrel/powergridworld/blob/HEAD/gridworld/agents/buildings/five_zone_rom_dynamics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b347b79a7945ed01"}},{"code_sha256_prefix":"82ac0a132efa914d","entry":"maybe_rescale_box_space","repo":"nrel/powergridworld","repo_kind":"official","path":"gridworld/utils.py","file_url":"https://github.com/nrel/powergridworld/blob/HEAD/gridworld/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"82ac0a132efa914d"}},{"code_sha256_prefix":"968c10d6f0d719c4","entry":"state_update","repo":"nrel/powergridworld","repo_kind":"official","path":"gridworld/agents/buildings/five_zone_rom_dynamics.py","file_url":"https://github.com/nrel/powergridworld/blob/HEAD/gridworld/agents/buildings/five_zone_rom_dynamics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"968c10d6f0d719c4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}