Net price area

AOC

Accumulates the signed area of five-minute dispatch prices, so negative prices offset positive prices.

net_area = 0
FOR EACH 5-minute price:
    net_area = net_area + (price × 5 / 60)
RETURN net_area