Popular Open Source Libraries for Power System Analysis
πΒ A ranked list of popular projects for Power System Analysis. Updated weekly.
This curated list contains 171 open-source projects with a total of 59K stars grouped into 16 categories. All projects are ranked by a project-popularity score calculated from metadata collected from GitHub, package managers, JuliaPkgStats, and OpenAlex where applicable. The score is an empirical comparison signal, not a direct measure of software quality. If you like to add or update projects, feel free to open an issue, submit a pull request, or directly edit the projects.yaml. Contributions are very welcome!
Contents
- Electro-mechanical Transient Simulation _13 projects_
- Electro-magnetic Transient Simulation _3 projects_
- Steady-State Analysis and Optimization _44 projects_
- Software Interface _23 projects_
- Gas-Network Analysis _3 projects_
- Co-Simulation _6 projects_
- Optimization Modeling Language _7 projects_
- Optimization Solver _16 projects_
- Machine and Reinforcement Learning _5 projects_
- Visualization _4 projects_
- Messaging Environment _1 projects_
- Power-System Data _16 projects_
- Power Electronics _1 projects_
- Data Management _13 projects_
- Educational Resources _11 projects_
- Large-Language-Model Application _5 projects_
Explanation
- π₯π₯π₯ Combined project-quality score
- βοΈ Star count from GitHub
- π£ New project _(less than 6 months old)_
- π€ Inactive project _(12 months no activity)_
- π§ Long-inactive project _(24 months no visible activity)_
- ππ Project is trending up or down
- β Project was recently added
- βοΈ Warning _(e.g. missing/risky license)_
- π¨βπ» Contributors count from GitHub
- π Fork count from GitHub
- π Issue count from GitHub
- β±οΈ Last update timestamp on package manager
- π₯ Download count from package manager
- π¦ Number of dependent projects
Python substantially implements the maintained first-party core
Julia substantially implements the maintained first-party core
GNU Octave is a primary implementation or model-authoring language
Java substantially implements the maintained first-party core
C substantially implements the maintained first-party core
C++ substantially implements the maintained first-party core
Modelica is a primary implementation or model-authoring language
Rust substantially implements the maintained first-party core
R is a primary implementation or model-authoring language
The public repository contains a GitHub Actions workflow
A university-based team is the current principal steward
A national or government laboratory is the current principal steward
Another non-profit organization is the current principal steward
An independent contributor community is the current principal steward
A commercial organization is the current principal steward
Electro-mechanical Transient Simulation
LTB ANDES (π₯30 Β· β 380) - Transient Stability Simulator; CURENT LTB.
βοΈGPL-3.0
- GitHub (π¨βπ» 27 Β· π 160 Β· π¦ 37 Β· π 85 - 15% open Β· β±οΈ 11.03.2026):
git clone https://github.com/CURENT/andes
- PyPi (π₯ 5.8K / month Β· π¦ 4 Β· β±οΈ 12.03.2026):
pip install andes
- Conda (π₯ 840K Β· β±οΈ 27.03.2026):
conda install -c conda-forge andes
docker pull CURENT/andes
import Pkg; Pkg.add("Andes")
- Paper (π 126 citations): 10.1109/TPWRS.2020.3017019
DPsim (π₯29 Β· β 140 Β· π) - Simulation for both EMT and phasor. MPL-2.0 


- GitHub (π¨βπ» 47 Β· π 90 Β· π¦ 3 Β· π 250 - 43% open Β· β±οΈ 21.09.2026):
git clone https://github.com/sogno-platform/dpsim
- PyPi (π₯ 440 / month Β· β±οΈ 14.08.2026):
pip install dpsim
PowerSimulationsDynamics.jl (π₯28 Β· β 220) - Dynamic Power System simulations; NREL Sienna. BSD-3 


- GitHub (π¨βπ» 18 Β· π 59 Β· π 150 - 29% open Β· β±οΈ 12.08.2026):
git clone https://github.com/Sienna-Platform/PowerSimulationsDynamics.jl
- Julia (π₯ 190 / month):
import Pkg; Pkg.add("PowerSimulationsDynamics")
- Papers (π 91 citations): arXiv:2308.02921, 10.1109/TPWRS.2023.3303291
DynaΟo (π₯23 Β· β 110) - C++/Modelica simulation tools for power systems. MPL-2.0 



