SpineOpt.jl
SpineOpt.jl copied to clipboard
rolling forward with different temporal structure does not work
The issue can be illustrated in this DB: test.zip.
In the rolling scenario, there is one realisation temporal block for all units. And 3 lookahead temporal blocks different in resolution for 3 different dispatchable units (link by using units_on__temporal_block
relationship):
unit | lookahead temporal block | link via units_on__temporal_block |
---|---|---|
FIN_gas |
rolling_look_ahead (default) | no |
FIN_hard-coal |
rolling_look_ahead_ST | yes |
FIN_nuclear |
rolling_look_ahead_ST_nuclear | yes |
The result shows that only the dispatchable unit with the default lookahead temporal block (FIN_gas
) is allowed to produce in the rolling scenario. Other dispatchable units (FIN_hard-coal
and FIN_nuclear
) do not produce at all, although they do in the perfect foresight scenario.
The problem is due to the dedicated lookahead temporal block linked via units_on__temporal_block
. The problematic units would work if one removes their relationship units_on__temporal_block
to the dedicated temporal blocks.
Something similar might happen with stochastic_structure.