LoadError in script/3_PowerSimulations_examples/08_US-system-simulations.jl
danielolsen opened this issue · 0 comments
danielolsen commented
The offending line is https://github.com/NREL-SIIP/SIIPExamples.jl/blob/master/script/3_PowerSimulations_examples/08_US-system-simulations.jl#L87
Full traceback:
ERROR: LoadError: MethodError: no method matching get_base_power(::ProblemResults)
Closest candidates are:
get_base_power(::PowerSimulations.SimulationProblemResults) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/plot_data.jl:309
get_base_power(::System) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/plot_data.jl:308
Stacktrace:
[1] plot_fuel(::PlotlyBase.Plot{Array{PlotlyBase.GenericTrace{Dict{Symbol,Any}},1},PlotlyBase.Layout{Dict{Symbol,Any}},Array{PlotlyBase.PlotlyFrame,1}}, ::ProblemResults; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/call_plots.jl:275
[2] plot_fuel(::PlotlyBase.Plot{Array{PlotlyBase.GenericTrace{Dict{Symbol,Any}},1},PlotlyBase.Layout{Dict{Symbol,Any}},Array{PlotlyBase.PlotlyFrame,1}}, ::ProblemResults) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/call_plots.jl:252
[3] plot_fuel(::ProblemResults; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/call_plots.jl:248
[4] plot_fuel(::ProblemResults) at /home/dolsen/.julia/packages/PowerGraphics/3Fcgj/src/call_plots.jl:248
[5] top-level scope at /home/dolsen/repos/SIIPExamples.jl/script/3_PowerSimulations_examples/08_US-system-simulations.jl:87
Running Julia 1.5.1, using an environment as instantiated by Project.toml
.