- GitHub (π¨βπ» 63 Β· π 34 Β· π₯ 37K Β· π 1.8K - 12% open Β· β±οΈ 19.10.2026):
git clone https://github.com/dynawo/dynawo
STEPS (π₯23 Β· β 76) - Balanced large-scale AC-DC hybrid power system analysis. MIT 

- GitHub (π¨βπ» 9 Β· π 24 Β· π₯ 94 Β· π¦ 7 Β· β±οΈ 02.02.2026):
git clone https://github.com/changgang/steps
- PyPi (π₯ 160 / month Β· β±οΈ 23.09.2026):
pip install stepspy
- Papers (π 61 citations): 10.1109/TPWRS.2020.3045102, 10.1016/j.ijepes.2023.109509, 10.1016/j.ijepes.2025.110651
OpenIPSL (π₯22 Β· β 110) - A Power System Library written in the Modelica. BSD-3 


- GitHub (π¨βπ» 36 Β· π 67 Β· π₯ 530 Β· π 140 - 12% open Β· β±οΈ 16.10.2026):
git clone https://github.com/OpenIPSL/OpenIPSL
- Paper (π 23 citations): 10.1016/j.softx.2022.101277
GridPACK (π₯21 Β· β 65) - High-Performance Electric Grid Simulation. BSD-3 


- GitHub (π¨βπ» 58 Β· π 26 Β· π₯ 650 Β· π 140 - 15% open Β· β±οΈ 11.10.2026):
git clone https://github.com/GridOPTICS/GridPACK
- Paper (π 15 citations): 10.1177/1094342015607609
PowerSystems (π₯13 Β· β 80) - Modelica 3rd party library for electrical power.. βοΈModelica License 2 

- GitHub (π¨βπ» 10 Β· π 37 Β· π 41 - 34% open Β· β±οΈ 02.10.2026):
git clone https://github.com/modelica-3rdparty/PowerSystems
OpenDER (π₯12 Β· β 76 Β· π€) - Inverter-based DER simulation. BSD-3 

- GitHub (π¨βπ» 2 Β· π 32 Β· π¦ 4 Β· β±οΈ 15.04.2025):
git clone https://github.com/epri-dev/OpenDER
- PyPi (π₯ 3.4K / month Β· β±οΈ 13.04.2025):
pip install opender
Show 4 hidden projects...
- PowerSAS.m (π₯9 Β· β 24 Β· π§) - Power grid analysis framework based on semi-..
BSD-3 - PSAT (π₯4 Β· β 17 Β· π§) - Unofficial repository of PSAT by Prof. Federico Milano.
βοΈGPL - matmtdc (π₯4 Β· β 13 Β· π§) - Dynamic analysis of AC/DC hybrid power systems.
βοΈundefined - PST (π₯3 Β· β 5 Β· π§) - Unofficial repository of PST by Prof. Joe Chow.
MIT
Electro-magnetic Transient Simulation
- GitHub (π¨βπ» 60 Β· π 140 Β· π₯ 66 Β· π 320 - 4% open Β· β±οΈ 22.10.2026):
git clone https://github.com/SanPen/VeraGrid
- PyPi (π₯ 5.7K / month Β· β±οΈ 27.08.2025):
pip install veragrid
Xyce (π₯16 Β· β 180) - The Xyce Parallel Electronic Simulator. βοΈGPL-3.0 

- GitHub (π¨βπ» 8 Β· π 30 Β· π₯ 1.2K Β· π 120 - 34% open Β· β±οΈ 19.10.2026):
git clone https://github.com/Xyce/Xyce
- PyPi (π₯ 51 / month Β· β±οΈ 05.01.2022):
pip install xyce
- Conda (π₯ 5.3K Β· β±οΈ 25.03.2025):
conda install -c vlsida-eda xyce
ParaEMT (π₯14 Β· β 110) - Parallel EMT simulation. BSD-3 

