Modeling BESS + Reserve Margin

Hello everyone,

I have completed the OSeMOSYS ‘Flatpack’ and Hands-on 9. I am now developing a national model for an African country and I’m facing an issue with BESS and Reserve Margin (RM).

I have decoupled my storage into two technologies:

  1. BATTPWR (Inverters) at 80 €/kW.

  2. BESS_Cells (Storage) at 300 €/kWh.

Even with these costs, the model installs ‘power-only’ batteries (huge GW of inverters with almost no GWh of cells) just to satisfy the RM requirement at the lowest cost.

Is there a standard way to enforce a fixed Energy-to-Power ratio (e.g., forcing 4 GWh of cells for every 1 GW of inverter). will it be using a User Defined Constraint (UDC)?

Edit : the issue should be somewhere else: if I remove the BESS from the UDC, then the model installs tons of Diesel to cover the RM requirement… (corresponding ridiculous investment appears in the results)

Thanks for your help!

It seems the error was to had modeled this RM through the “UDC M TOTAL Capacity” instead of “UDC Multiplier Activity”

Now it is solved

However I still have too much “BATTPWR” to ‘stabilize’ my grid because I cannot link the BATTPWR to the BATTSTO through an UDC. Is it correct that UDC can only make constraints among technologies, and cannot include ‘Storage’ assets ?

I want to model that for 1GW Inverter I want 4GWh of cell storage. I don’t find how to model that in OSEMOSYS MUIO5.5

Thank you for your help