Skip to content

A package to generate visualizations from PowerSimulations.jl results. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.

License

Notifications You must be signed in to change notification settings

NREL-Sienna/PowerGraphics.jl

Repository files navigation

PowerGraphics

Main - CI codecov Documentation Build PowerGraphics.jl Downloads

PowerGraphics.jl is a Julia package for plotting results from PowerSimulations.jl.

Installation

julia> ]
(v1.10) pkg> add PowerGraphics

Usage

PowerGraphics.jl uses PowerSystems.jl and PowerSimulations.jl to handle the data and execution power system simulations.

using PowerGraphics
using PowerAnalytics
# where "res" is a PowerSimulations.SimulationResults object
gen = get_generation_data(res)
plot_powerdata(gen)

PowerGraphics.jl creates figures using a number of optional backends using Plots.jl. For interactive figures, it is recommended to use the PlotlyJS.jl backend, which requires the PlotlyJS.jl:

using Pkg
Pkg.add("PlotlyJS")

When using PowerGraphics.jl within a jupyter notebook, WebIO.jl is also required:

Pkg.add("WebIO")

An additional command (plotlyjs()) to startup the PlotlyJS backend from Plots is required:

using PowerGraphics
plotlyjs()
# where "res" is a PowerSimulations.SimulationResults object
plot_fuel(res)

Development

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

License

PowerGraphics is released under a BSD license. PowerGraphics 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)

About

A package to generate visualizations from PowerSimulations.jl results. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages