Research Article

Revenue Stacking for BESS: Fast Frequency Regulation and Balancing Market Participation in Italy

Algorithm 1

BESS FR set-point management.
Input: Frequency deviation Δft with respect to 50 Hz, measured each second
Output: Power set-point of the BESS for each second within the simulated period TimePeriod
counter = 0, j for underfrequency levels, i for over-frequency levels
for t in TimePeriod do
 ← Apply droop curve
if counter = = 30 do
  Start BESS fade-out from current power set-point PFRU to 0 in 300 seconds
  
else if Δftis indo
  Increment the counter
  counter ← counter + 1
else counter = 0
if Δf > level #2i (level #1j) or Δf > level #2j (level #1i) do
   ← Apply droop curve
  counter = 0
return BESS power set-point PFRU