WISPO-POP / PowerPlots.jl

Functions plot PowerModels networks
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

WIP: Additional plot methods #100

Open noahrhodes opened 2 years ago

noahrhodes commented 2 years ago

Add heatmap plot power_heatmap(data_mn, :branch, :br_status; title="Branch Status") image

Add method to plot component parameter as series in single networks power_param(data, :gen, "pg") image

Plot method over nwids for multi-network power_param(data_mn, :gen, "pg", plot_type=:line) image

Allow for aggregation of parameter value power_param(data_mn, :gen, "pg"; plot_type=:line, aggregate="mean") image

codecov-commenter commented 2 years ago

Codecov Report

Merging #100 (047af58) into master (62c3038) will decrease coverage by 3.84%. The diff coverage is 21.21%.

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
- Coverage   93.90%   90.05%   -3.85%     
==========================================
  Files          14       14              
  Lines         705      724      +19     
==========================================
- Hits          662      652      -10     
- Misses         43       72      +29     
Impacted Files Coverage Δ
src/PowerPlots.jl 100.00% <ø> (ø)
src/plots/plot_series.jl 21.21% <21.21%> (ø)
src/core/configuration.jl 77.77% <0.00%> (-11.12%) :arrow_down:
src/core/utils.jl 86.66% <0.00%> (-7.93%) :arrow_down:
src/core/export.jl

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 62c3038...047af58. Read the comment docs.