- GitHub (π¨βπ» 4 Β· π 53 Β· π 6 - 83% open Β· β±οΈ 15.01.2026):
git clone https://github.com/NatLabRockies/ParaEMT_public
- Papers (π 43 citations): 10.1109/TPWRD.2023.3342715, 10.1016/j.epsr.2024.110734
Steady-State Analysis and Optimization
pandapower (π₯44 Β· β 1.3K Β· π) - Convenient Power System Modelling and Analysis.
BSD-3
- GitHub (π¨βπ» 190 Β· π 620 Β· π¦ 610 Β· π 1.2K - 14% open Β· β±οΈ 22.10.2026):
git clone https://github.com/e2nIEE/pandapower
- PyPi (π₯ 340K / month Β· π¦ 120 Β· β±οΈ 07.10.2026):
pip install pandapower
- Conda (π₯ 48K Β· β±οΈ 27.10.2025):
conda install -c conda-forge pandapower
- Docker Hub (π₯ 300 Β· β±οΈ 09.02.2021):
docker pull pauldepraz/pandapowerapi
- Paper (π 1180 citations): 10.1109/TPWRS.2018.2829021
PyPSA (π₯42 Β· β 2.2K) - Python for Power System Analysis. MIT 


- GitHub (π¨βπ» 140 Β· π 720 Β· π¦ 360 Β· π 680 - 24% open Β· β±οΈ 16.10.2026):
git clone https://github.com/PyPSA/PyPSA
- PyPi (π₯ 62K / month Β· π¦ 66 Β· β±οΈ 09.10.2026):
pip install pypsa
- Conda (π₯ 320K Β· β±οΈ 12.10.2026):
conda install -c conda-forge pypsa
- Paper (π 658 citations): 10.5334/jors.188
Power Grid Model (π₯35 Β· β 250 Β· π) - Steady-state distribution power system analysis. MPL-2.0 


- GitHub (π¨βπ» 410 Β· π 82 Β· π₯ 2.6K Β· π¦ 40 Β· π 360 - 35% open Β· β±οΈ 22.10.2026):
git clone https://github.com/PowerGridModel/power-grid-model
- PyPi (π₯ 68K / month Β· π¦ 15 Β· β±οΈ 22.10.2026):
pip install power-grid-model
- Conda (π₯ 5.7M Β· β±οΈ 22.10.2026):
conda install -c conda-forge power-grid-model
- Paper (π 10 citations): 10.1049/icp.2023.0633
MATPOWER (π₯34 Β· β 600) - Steady state power flow simulation. BSD-3 


- GitHub (π¨βπ» 23 Β· π 180 Β· π₯ 810K Β· π 240 - 9% open Β· β±οΈ 12.10.2026):
git clone https://github.com/MATPOWER/matpower
- Docker Hub (π₯ 31K Β· β±οΈ 12.10.2026):
docker pull matpower/matpower
- Paper (π 6775 citations): 10.1109/TPWRS.2010.2051168
PowerModels.jl (π₯34 Β· β 490) - Power Network Optimization. βοΈBSD 


- GitHub (π¨βπ» 33 Β· π 170 Β· π 520 - 17% open Β· β±οΈ 08.10.2026):
git clone https://github.com/lanl-ansi/PowerModels.jl
- Julia (π₯ 6.7K / month):
import Pkg; Pkg.add("PowerModels")
- Paper (π 280 citations): 10.23919/PSCC.2018.8442948
PYPOWER (π₯34 Β· β 410) - Port of MATPOWER to Python. βοΈBSD 


- GitHub (π¨βπ» 22 Β· π 130 Β· π¦ 170 Β· π 57 - 73% open Β· β±οΈ 01.08.2026):
git clone https://github.com/rwl/PYPOWER
- PyPi (π₯ 31K / month Β· π¦ 23 Β· β±οΈ 01.08.2026):
pip install PYPOWER
- Conda (π₯ 3.2K Β· β±οΈ 25.03.2025):
conda install -c invenia pypower
- Docker Hub (π₯ 78 Β· β±οΈ 19.05.2019):
docker pull hwanghust/pypower
- Paper (π 6775 citations): 10.1109/TPWRS.2010.2051168
PyPSA-Eur (π₯30 Β· β 620) - Sector-Coupled Optimisation Model of the European Energy.. MIT 


