Skip to content Skip to table of contents

Splitting a battery fleet's revenue with dual prices

Two batteries sell more reserve capacity together than apart. The dual prices of the fleet's linear program split the sale so that no owner, and no group of owners, earns more by leaving.

An energy company pools batteries from different owners into one fleet, a virtual power plant, and sells the fleet’s capacity on the reserve market. On that market the grid operator pays for power kept ready to balance the grid, and it pays the fleet as a whole. Every month someone at the company splits the money between the owners and has to be able to explain the split to each of them.

The evening hour

The fleet in this post has two batteries that each hold 1 MWh. Battery A sits at a solar park and is 90 % full after a sunny afternoon. At a factory, battery B has run down to 20 % after covering the factory’s peak demand.

Figure 1: A battery storage system in two containers in Rheineck, Switzerland. Batteries A and B would sit in containers like these at the solar park and the factory, and 1 MWh fills only part of one container. Photo: Kecko, CC BY 2.0, via Wikimedia Commons.

In the evening the fleet sells FCR-N (Frequency Containment Reserve for Normal operation), a reserve that Fingrid, the Finnish grid operator, buys to keep the grid at 50 Hz. The fleet’s bid is the number of MW it offers for the hour. FCR-N is symmetric: one bid sells both directions, and the market pays for being ready. Every MW of the bid has to be ready both to discharge into the grid when the frequency drops and to charge from it when the frequency rises. Nobody knows in advance which will come. The fleet has to be able to deliver the full bid for 60 minutes in either direction [1].

Upward reserve means discharging, and downward reserve means charging. An hour at 1 MW takes 1 MWh of charge to discharge and 1 MWh of empty space to charge, so each MW of the bid needs both. A battery sells the smaller of the two. A full battery sells nothing, and a half-full one sells the most, 0.5 MW.

In a fleet, the company’s control system spreads each discharge over the charge of all the batteries and each charge over all their empty space. The fleet then sells the smaller of its total charge and its total space. Pooling adds no energy. It pairs one battery’s spare charge with another’s spare space. Here A can cover the drops and B most of the rises. Figure 2 draws both rules on the evening hour’s charges.

Figure 2: The evening hour. A battery’s charge is what it can offer upwards and its empty space what it can offer downwards. The solid line marks what each sells, the smaller of its two bars. In the fleet the two batteries’ charge and space add up, and the dashed line marks what A and B sell apart.

Fingrid allows this pooling. Before a battery may sell FCR-N, Fingrid tests and approves it, and batteries at different sites can be approved together as one providing group. The group as a whole has to meet the technical requirements, and no battery in it has to meet them on its own. In FCR-N every battery in the group must also have the same balance responsible party, the company that answers for the group’s energy imbalances [1]. Here the company running the fleet takes that role. The post also assumes that the batteries charge and discharge fast enough that their energy in MWh is the limit and their power in MW never is.

The market pays a price per MW for each hour, so splitting the money is the same as splitting the 0.9 MW. Every payment in this post is counted in MW of the sale. The month’s split is the sum of its hours’ splits. The question is who gets the extra 0.6 MW that neither battery could sell alone. The solar park’s owner points at the fleet’s charge bar, nearly all of it A’s. The factory’s owner answers that the fleet ran out of space before it ran out of charge, and nearly all of that space is B’s.

A natural first guess is a pro-rata split, which pays each battery in proportion to its charge, the energy it brings to the fleet. In the demo below, each row splits the fleet’s sale between A, counted from the left, and B, counted from the right. The top row puts what each battery sells alone at its own end. A split keeps both owners in the fleet when neither gets less than that, and the green band between the two ends marks those splits. Set the charges with the first two sliders and your own split with the third, and watch where the pro-rata split falls as the charges change. Leave the box under the sliders unticked until the theory section.

Figure 3: Splits of the fleet’s sale, A’s share from the left and B’s from the right, under what each battery sells alone. The green band holds the splits where neither owner would sell more alone.

