Skip to content

Commit

Permalink
make storage_to_grid_series_kw array not denseaxisarray
Browse files Browse the repository at this point in the history
  • Loading branch information
hdunham committed Oct 15, 2024
1 parent d1f84f9 commit 300755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/results/electric_storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function add_electric_storage_results(m::JuMP.AbstractModel, p::REoptInputs, d::
end
end
# report the exported electricity from the battery:
r["storage_to_grid_series_kw"] = round.(value.(m[Symbol("dvStorageToGrid"*_n)][b, :]), digits = 3)
r["storage_to_grid_series_kw"] = round.(value.(m[Symbol("dvStorageToGrid"*_n)][b, ts] for ts in time_steps), digits = 3)

else
r["soc_series_fraction"] = []
Expand Down

0 comments on commit 300755b

Please sign in to comment.