Describe the bug
Possible bug - just checking
Where a commodity is seasonally or annually-balanced, is capacity required (for investment appraisal, from dispatch) calculated at the time slice level or at the season/annual level? I ask because calculating capacity needed based on the peak demand across daynight time slices would be wrong for an asset outputing a commodity that has seasonal or annual commodity balance. This is because dispatch does not care about which time slice is used (so could put lots of demand in a time slice in cases of overcapacity) if they all cost the same.
To Reproduce
I'm not sure this is actually what is happening. So this is more a request to check the code.
Expected behavior
Capacity requirement should be set to the seasonal capacity need when the primary output commodity is balanced at the seasonal level. Likewise annual.
Capacity needed = sum(demand over relevant time slices)/sum(time slice durations over relevant time slices)