A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

PowerModels.jl

Designed to enable computational evaluation of emerging power network formulations and algorithms in a common platform.
https://github.com/lanl-ansi/PowerModels.jl

Category: Energy Systems
Sub Category: Grid Analysis and Planning

Keywords

network optimal-power-flow optimization power-network

Keywords from Contributors

energy-system power-systems transformer optim powersystems thread mixed-integer-programming water global-optimization numerical

Last synced: about 19 hours ago
JSON representation

Repository metadata

A Julia/JuMP Package for Power Network Optimization

README.md

PowerModels.jl

Status:
CI
codecov
Documentation

PowerModels.jl is a Julia/JuMP package for Steady-State Power Network Optimization.
It is designed to enable computational evaluation of emerging power network formulations and algorithms in a common platform.
The code is engineered to decouple problem specifications (e.g. Power Flow, Optimal Power Flow, ...) from the power network formulations (e.g. AC, DC-approximation, SOC-relaxation, ...).
This enables the definition of a wide variety of power network formulations and their comparison on common problem specifications.

Core Problem Specifications

  • Power Flow (pf)
  • Optimal Power Flow (opf)
  • Optimal Transmission Switching (ots)
  • Transmission Network Expansion Planning (tnep)

Core Network Formulations

  • AC (polar and rectangular coordinates)
  • DC Approximation (polar coordinates)
  • LPAC Approximation (polar coordinates)
  • SDP Relaxation (W-space)
  • SOC Relaxation (W-space)
  • QC Relaxation (W+L-space)
  • IV (rectangular coordinates)

Network Data Formats

  • Matpower ".m" files
  • PTI ".raw" files (PSS(R)E v33 specification)

Documentation

The package documentation includes a variety of useful information including a quick-start guide, network model specification, and baseline results.

Additionally, these presentations provide a brief introduction to various aspects of PowerModels,

Development

Community-driven development and enhancement of PowerModels are welcome and encouraged. Please fork this repository and share your contributions to the master with pull requests. See CONTRIBUTING.md for code contribution guidelines.

Acknowledgments

This code has been developed as part of the Advanced Network Science Initiative at Los Alamos National Laboratory.
The primary developer is Carleton Coffrin (@ccoffrin) with support from the following contributors,

  • Per Aaslid (@peraaslid) SINTEF ER, Branch flow storage model and linear branch flow formulation
  • Juan Luis Barbería (@jbarberia) UTN-BA, PSS(R)E v33 data export, Jacobian support for basic network data
  • Russell Bent (@rb004f) LANL, Matpower export, TNEP problem specification
  • Jose Daniel Lara (@jd-lara) Berkeley, Julia v1.0 compatibility
  • Jay Dave (@jay-dave) KU Leuven, LPAC for TNEP and OTS problems
  • Hakan Ergun (@hakanergun) KU Leuven, HVDC lines
  • David Fobes (@pseudocubic) LANL, PSS(R)E v33 data support
  • Rory Finnegan (@rofinn) Invenia, Memento Logging
  • Frederik Geth (@frederikgeth) CSIRO, storage modeling advise, Branch Flow and current-voltage formulation
  • Rahmat Heidari (@hei06j) CSIRO, improved PSS(R)E data support
  • Jonas Kersulis (@kersulis) University of Michigan, Sparse SDP formulation
  • Miles Lubin (@mlubin) MIT, Julia/JuMP advise
  • Yeesian Ng (@yeesian) MIT, Documenter.jl setup
  • Kaarthik Sundar (@kaarthiksundar) LANL, OBBT utility
  • Mathieu Tanneau (@mtanneau) Georgia Tech, PTDF matrix computation, performance and memory improvements
  • Byron Tasseff (@tasseff) LANL, multi-infrastructure updates

Citing PowerModels

If you find PowerModels useful in your work, we kindly request that you cite the following publication:

@inproceedings{8442948,
  author = {Carleton Coffrin and Russell Bent and Kaarthik Sundar and Yeesian Ng and Miles Lubin},
  title = {PowerModels.jl: An Open-Source Framework for Exploring Power Flow Formulations},
  booktitle = {2018 Power Systems Computation Conference (PSCC)},
  year = {2018},
  month = {June},
  pages = {1-8},
  doi = {10.23919/PSCC.2018.8442948}
}

Citation of the original works for problem definitions (e.g. OPF) and power flow formulations (e.g. SOC) is also encouraged when publishing works that use PowerModels.

License

This code is provided under a BSD license as part of the Multi-Infrastructure Control and Optimization Toolkit (MICOT) project, C15024.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 911
Total Committers: 32
Avg Commits per committer: 28.469
Development Distribution Score (DDS): 0.175

Commits in past year: 19
Committers in past year: 6
Avg Commits per committer in past year: 3.167
Development Distribution Score (DDS) in past year: 0.632

Name Email Commits
ccoffrin c****n@c****m 752
David M Fobes d****s@l****v 44
Jose Daniel Lara j****a@b****u 30
Russell Bent r****t@l****v 12
Oscar Dowson o****w 11
Kaarthik Sundar k****r@g****m 8
Frederik f****h@g****m 8
Yeesian Ng n****n@g****m 7
Jonas Kersulis k****s 6
noahrhodes n****3@g****m 4
Mathieu Tanneau 9****u 3
jbarberia 5****a 3
dependabot[bot] 4****] 2
byronbest 4****t 2
Robert Parker R****p 2
Geth, Frederik (Energy, Newcastle) F****h@c****u 1
Kaarthik Sundar k****r@p****v 1
Carleton c****c@m****l 1
sanderclaeys id@s****u 1
hakanergun h****n@i****g 1
Sergio A. Dorado-Rojas s****o@o****e 1
Rory Finnegan r****n@g****m 1
Raphael Saavedra r****3@g****m 1
Per Aaslid 4****d 1
Martin Lindner 1****n 1
Lorenzo Sindoni l****i@g****m 1
Leon Thurner l****r@u****e 1
KSepetanc 5****c 1
Julia TagBot 5****t 1
Jay Dave 3****e 1
and 2 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 495
Total pull requests: 480
Average time to close issues: 6 months
Average time to close pull requests: 6 days
Total issue authors: 107
Total pull request authors: 45
Average comments per issue: 2.59
Average comments per pull request: 2.4
Merged pull request: 414
Bot issues: 0
Bot pull requests: 13

Past year issues: 17
Past year pull requests: 44
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 19 days
Past year issue authors: 16
Past year pull request authors: 15
Past year average comments per issue: 2.29
Past year average comments per pull request: 2.25
Past year merged pull request: 28
Past year bot issues: 0
Past year bot pull requests: 4

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/lanl-ansi/PowerModels.jl

Top Issue Authors

  • ccoffrin (294)
  • frederikgeth (13)
  • rb004f (10)
  • noahrhodes (9)
  • pseudocubic (8)
  • KSepetanc (7)
  • spmacdonald (5)
  • bcdandurand (5)
  • jchen975 (4)
  • jay-dave (4)
  • fnbillimoria (4)
  • lzq-zbc (4)
  • matteorossini (4)
  • gaadis (4)
  • DimaLPorNLP (3)

Top Pull Request Authors

  • ccoffrin (274)
  • pseudocubic (49)
  • odow (24)
  • frederikgeth (14)
  • jd-lara (13)
  • yeesian (9)
  • github-actions[bot] (9)
  • kaarthiksundar (8)
  • mtanneau (8)
  • kersulis (7)
  • jbarberia (6)
  • noahrhodes (5)
  • rb004f (5)
  • dependabot[bot] (4)
  • claytonpbarrows (4)

Top Issue Labels

  • enhancement (38)
  • bug (12)
  • File format: PSSE/PTI (12)
  • JuMP v0.19 (9)
  • File format: Matpower (8)
  • multiconductor (7)
  • PSSE/PTI (4)
  • help wanted (4)
  • Documentation (4)
  • question (3)

Top Pull Request Labels

  • bug (25)
  • enhancement (16)
  • PSSE/PTI (10)
  • multiconductor (4)
  • dependencies (4)

Package metadata

juliahub.com: PowerModels

A Julia/JuMP Package for Power Network Optimization

  • Homepage: https://lanl-ansi.github.io/PowerModels.jl/stable/
  • Documentation: https://docs.juliahub.com/General/PowerModels/stable/
  • Licenses: BSD-3-Clause
  • Latest release: 0.21.3 (published 6 months ago)
  • Last Synced: 2025-04-26T13:41:09.819Z (2 days ago)
  • Versions: 67
  • Dependent Packages: 34
  • Dependent Repositories: 5
  • Downloads: 367 Total
  • Rankings:
    • Forks count: 0.576%
    • Dependent packages count: 2.116%
    • Stargazers count: 2.136%
    • Average: 2.374%
    • Dependent repos count: 4.669%

Dependencies

.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg latest composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia v1 composite
.github/workflows/documentation.yml actions
  • actions/checkout v2 composite
  • julia-actions/setup-julia latest composite
.github/workflows/documentation-deploy.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v4 composite
  • actions/deploy-pages v4 composite
  • actions/upload-pages-artifact v3 composite

Score: 15.70649978811983