Unit commitment (UC) sits at the boundary between planning and real-time operation: it decides which generating units are online in each interval of the scheduling horizon, and how much each committed unit produces, so that fuel and start-up/shutdown costs are minimised while demand, reserves and network limits are respected. As wind supplies a larger share of energy, two properties of the problem change simultaneously. Wind output is intermittent and only forecastable with error, and the synchronous machines that provide inertia and frequency response are displaced by converter-interfaced generation. A commitment schedule built on a single point forecast can therefore look optimal on paper and still be infeasible in practice, because the wind realisation that actually arrives may differ from the forecast by a substantial fraction of installed capacity.
A case drawn from a four-unit thermal system illustrates the scale of the problem. When a 40 MW wind farm (20 turbines of 2 MW) was added to the fleet, the forecast at hour 2 was 40.00 MW while the realised output was 31.40 MW, and at hour 8 the forecast of 40.00 MW corresponded to 31.30 MW delivered — errors of roughly one fifth of the farm’s rated capacity. Handling errors of that size requires a commitment model that reasons about distributions rather than single trajectories, and a source of flexibility that can respond within the interval.
From deterministic to probabilistic commitment
Deterministic unit commitment treats wind as a known negative load. Probabilistic unit commitment (PUC) instead carries the probability distribution of the uncertain input — typically the wind forecast error — into the commitment decision, so that the on/off states and the reserve procurement are chosen with knowledge of how likely each deviation is. The modelling framework combines a cost-minimising objective, a set of system-level constraints, a detailed battery model, and a solution algorithm suited to the resulting mixed-integer nonlinear program.
The objective sums fuel cost and start-up/shutdown cost over all units and intervals:
$$\min f=\sum_{t=1}^{N_T}\sum_{h=1}^{N_H}\left[F_h\left(P_{h,t}\right)U_{h,t}+STC_{h,t}+STD_{h,t}\right]$$
where \(F_h\) is the fuel cost function of unit \(h\), \(P_{h,t}\) its output at time \(t\), \(U_{h,t}\) its commitment state, and \(STC_{h,t}\), \(STD_{h,t}\) the start-up and shutdown costs. The system must first of all balance power, with the storage term appearing on both sides of the equation:
$$\sum_{h=1}^{N_H}P_{h,t}+P^c_{i,t}+W(t)=P_D(t)+P_L(t)+P^d_{i,t}\qquad\forall t$$
Here \(P^c_{i,t}\) and \(P^d_{i,t}\) are the charging and discharging power at bus \(i\), \(W(t)\) the wind output, \(P_D(t)\) the load and \(P_L(t)\) the network losses. Five reserve categories are enforced simultaneously: spinning reserve \(\sum_h r^s_{h,t}\le R_s(t)\), non-spinning reserve \(\sum_h nr_{h,t}\ge NR_s(t)\), upward and downward regulation \(\sum_h ru_{h,t}\ge RRU(t)\) and \(\sum_h rd_{h,t}\ge RRD(t)\), together with ramping limits, minimum up and down times, active and reactive output limits, and total cost and emission constraints. In the case study the spinning reserve requirement is set at 10% of load. Reserves are the mechanism through which the probabilistic treatment of wind enters the schedule: the more uncertain the net load, the more headroom must be committed, and the more expensive the schedule becomes.
Modelling the battery: state of charge, siting and capacity
Storage is the only element in the fleet whose output can be negative, held constant, or reversed within a single interval, which makes it the natural counterpart to forecast error. Among storage technologies — pumped hydro, compressed air, flywheels, supercapacitors, superconducting magnetic storage and batteries — the battery energy storage system (BESS) offers the fastest response and the most modular deployment, which is why it is modelled here in detail rather than as an aggregate energy buffer.

