From 300755b32024b78cb57cfa78a19d548a5137583e Mon Sep 17 00:00:00 2001 From: Hallie Dunham <70401017+hdunham@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:34:56 -0600 Subject: [PATCH] make storage_to_grid_series_kw array not denseaxisarray --- src/results/electric_storage.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/results/electric_storage.jl b/src/results/electric_storage.jl index 7548052c4..c4122a90f 100644 --- a/src/results/electric_storage.jl +++ b/src/results/electric_storage.jl @@ -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"] = []