file = XLSX.readxlsx(“ASG data 14.06.2018 (new data).xlsx”)
f_curves = file[“Curves”]
DP = f_curves[“C48:C56”] # (old) peak power consumption forecast by 2035, GW
Seasons = f_curves[“B28:E36”]
D=Seasons.*DP
f_gen_and_costs = file[“Generation_and_costs”]
MethodError: no method matching iterate(::XLSX.Worksheet)
Closest candidates are:
iterate(::Pkg.Resolve.NodePerm, ::Any…) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Resolve/maxsum.jl:228
iterate(::Test.GenericString) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1589
iterate(::Test.GenericString, ::Integer) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1589