Data structures in Julia to enable power systems analysis. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.
240 Stars
Updated Last
5 Months Ago
Started In
December 2017


Main - CI codecov Documentation Build DOI PowerSystems.jl Downloads

The PowerSystems.jl package provides a rigorous data model using Julia structures to enable power systems analysis and modeling. In addition to stand-alone system analysis tools and data model building, the PowerSystems.jl package is used as the foundational data container for the PowerSimulations.jl and PowerSimulationsDynamics.jl packages. PowerSystems.jl supports a limited number of data file formats for parsing.

Version Advisory

  • PowerSystems will work with Julia v1.6+.
  • If you are planning to use PowerSystems.jl in your package, check the roadmap to version 3.0 for upcoming changes

Device data enabled in PowerSystems

  • Generators (Thermal, Renewable and Hydro)
  • Transmission (Lines, and Transformers)
  • Active Flow control devices (DC Lines and Phase Shifting Transformers)
  • Topological elements (Buses, Arcs, Areas)
  • Storage (Batteries)
  • Load (Static, and Curtailable)
  • Services (Reserves, Transfers)
  • TimeSeries (Deterministic, Scenarios, Probabilistic)
  • Dynamic Generators Models
  • Dynamic Inverter Models

For a more exhaustive list check the Documentation.

Parsing capabilities in PowerSystems

  • MATPOWER CaseFormat
  • PSS/e - PTI Format v30 and v33(.raw and .dyr files)
  • RTS-GMLC table data format


Contributions to the development and enhancement of PowerSystems is welcome. Please see CONTRIBUTING.md for code contribution guidelines.

Citing PowerSystems.jl

Paper describing PowerSystems.jl

title = {PowerSystems.jl — A power system data management package for large scale modeling},
journal = {SoftwareX},
volume = {15},
pages = {100747},
year = {2021},
issn = {2352-7110},
doi = {https://doi.org/10.1016/j.softx.2021.100747},
url = {https://www.sciencedirect.com/science/article/pii/S2352711021000765},
author = {José Daniel Lara and Clayton Barrows and Daniel Thom and Dheepak Krishnamurthy and Duncan Callaway},
keywords = {Power Systems, Julia, Energy},


PowerSystems is released under a BSD license. PowerSystems has been developed as part of the Scalable Integrated Infrastructure Planning (SIIP) initiative at the U.S. Department of Energy's National Renewable Energy Laboratory (NREL).