With the starting charges, pro rata gives A 0.74 MW and B 0.16 MW. B sells 0.2 MW on its own, so the factory’s owner would take B out of the fleet. For A the band runs from the 0.1 MW it sells alone up to 0.7 MW, where B is left with its own 0.2 MW. A split by own sale, in proportion to what each battery sells alone, gives A 0.3 MW and B 0.6 MW, inside the band. With two batteries that rule always stays inside, because the pair never sells less than the two apart.

Dual prices

Notation used in this post
SymbolMeaning
cic_iCharge of battery ii in MWh, also its upward capacity in MW
1−ci1 - c_iEmpty space of battery ii in MWh, its downward capacity in MW
SSA group of batteries
v(S)v(S)MW the group SS sells on its own
xix_iMW of the fleet’s sale credited to battery ii
bbThe fleet’s bid in MW
λ,μ\lambda, \muDual prices of one MWh of charge and one MWh of space, in MW of the sale

The core

Write v(S)v(S) for the MW that a group SS of batteries sells on its own, such as the 0.9 MW of the evening hour’s pair. With cic_i the charge of battery ii in MWh,

v(S)=min⁡(∑i∈Sci,  ∑i∈S(1−ci)),v(S) = \min\Big(\sum_{i \in S} c_i,\; \sum_{i \in S} (1 - c_i)\Big),

and the solid lines in Figure 2 mark its values in the evening hour:

v({A})=0.1,v({B})=0.2,v({A,B})=0.9.\begin{aligned} v(\{A\}) &= 0.1, \\ v(\{B\}) &= 0.2, \\ v(\{A, B\}) &= 0.9. \end{aligned}

Game theory calls a setting like this a cooperative game. The owners are the players, and v(S)v(S) is what each group of them can get on its own. A split credits battery ii with xix_i MW of the fleet’s sale, and the green band in the demo holds the splits with

xA≥0.1,xB≥0.2,xA+xB=0.9.x_A \ge 0.1, \qquad x_B \ge 0.2, \qquad x_A + x_B = 0.9.

These splits form the core of the game. With more batteries, a group of owners can also leave together and sell on its own. A split is in the core when every group gets at least what it sells on its own and the shares add up to the fleet’s sale:

