Open HauHe opened 3 years ago
Hi Hauke,
The following suggestions are (just) to stimulate a discussion around this parameter addition.
Hi Vignesh,
thanks for your comments and considerations!
YearlyPeak
. Perhaps better?ReserveMarginTagFuel
. It is still in the code I committed, since I didn't think about it that it is not needed anymore. Good to think out loud! And I see the potential issue that arises with multi-country models, if one models like we currently do. One way to avoid that problem would be to use set REGION
. I'm not sure if with the latest changes using regions is still increasing the calculation time. I actually thought of running a test to see the difference.ReserveMargin
. But Utopia is. I can give it a go. I have now implemented the new RM in the UTOPIA test model.
The AnnualPeakHour
was calculated using the electricity demand for lightning and heating the UTOPIA model. The TimeSlice with the maximum per hour demand was identified and the max per hour demand used as the AnnualPeakHour
.
Perhaps you could have a look @vignesh1987 ?
@vignesh1987 - would you be able to review this pull request?
@NMoksnes and I have been going through this PR.
We have changed the name of the parameter that represents the peak hour of the year to YearlyPeakHour
.
NB:This PR should just be merged if #85 is addressed. If #85 is not addressed the proposed change here would need to be adjusted to be able to consider ReserveMargins in different regions.
NB:This PR should just be merged if #85 is addressed. If #85 is not addressed the proposed change here would need to be adjusted to be able to consider ReserveMargins in different regions.
I don't think #85 is going to be resolved soon. Can you develop the same functionality without relying on region functionality, otherwise this PR will just sit here gathering dust!
I will think about how to do it. And try to implement it next week.
Just a quick note that by using the user defined constraints functionality you can set up reserve margin constraints a bit more flexibly than with a fixed model implementation.
The changes to OSeMOSYS proposed here change the way how the
ReserveMargin
is determined. It introduces the new parameterAnnualPeakHour
dependent onr in REGION, y in YEAR
, which takes the electricity demand of the hour with the highest electricity demand of the year. Using this parameter the calculation of theReserveMargin
has been adopted. The aim of this changes is to have aReserveMargin
that is closer to the ones observed in real power systems. The current formulation of theReserveMargin
relates theReserveMargin
to the time slice with the highest demand. However, time slices do not necessarily represent one hour. Therefore, theReserveMargin
is potentially not accurate. This PR addresses #48