PowerGraphics.jl is a Julia package for plotting results from PowerSimulations.jl.
julia> ] (v1.3) pkg> add PowerGraphics
using PowerGraphics # where "res" is a PowerSimulations.SimulationResults object gen = get_generation_data(res) plot_pgdata(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
using Pkg Pkg.add("PlotlyJS")
PowerGraphics.jl within a jupyter notebook,
WebIO.jl is also required (*and depending on the local configuration of nbextensions, some additional steps may be required):
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)
Contributions to the development and enahancement of PowerGraphics is welcome. Please see CONTRIBUTING.md for code contribution guidelines.
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)