Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

LoadError in script/3_PowerSimulations_examples/08_US-system-simulations.jl #25

Closed
danielolsen opened this issue Mar 31, 2021 · 0 comments

Comments

@danielolsen
Copy link

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.

claytonpbarrows added a commit that referenced this issue Apr 6, 2021
@jd-lara jd-lara closed this as completed Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants