Commit c3832324 authored by Topi Rasku's avatar Topi Rasku
Browse files

#127 !8 `ts_storageValue_` calculated only if `storageValueUseTimeseries` is defined.

parent 21732417
......@@ -426,7 +426,7 @@ $offtext
); // END sum(nu, emission)
// `storageValue`
ts_storageValue_(gn_state(grid, node), sft(s, f, tt_interval(t)))
ts_storageValue_(gn_state(grid, node), sft(s, f, tt_interval(t)))${ p_gn(grid, node, 'storageValueUseTimeSeries') }
= sum(tt_aggregate(t, t_),
ts_storageValue(grid, node,
f + ( df_realization(f, t)$(not gn_forecasts(grid, node, 'ts_storageValue'))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment