Skip to content

Commit

Permalink
fix wrong result name accessing
Browse files Browse the repository at this point in the history
  • Loading branch information
hdunham committed Jul 6, 2023
1 parent 8781bb7 commit 75cd916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outagesim/outage_simulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function simulate_outages(d::Dict, p::REoptInputs; microgrid_only::Bool=false)
diesel_kw = get(d["Generator"], "size_kw", 0)
end
if microgrid_only
diesel_kw = get(d["Outages"], "Generator_mg_kw", 0)
diesel_kw = get(d["Outages"], "generator_microgrid_size_kw", 0)
end

fuel_slope_gal_per_kwhe, fuel_intercept_gal_per_hr = generator_fuel_slope_and_intercept(
Expand Down

0 comments on commit 75cd916

Please sign in to comment.