Charging and discharging are bounded at each bus, and the state of charge (SOC) is confined to a permissible window:
$$P^c_{i,\min}\le P^c_{i,t}\le P^c_{i,\max},\qquad P^d_{i,\min}\le P^d_{i,t}\le P^d_{i,\max}\qquad\forall i,\forall t$$
$$SOC_{i,\min}\le SOC_{i,t}\le SOC_{i,\max}\qquad\forall i,\forall t$$
The SOC evolves with the charge and discharge efficiencies \(\eta_c\) and \(\eta_d\) over the interval \(\Delta t\):
$$SOC_{i,t}=SOC_{i,t-1}+\left(P^c_{i,t}\eta_c-\frac{P^d_{i,t}}{\eta_d}\right)\Delta t\qquad\forall i,\forall t$$
Network coupling is represented through a DC power flow on each branch, with \(\theta\) the bus angle and \(X_{ij}\) the branch reactance:
$$FL_{ij,t}=\frac{\theta_{j,t}-\theta_{i,t}}{X_{ij}},\qquad -FL^{\max}_{ij}\le FL_{ij,t}\le FL^{\max}_{ij}$$
Because batteries are capital-intensive, where they are placed and how large they are matter as much as how they are dispatched. The model therefore treats bus location and rated capacity as decision variables rather than fixed inputs, so that a small amount of well-placed storage can be credited with the congestion relief and loss reduction it actually delivers.
Solving the problem by forward dynamic programming
The formulation is a high-dimensional mixed-integer nonlinear program of the NP-hard family. The solution strategy adopted is forward dynamic programming, which exploits Bellman’s principle of optimality: the optimal cost-to-go from any state is independent of how that state was reached. Instead of backward recursion from the terminal interval, the algorithm sweeps forward in time. It initialises unit states, initial outputs, storage SOC, load and wind forecasts, and a stage counter; at each stage it enumerates the feasible action set consistent with the constraints, updates the state, accumulates the stage cost, and retains the best partial trajectory. The procedure terminates when the counter exceeds the number of intervals \(N_T\), returning the globally optimal commitment path.
The attraction of this approach is that the enumeration is systematic rather than heuristic, so the搜索 does not stall in local optima of the kind that trap greedy or rule-based methods, while the state-space structure keeps the computation tractable for horizons and fleet sizes of practical interest. What it does not do is remove the combinatorial growth of the state space; the tractability reported below is specific to the four-unit test system and eight-interval horizon.
Case study: three configurations on a four-unit system
The test system contains four thermal units (G1–G4) with the characteristics in Table 1, plus a load profile and cost data taken from a standard commitment benchmark. Three configurations are compared: case 1, thermal only; case 2, thermal plus a 40 MW wind farm, dispatched with the probabilistic model using hourly wind data from an operating wind farm in Inner Mongolia; and case 3, thermal, wind and three battery units of 10 MW/10 MWh each, connected at buses 1, 2 and 3 with charge and discharge efficiencies of 95%.
| Unit | Maximum output (MW) | Minimum output (MW) | Minimum up time (h) | Minimum down time (h) |
|---|---|---|---|---|
| G1 | 30 | 0 | 1 | 2 |
| G2 | 240 | 50 | 2 | 2 |
| G3 | 300 | 150 | 2 | 3 |
| G4 | 20 | 0 | 1 | 4 |
The thermal-only case is used to benchmark the solver against established methods: conventional dynamic programming (DP), Lagrangian relaxation (LR), a hybrid particle-swarm/Lagrangian relaxation method (PSO-LR), and basic and adaptive subgradient multiplier updates (B.SMP, A.SMP). The comparison in Table 2 shows both a cost and a time advantage for the forward DP implementation, whose 74,724.4 USD is the lowest of the six, and whose 9.8 s run time is 55.7% shorter than the 22.1 s required by conventional DP.
| Method | Cost (USD) | Computation time (s) |
|---|---|---|
| Forward dynamic programming | 74,724.4 | 9.8 |
| Dynamic programming | 74,912.0 | 22.1 |
| Lagrangian relaxation | 75,232.0 | 21.6 |
| PSO-LR | 74,808.0 | 19.6 |
| B.SMP | 74,812.0 | 16.3 |
| A.SMP | 74,812.0 | 14.7 |
Adding wind lowers cost from 74,724.4 USD to 73,623.1 USD, a saving of 1,101.3 USD, because wind energy displaces fuel burn in the marginal units. The hourly dispatch in Table 3 shows how the commitment responds to the forecast: G1 and G4, the two smallest and least flexible units in cost terms, are committed only in the early and mid-morning intervals, while G3 runs at its 300 MW maximum for much of the horizon and G2 absorbs the residual variation.
| Hour | G1 | G2 | G3 | G4 | Wind (actual) | Wind (forecast) |
|---|---|---|---|---|---|---|
| 1 | 25.0 | 126.1 | 280.7 | 0.0 | 18.20 | 18.19 |
| 2 | 25.0 | 173.6 | 300.0 | 0.0 | 31.40 | 40.00 |
| 3 | 25.0 | 227.2 | 300.0 | 20.0 | 27.80 | 27.79 |
| 4 | 25.0 | 183.4 | 300.0 | 0.0 | 31.60 | 37.87 |
| 5 | 0.0 | 113.7 | 256.0 | 0.0 | 30.20 | 32.05 |
| 6 | 0.0 | 74.5 | 177.7 | 0.0 | 27.80 | 27.79 |
| 7 | 0.0 | 81.3 | 191.3 | 0.0 | 17.40 | 17.40 |
| 8 | 0.0 | 168.7 | 300.0 | 0.0 | 31.30 | 40.00 |
| Hour | G1 | G2 | G3 | G4 | Wind (actual) |
|---|---|---|---|---|---|
| 1 | 25.0 | 127.7 | 284.1 | 0.0 | 13.2 |
| 2 | 25.0 | 165.0 | 300.0 | 0.0 | 31.2 |
| 3 | 25.0 | 234.0 | 300.0 | 20.0 | 21.0 |
| 4 | 25.0 | 176.6 | 300.0 | 0.0 | 31.4 |
| 5 | 0.0 | 113.7 | 256.0 | 0.0 | 30.2 |
| 6 | 0.0 | 74.5 | 177.7 | 0.0 | 27.8 |
| 7 | 0.0 | 84.3 | 197.3 | 0.0 | 8.4 |
| 8 | 0.0 | 163.8 | 300.0 | 0.0 | 31.2 |
| Case | Configuration | Total operating cost (USD) | Change relative to case 1 |
|---|---|---|---|
| 1 | Thermal only | 74,724.4 | — |
| 2 | Thermal + 40 MW wind | 73,623.1 | −1,101.3 USD (−1.47%) |
| 3 | Thermal + wind + 30 MW/30 MWh storage | 73,363.57 | −1,360.8 USD (−1.82%) |
Comparing Tables 3 and 4 shows the effect of storage on the dispatch pattern rather than on its magnitude. At hours 2 and 4 the combined thermal output in case 3 sits 7–9 MW below the case 2 value, while at hours 3 and 8 it rises or the total generation falls, the signature of charging in the early intervals and discharging later in the horizon. Because the schedule carries no explicit storage column, these aggregate differences are consistent with, rather than proof of, the charge–discharge cycle; the SOC trajectory in the next section provides the direct evidence.
Storage behaviour over a full day
The eight-interval comparison was extended to 24 hourly intervals to examine how the batteries are actually operated. The SOC at the three buses follows a pronounced daily cycle, rising from 21:00 to 09:00 and falling from 09:00 to 21:00, within a 0–10 MWh window per unit. The pattern is a direct consequence of the net-load shape. Overnight, load is at its trough while higher wind speeds push wind output towards its peak, so the risk is curtailment; the dispatch signal charges the batteries and converts surplus wind energy into stored energy that would otherwise be spilled. During the day, load climbs and the stored energy is released alongside thermal and wind generation, reducing both the output level and the start-stop frequency of the more expensive units. The storage therefore performs a temporal transfer of energy, not a net generation of it.
The net-load reshaping is visible at the system level. With storage in service the daily peak is clipped and the trough is filled: the first load valley is lifted to 380 MW or above, the first peak is brought below 550 MW, and the second peak is reduced to 515 MW or below. The second valley responds only weakly, because load remains comparatively high at that point in the day and there is little surplus energy to absorb. This asymmetry is characteristic of energy-limited storage: a 30 MW fleet can reshape the curve at the margin, but the total energy it can move is 30 MWh, which bounds how long any shift can be sustained.
Interpretation and limits
Three findings follow from the results. First, wind integration delivers a double dividend in this system: substituting for thermal output reduces fuel consumption and emissions while lowering cost by 1.47%. Second, the forward dynamic programming algorithm reaches a lower-cost schedule than the four benchmark methods while cutting computation time by 55.7% relative to conventional DP, which matters for repeated rolling-horizon execution. Third, and most relevant to storage economics, adding 30 MW/30 MWh of batteries on top of wind lowers operating cost by a further 1.82% relative to the thermal-only case, through peak shaving and a reduced reliance on expensive units.
Those percentages need to be read with the scope of the experiment in mind. The saving is an operating-cost figure computed from fuel and start-up/shutdown terms; battery capital expenditure does not appear in the objective, so 1.82% measures the operational value of storage rather than its full life-cycle economics, and a storage investment case would need to weigh that annual operating benefit against installed cost. The test system is also small — four thermal units totalling 590 MW, one 40 MW wind farm and eight intervals for the cost comparison, with the 24-hour horizon used only to examine SOC and load reshaping. The reported cost advantage and the 55.7% time reduction are therefore properties of this configuration, and the state-space growth of dynamic programming will bind at larger fleet sizes and longer horizons. Finally, the model treats wind uncertainty through a probabilistic reserve requirement and a single forecast-error characterisation; correlated forecast errors across neighbouring wind farms, and the inertia and frequency-response contribution of converter-interfaced sources, are outside its scope.
Where the approach fits
For system operators facing high wind penetration, the practical lesson is that commitment and storage sitting are one problem, not two. A battery placed where it relieves congestion and reduces losses delivers more value per megawatt-hour than the same battery placed arbitrarily, and a probabilistic commitment model is what allows that value to be recognised in the schedule rather than discovered after the fact in out-of-market actions. The natural next step is the coordinated configuration of multiple storage types — batteries for fast response, long-duration technologies for sustained shifting — inside the same probabilistic commitment framework, so that the flexibility procured matches the duration and frequency of the deviations that high renewable shares actually produce.
