NREL-Sienna / PowerGraphics.jl

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

Home Page:https://www.nrel.gov/analysis/sienna.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
# 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.

https://www.nrel.gov/analysis/sienna.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Julia 100.0%