∑i∈Sxi≥v(S)for every group S,∑ixi=the fleet’s sale.\begin{aligned} \sum_{i \in S} x_i &\ge v(S) \quad \text{for every group } S, \\ \sum_i x_i &= \text{the fleet's sale}. \end{aligned}

The fleet as a linear program

In the evening hour the fleet chooses its bid bb in MW, limited by its total charge and its total space, the two fleet bars in Figure 2:

max⁡b≥0bsubject tob≤0.9+0.2=1.1,b≤0.1+0.8=0.9.\begin{aligned} \max_{b \ge 0} \quad & b \\ \text{subject to} \quad & b \le 0.9 + 0.2 = 1.1, \\ & b \le 0.1 + 0.8 = 0.9. \end{aligned}

A linear objective maximised under linear limits is called a linear program. The best bid is 0.9 MW.

Prices for charge and space

Every linear program has a second one, called its dual, with a price for each limit of the first. Here λ\lambda is the price of a MWh of charge and μ\mu the price of a MWh of space, both counted in MW of the sale:

min⁡λ, μ≥01.1 λ+0.9 μsubject toλ+μ≥1.\begin{aligned} \min_{\lambda,\, \mu \ge 0} \quad & 1.1\,\lambda + 0.9\,\mu \\ \text{subject to} \quad & \lambda + \mu \ge 1. \end{aligned}

The objective is what the fleet’s charge and space are worth at these prices. The limit says that the MWh of charge and the MWh of space behind one MW of the bid are worth at least that MW. Every pair of prices that meets the limit gives an upper bound on the bid. Strong duality says that the lowest bound equals the best bid [2]. Here the cheapest prices are λ=0\lambda = 0 and μ=1\mu = 1, since

1.1 λ+0.9 μ  ≥  0.9 (λ+μ)  ≥  0.9.1.1\,\lambda + 0.9\,\mu \;\ge\; 0.9\,(\lambda + \mu) \;\ge\; 0.9.

The cheapest prices also say what a little more of each resource is worth. With 0.1 MWh more space the fleet could sell 0.1 MW more, until space reaches the 1.1 MWh of charge, a gain of μ=1\mu = 1 MW per MWh. More charge adds nothing while 0.2 MWh of it is spare, and λ=0\lambda = 0. Prices with this meaning are called shadow prices.

The dual split is in the core

The dual split pays each battery for its own charge and space at the cheapest prices:

xi=λci+μ(1−ci).x_i = \lambda c_i + \mu (1 - c_i).

With λ=0\lambda = 0 and μ=1\mu = 1, each battery is paid for its space bar in Figure 2: 0.1 MW to A and 0.8 MW to B, together the 0.9 MW sale. A gets the 0.1 MW it sells alone and B more than its 0.2 MW, so the split is in the core, on the left edge of the band. Tick the box under the sliders of Figure 3 to see it, then move the charges.

For any charges the dual has the same limit, with the fleet’s total charge and space in place of 1.1 and 0.9, so the cheapest prices add up to 1. A battery’s pay is then a weighted average of its charge and its space. An average is never below the smaller of the two numbers, and the smaller one is what the battery sells alone. The same holds for any group of batteries. Strong duality makes the payments add up to the fleet’s sale. Owen proved that this split is in the core for every linear production game [3]. In such a game, owners pool resources, and a group sells the most that its pooled resources allow under linear limits.

A solver returns the prices together with the best bid. The cell below writes the evening hour’s program in CVXPY, a Python optimisation library, reads λ\lambda and μ\mu from the solver, and pays each battery.

import cvxpy as cp
import numpy as np

c = np.array([0.90, 0.20])  # charge of A and B, MWh

b = cp.Variable(nonneg=True)  # the fleet's bid, MW
charge_limit = b <= c.sum()
space_limit = b <= (1 - c).sum()
problem = cp.Problem(cp.Maximize(b), [charge_limit, space_limit])
problem.solve()

lam = charge_limit.dual_value  # price of a MWh of charge
mu = space_limit.dual_value  # price of a MWh of space
x = lam * c + mu * (1 - c)  # the dual split

print(f"bid: {problem.value:.2f} MW")
print(f"prices: charge {lam:.2f}, space {mu:.2f}")
print(f"dual split: A {x[0]:.2f} MW, B {x[1]:.2f} MW")
bid: 0.90 MW
prices: charge 0.00, space 1.00
dual split: A 0.10 MW, B 0.80 MW

With more limits, such as each battery’s power or several hours in a row, there are more prices than λ\lambda and μ\mu, and the solver finds them the same way.

Summary

Two batteries sell more together than apart because one battery’s charge pairs with the other’s space. Pro rata can pay an owner less than its battery sells alone. The fleet’s sale is a linear program. Its dual puts a price on each MWh of charge and space, equal to what a little more of it would add. Paying every battery for its own charge and space at those prices gives a split in the core (Owen).

What to read next:

  • Owen [3], for the theorem and its proof.
  • Bertsimas and Tsitsiklis [2], chapter 4, cover duality and shadow prices.
  • Shapley [4] defines the best-known other split. It averages what each battery adds over every order in which the batteries could join.

References

[1] Fingrid, “The technical requirements and the prequalification process of Frequency Containment Reserves (FCR),” 2025. [Online]. Available: https://www.fingrid.fi/globalassets/dokumentit/en/electricity-market/reserves/the-technical-requirements-and-the-prequalification-process-of-frequency-containment-reserves-fcr-1.9.2025.pdf. Appendix 2 to the FCR market agreement, valid from 1.9.2025; the Finnish specifics on the opening pages (one Balance Responsible Party per FCR-N providing entity), the definitions of providing group and unit, section 3.5 (60 minutes of full FCR-N activation in both directions) and section 3.11 (aggregated resources). Accessed: 2026-11-06.
[2] D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization. Belmont, MA: Athena Scientific, 1997.
[3] G. Owen, “On the Core of Linear Production Games,” Mathematical Programming, vol. 9, no. 1, pp. 358–370, 1975.
[4] L. S. Shapley, “A Value for n-Person Games,” in Contributions to the Theory of Games, Volume II, Princeton University Press, 1953, pp. 307–317.