- GitHub (π¨βπ» 120 Β· π 410 Β· π 730 - 32% open Β· β±οΈ 19.10.2026):
git clone https://github.com/PyPSA/pypsa-eur
docker pull nimfetrisa/pypsa-eur
- Papers (π 818 citations): 10.1016/j.esr.2018.08.012, 10.1016/j.joule.2023.06.016, 10.1016/j.joule.2022.04.016
PyPSA-Earth (π₯28 Β· β 380) - Open optimisation model for study energy system.. βοΈAGPL-3.0 


- GitHub (π¨βπ» 100 Β· π 360 Β· π 740 - 39% open Β· β±οΈ 20.10.2026):
git clone https://github.com/pypsa-meets-earth/pypsa-earth
- Paper (π 86 citations): 10.1016/j.apenergy.2023.121096
PowerSimulations.jl (π₯28 Β· β 320) - Power Systems optimization simulation and modeling;.. BSD-3 


- GitHub (π¨βπ» 59 Β· π 89 Β· π 480 - 4% open Β· β±οΈ 08.10.2026):
git clone https://github.com/Sienna-Platform/PowerSimulations.jl
- Julia (π₯ 1.1K / month):
import Pkg; Pkg.add("PowerSimulations")
PowSyBl Core (π₯25 Β· β 190) - Framework to build power system software. MPL-2.0 


- GitHub (π¨βπ» 140 Β· π 78 Β· π¦ 98 Β· π 840 - 27% open Β· β±οΈ 22.10.2026):
git clone https://github.com/powsybl/powsybl-core
openTEPES (π₯25 Β· β 56) - Open Generation, Storage, and Transmission Operation.. βοΈAGPL-3.0 


- GitHub (π¨βπ» 10 Β· π 28 Β· π₯ 110 Β· π 28 - 14% open Β· β±οΈ 20.10.2026):
git clone https://github.com/IIT-EnergySystemModels/openTEPES
- PyPi (π₯ 610 / month Β· β±οΈ 16.09.2026):
pip install openTEPES
- Paper (π 30 citations): 10.1016/j.softx.2022.101070
PowerFlows.jl (π₯24 Β· β 31) - Collection of Power Flow solution; NREL Sienna. BSD-3 


- GitHub (π¨βπ» 18 Β· π 26 Β· π 210 - 22% open Β· β±οΈ 21.10.2026):
git clone https://github.com/Sienna-Platform/PowerFlows.jl
- Julia (π₯ 1.9K / month):
import Pkg; Pkg.add("PowerFlows")
PowerNetworkMatrices.jl (π₯24 Β· β 31) - Power systems matrices; NREL Sienna. BSD-3 


- GitHub (π¨βπ» 18 Β· π 25 Β· π 140 - 21% open Β· β±οΈ 12.10.2026):
git clone https://github.com/Sienna-Platform/PowerNetworkMatrices.jl
- Julia (π₯ 2.3K / month):
import Pkg; Pkg.add("PowerNetworkMatrices")
EGRET (π₯23 Β· β 170) - Tools for Power Systems Optimization Modeling. βοΈBSD 


- GitHub (π¨βπ» 42 Β· π 67 Β· π 90 - 57% open Β· β±οΈ 29.05.2026):
git clone https://github.com/grid-parity-exchange/Egret
- Paper (π 159 citations): 10.1287/ijoc.2019.0944
LightSim2Grid (π₯23 Β· β 76 Β· π) - A fast backend for the Grid2Op. MPL-2.0 


- GitHub (π¨βπ» 10 Β· π 16 Β· π₯ 310 Β· π¦ 90 Β· π 69 - 23% open Β· β±οΈ 12.10.2026):
git clone https://github.com/Grid2op/lightsim2grid
- PyPi (π₯ 16K / month Β· π¦ 15 Β· β±οΈ 20.10.2026):
pip install LightSim2Grid
- Docker Hub (π₯ 1.6K Β· β±οΈ 01.02.2022):
docker pull bdonnot/lightsim2grid
GenX (π₯22 Β· β 370) - Configurable capacity expansion model. βοΈGPL-2.0 


- GitHub (π¨βπ» 37 Β· π 150 Β· π 330 - 21% open Β· β±οΈ 09.01.2026):
git clone https://github.com/GenXProject/GenX.jl
- Julia (π₯ 130 / month):
import Pkg; Pkg.add("GenX")
GridPath (π₯22 Β· β 140) - Power system planning and operations. Apache-2 


