Skip to content

Commit

Permalink
Add Sets. in front of Timeslice
Browse files Browse the repository at this point in the history
  • Loading branch information
Stian Backe authored and Stian Backe committed Nov 27, 2024
1 parent 6dda520 commit 4937f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genesysmod_timeseries_reduction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function timeseries_reduction!(Params, Sets, Switch)
end

if "COOL_LOW" Country_Data_Entries
if sum(CountryData["COOL_LOW"][l,r] for l Timeslice) != 0
if sum(CountryData["COOL_LOW"][l,r] for l Sets.Timeslice) != 0
AverageCapacityFactor["COOL_LOW"][1,r] = sum(CountryData["COOL_LOW"][:,r])/8760
CountryData["COOL_LOW"][!,r] = CountryData["COOL_LOW"][!,r] / AverageCapacityFactor["COOL_LOW"][1,r]
end
Expand Down

0 comments on commit 4937f49

Please sign in to comment.