GridPACK
An open-source high-performance package for simulation of large-scale electrical grids.
https://github.com/gridoptics/gridpack
Category: Energy Systems
Sub Category: Grid Analysis and Planning
Keywords from Contributors
petsc parallel parallel-computing e3sm-model ngee-arctic pflotran numerics power-system mpi
Last synced: about 23 hours ago
JSON representation
Repository metadata
- Host: GitHub
- URL: https://github.com/gridoptics/gridpack
- Owner: GridOPTICS
- Created: 2014-07-22T21:01:57.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2026-11-23T18:57:51.000Z (8 days ago)
- Last Synced: 2026-12-01T00:12:01.760Z (about 23 hours ago)
- Language: C++
- Homepage: https://gridpack.readthedocs.io/en/latest/index.html
- Size: 113 MB
- Stars: 66
- Watchers: 15
- Forks: 27
- Open Issues: 21
- Releases: 8
-
Metadata Files:
- Readme: README.md
README.md
GridPACK: High-Performance Electric Grid Simulation
- Repo: https://github.com/gridoptics/gridpack
- Issues: https://github.com/GridOPTICS/GridPACK/issues
- Releases: https://github.com/GridOPTICS/GridPACK/releases
About
GridPACK is an open-source high-performance (HPC) package for simulation of large-scale electrical grids. Powered by distributed (parallel) computing and high-performance numerical solvers, GridPACK offers several applications forfast simulation of electrical transmission systems. GridPACK includes a number of prebuilt applications that can be directly used. The most commonly used and well-developed are:
- AC Power Flow
- Dynamics Simulation
- Contingency Analysis
- State Estimation
Other applications under development or not full featured are
- Dynamic security assessment
- Electromagnetic transient (EMT) simulation
In addition, GridPACK is also a framework to simplify the development of new applications on HPC platforms. To ease the development, GridPACK offers several building blocks such as setting up and distributing (partitioning) power grid networks, support for custom components on buses and branches, converting the network models to the corresponding algebraic equations, parallel routines for manipulating and solving large algebraic systems, and input and output modules as well as basic profiling and error management. GridPACK is written in C++ with python wrappers available.
Installation
See the instructions for installing GridPACK, prerequisite software, and installation notes for different platforms. Formal releases are available here.
Using Docker (Recommended)
GridPACK is available as a multi-architecture Docker image with all dependencies pre-installed:
# Pull the image
docker pull pnnl/gridpack:latest
# Run with your files (container starts in /app/workspace)
docker run -it --rm -v $(pwd):/app/workspace pnnl/gridpack:latest bash
# Run a specific semantic version
docker run -it --rm -v $(pwd):/app/workspace pnnl/gridpack:v3.6 bash
The Docker image supports both AMD64 and ARM64 architectures. See the Docker usage guide for more examples.
The image also provides the Python interface: the gridpack Python package, and a gridpack command that runs any application from the shell. See Getting started with Python.
Building from Source
See the installation instructions for building GridPACK from source, prerequisite software, and platform-specific installation notes. Formal releases are available here.
Usage
See the user manual for a deep dive on GridPACK internals and/or refer to the tutorials for more info.
- Quick Guide (To do)
Documentation
Contact us
The best (and fastest) way to reach us for any technical questions is by posting an issue here. You can also reach us via email gridpack.account@pnnl.gov.
Citing GridPACK
@article{doi:10.1109/OAJPE.2026.3728767,
author = {Yousu Chen and Bruce Palmer and William Perkins and Shuangshuang Jin and Shrirang Abhyankar and Yuan Liu},
title = {{GridPACK}: A Unified Open-Source High-Performance Computing Platform for Scalable Power System Simulation},
journal = {IEEE Open Access Journal of Power and Energy},
volume = {13},
pages = {851-862},
year = {2026},
doi = {10.1109/OAJPE.2026.3728767},
URL = {https://doi.org/10.1109/OAJPE.2026.3728767}
}
@article{doi:10.1177/1094342015607609,
author = {Bruce Palmer and William Perkins and Yousu Chen and Shuangshuang Jin and David Callahan and Kevin Glass and Ruisheng Diao and Mark Rice and Stephen Elbert and Mallikarjuna Vallem and Zhenyu Huang},
title ={GridPACKTM: A framework for developing power grid simulations on high-performance computing platforms},
journal = {The International Journal of High Performance Computing Applications},
volume = {30},
number = {2},
pages = {223-240},
year = {2016},
doi = {10.1177/1094342015607609},
URL = {https://doi.org/10.1177/1094342015607609},
eprint = {https://doi.org/10.1177/1094342015607609}
}
Authors
- Bruce Palmer
- William Perkins
- Yousu Chen
- Renke Huang
- Yuan Liu
- Shuangshuang Jin
- Shrirang Abhyankar
Acknowledgement
GridPACK has been developed through funding from various sources over the years.
- PNNL LDRD Future Grid Initiative
- DOE OE Advanced Grid Modeling (AGM) program
- Grid Modernization Laboratory Consortium
- DOE EERE Solar Energy Technologies Office
- DOE EERE Wind Energy Technologies Office
Copyright
Copyright © 2013, Battelle Memorial Institute.
GridPACKTM is a free software distributed under a BSD 2-clause license. You may reuse, modify, and redistribute the software.
See the license file for details.
Disclaimer
The Software was produced by Battelle under Contract No. DE-AC05-76RL01830 with the Department of Energy. For five years from October 10, 2013, the Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this data to reproduce, prepare derivative works, and perform publicly and display publicly, by or on behalf of the Government. There is provision for the possible extension of the term of this license. Subsequent to that period or any extension granted, the Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this data to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so. The specific term of the license can be identified by inquiry made to Battelle or DOE. Neither the United States nor the United States Department of Energy, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness or usefulness of any data, apparatus, product or process disclosed, or represents that its use would not infringe privately owned rights.
Owner metadata
- Name: GridOPTICS
- Login: GridOPTICS
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/6787372?v=4
- Repositories: 30
- Last ynced at: 2026-11-29T23:41:48.844Z
- Profile URL: https://github.com/GridOPTICS
GitHub Events
Total
- Create event: 34
- Delete event: 13
- Fork event: 3
- Issue comment event: 36
- Issues event: 13
- Member event: 1
- Pull request event: 44
- Pull request review comment event: 23
- Pull request review event: 24
- Push event: 181
- Release event: 1
- Watch event: 11
Last Year
- Create event: 11
- Delete event: 6
- Fork event: 1
- Issue comment event: 3
- Issues event: 2
- Pull request event: 12
- Push event: 46
- Watch event: 1
Committers metadata
Last synced: 2 days ago
Total Commits: 2,907
Total Committers: 55
Avg Commits per committer: 52.855
Development Distribution Score (DDS): 0.812
Commits in past year: 213
Committers in past year: 3
Avg Commits per committer in past year: 71.0
Development Distribution Score (DDS) in past year: 0.174
| Name | Commits | |
|---|---|---|
| William Perkins | w****s@p****v | 546 |
| bruce | b****e | 525 |
| Bruce J Palmer | d****3@c****v | 262 |
| billp | b****p | 216 |
| Bruce J Palmer | d****3@c****v | 213 |
| Yousu Chen | y****n@p****v | 197 |
| Shri Abhyankar | s****i@p****v | 158 |
| Bruce J Palmer | d****3@o****l | 125 |
| bjpalmer | d****3@p****v | 96 |
| huan495 | r****g@p****v | 68 |
| Bruce J Palmer | d****3@c****v | 64 |
| Jed Brown | j****d@5****g | 47 |
| chen | c****n | 45 |
| bjpalmer | d****3@p****v | 45 |
| Yilin Fang | d****5@j****v | 36 |
| Thom Williams | t****s@p****v | 34 |
| Yousu Chen | d****8@g****v | 32 |
| Renke Huang | h****e@g****m | 31 |
| jin | j****n | 31 |
| kevin | k****n | 25 |
| bjpalmer | b****r | 18 |
| dave_c | d****c | 15 |
| Palmer | d****3@w****v | 9 |
| Bruce J Palmer | d****3@c****v | 9 |
| yliu250 | y****u@p****v | 7 |
| Bruce J Palmer | d****3@d****v | 4 |
| Shuangshuang Jin | j****6@l****u | 4 |
| Bruce J Palmer | d****3@c****v | 3 |
| Yousu Chen | d****8@o****l | 3 |
| Bruce J Palmer | d****3@d****v | 3 |
| and 25 more... | ||
Committer domains:
- pnnl.gov: 7
- constance03.pnl.gov: 2
- constance01.pnl.gov: 2
- peshastin.pnl.gov: 1
- constance-e.pnl.gov: 1
- 59a2.org: 1
- prusik.pnl.gov: 1
- jiaolong.pnl.gov: 1
- gridpack1.pnl.gov: 1
- we36220.pnl.gov: 1
- constance02.pnl.gov: 1
- deception03.pnl.gov: 1
- login001.palmetto.clemson.edu: 1
- constance04.pnl.gov: 1
- deception01.pnl.gov: 1
- constance05.pnl.gov: 1
- ioiowa.com: 1
- pnl.gov: 1
- we48161.pnl.gov: 1
- node1731.palmetto.clemson.edu: 1
- deception02.pnl.gov: 1
- alaska.edu: 1
- grueninger.de: 1
- h2ologin2.ncsa.illinois.edu: 1
- h2ologin3.ncsa.illinois.edu: 1
- el3.ib0.cm.hpc.nrel.gov: 1
- dune-project.org: 1
- mcs.anl.gov: 1
- shrirangs-air.attlocal.net: 1
- xyloid.org: 1
Issue and Pull Request metadata
Last synced: 15 days ago
Total issues: 79
Total pull requests: 105
Average time to close issues: over 1 year
Average time to close pull requests: 3 months
Total issue authors: 20
Total pull request authors: 11
Average comments per issue: 3.94
Average comments per pull request: 1.31
Merged pull request: 84
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 14
Past year average time to close issues: N/A
Past year average time to close pull requests: 1 day
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.64
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- abhyshr (25)
- bjpalmer (16)
- wperkins (14)
- lzheng28 (4)
- pelesh (3)
- eshoubak (2)
- diaoruisheng (2)
- rahmanha (1)
- zzzoom (1)
- yliu250 (1)
- sumathil (1)
- jacksavage (1)
- Triangel000 (1)
- temcdrm (1)
- cpslab-nsu (1)
Top Pull Request Authors
- abhyshr (49)
- wperkins (15)
- bjpalmer (14)
- chenyousu (13)
- yliu250 (4)
- GlazerMann (3)
- ta7mid (2)
- jacksavage (2)
- yasirroni (1)
- tank723 (1)
- jainmilan (1)
Top Issue Labels
- python (6)
- bug (5)
- enhancement (5)
- dynamic simulation (4)
- parser (3)
- cleanup (2)
- testing (2)
- documentation (1)
- cmake (1)
Top Pull Request Labels
- enhancement (11)
- python (8)
- dynamic simulation (8)
- cleanup (5)
- bug (3)
- cmake (2)
- documentation (2)
- state estimation (1)
- environment (1)
- power flow (1)
- testing (1)
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 2
proxy.golang.org: github.com/gridoptics/gridpack
- Homepage:
- Documentation: https://pkg.go.dev/github.com/gridoptics/gridpack#section-documentation
- Licenses:
- Latest release: v3.7.0+incompatible (published 3 months ago)
- Last Synced: 2026-11-29T23:41:39.204205Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.41%
- Average: 4.558%
- Dependent repos count: 4.706%
proxy.golang.org: github.com/GridOPTICS/GridPACK
- Homepage:
- Documentation: https://pkg.go.dev/github.com/GridOPTICS/GridPACK#section-documentation
- Licenses:
- Latest release: v3.7.0+incompatible (published 3 months ago)
- Last Synced: 2026-11-29T23:41:38.966876Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.35%
- Dependent repos count: 4.643%
- Average: 5.505%
- Forks count: 5.897%
- Stargazers count: 7.133%
Dependencies
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite
- docker/build-push-action v5 composite
- docker/login-action v3 composite
- docker/metadata-action v5 composite
- docker/setup-buildx-action v3 composite
- ubuntu questing build
- sphinx-subfigure *
- sphinx_rtd_theme *
- actions/checkout v5 composite
- docker/login-action v4 composite
- peter-evans/dockerhub-description v5 composite
Score: -Infinity