- GitHub (π¨βπ» 16 Β· π 67 Β· π₯ 1.5K Β· π¦ 5 Β· π 350 - 15% open Β· β±οΈ 22.10.2026):
git clone https://github.com/sylvan-energy/gridpath
- PyPi (π₯ 800 / month Β· β±οΈ 13.10.2026):
pip install GridPath
MOST (π₯22 Β· β 40) - MATPOWER Optimal Scheduling Tool. BSD-3 


- GitHub (π¨βπ» 2 Β· π 14 Β· π 45 - 17% open Β· β±οΈ 12.10.2026):
git clone https://github.com/MATPOWER/most
- Papers (π 6978 citations): 10.1109/TPWRS.2010.2051168, 10.1109/TSG.2013.2281001
GridLAB-D (π₯21 Β· β 220 Β· π€) - Distribution power system simulator. BSD-3 


- GitHub (π¨βπ» 77 Β· π 140 Β· π₯ 9.5K Β· π 1.6K - 27% open Β· β±οΈ 28.05.2025):
git clone https://github.com/gridlab-d/gridlab-d
PyPSA-USA (π₯20 Β· β 150) - Power System Model for the United States. MIT 


- GitHub (π¨βπ» 19 Β· π 57 Β· π 410 - 27% open Β· β±οΈ 05.10.2026):
git clone https://github.com/PyPSA/pypsa-usa
UnitCommitment.jl (π₯19 Β· β 150) - Optimization package for the Security-Constrained.. BSD-3 


- GitHub (π¨βπ» 7 Β· π 37 Β· π 13 - 23% open Β· β±οΈ 19.10.2026):
git clone https://github.com/ANL-CEEESA/UnitCommitment.jl
- Julia (π₯ 160 / month):
import Pkg; Pkg.add("UnitCommitment")
REopt (π₯19 Β· β 130) - Renewable Energy Integration & Optimization. BSD-3 


- GitHub (π¨βπ» 29 Β· π 68 Β· π₯ 580 Β· π 86 - 51% open Β· β±οΈ 07.10.2026):
git clone https://github.com/NatLabRockies/REopt_API
Prescient (π₯19 Β· β 40) - Production cost modeling for power generation and.. BSD-3 


- GitHub (π¨βπ» 11 Β· π 18 Β· π¦ 11 Β· π 67 - 29% open Β· β±οΈ 29.05.2026):
git clone https://github.com/grid-parity-exchange/Prescient
- PyPi (π₯ 11K / month Β· π¦ 5 Β· β±οΈ 29.05.2026):
pip install gridx-prescient
LTB AMS (π₯19 Β· β 27) - Scheduling Modeling and Simulation; CURENT LTB. βοΈGPL-3.0 


- GitHub (π¨βπ» 6 Β· π 10 Β· π₯ 160 Β· π¦ 3 Β· π 24 - 37% open Β· β±οΈ 03.05.2026):
git clone https://github.com/CURENT/ams
- PyPi (π₯ 180 / month Β· β±οΈ 03.05.2026):
pip install ltbams
- Conda (π₯ 44K Β· β±οΈ 03.05.2026):
conda install -c conda-forge ltbams
- Paper (π 10 citations): 10.1109/TSTE.2025.3528027
ReEDS (π₯17 Β· β 39 Β· π£) - Capacity planning and dispatch model. βοΈGPL-3.0 



- GitHub (π¨βπ» 26 Β· π 18 Β· π 95 - 71% open Β· β±οΈ 21.10.2026):
git clone https://github.com/ReEDS-Model/ReEDS
Open RAO (π₯17 Β· β 33) - Power systems coordinated capacity calculation and.. MPL-2.0 


- GitHub (π¨βπ» 45 Β· π 14 Β· π₯ 55 Β· π 320 - 26% open Β· β±οΈ 22.10.2026):
git clone https://github.com/powsybl/powsybl-open-rao
OATS (π₯16 Β· β 29 Β· π€) - Optimisation and Analysis Toolbox for Power Systems. βοΈGPL-3.0 

- GitHub (π¨βπ» 4 Β· π 9 Β· π¦ 3 Β· π 79 - 29% open Β· β±οΈ 11.12.2024):
... (README truncated for length)