operations: final iteration one step later
This commit is contained in:
parent
574b77fcc3
commit
26e7e1246b
@ -84,7 +84,7 @@ def solve_network_myopic(n, config, opts='', **kwargs):
|
|||||||
n.storage_units.state_of_charge_initial = n.storage_units_t.state_of_charge.loc[last_kept]
|
n.storage_units.state_of_charge_initial = n.storage_units_t.state_of_charge.loc[last_kept]
|
||||||
|
|
||||||
# final segment until end of year
|
# final segment until end of year
|
||||||
snapshots = n.snapshots[(i + 1) * kept - 1:]
|
snapshots = n.snapshots[(i + 1) * kept:]
|
||||||
n = solve_network(n, config, opts=opts, snapshots=snapshots, **kwargs)
|
n = solve_network(n, config, opts=opts, snapshots=snapshots, **kwargs)
|
||||||
|
|
||||||
return n
|
return n
|
||||||
|
Loading…
Reference in New Issue
Block a user