How wrong is the DC approximation of optimal power flow on the IEEE 30-, 39- and 118-bus cases?
research/infra-dcopf
DC against AC optimal power flow in pandapower on the IEEE 30-, 39- and 118-bus cases: the DC model's cost is 1 to 3 % below the AC optimum (it ignores losses); on the 118-bus case its dispatch is feasible but costs 0.7 to 1.7 % more than the AC optimum once losses are paid, and on the 39-bus case it breaks voltage limits (15 buses at 0.6 of load) at almost no cost difference (modelled benchmark, not a measured system; tightened-limit runs often had no solution). Feeding the AC losses back into the DC model (a loss-adjusted DC) brings the 118-bus cost estimate to within 0.6 to 1.2 % of the AC optimum, but repairs only 13 to 32 % of the dispatch's excess cost and none of case39's voltage violations.
What it found
The DC optimal power flow is the workhorse of dispatch and price studies; how much does it lose against the AC OPF? On pandapower's MATPOWER cases with their own quadratic costs, load scaled 0.6 to 1.1, both OPFs are solved and the DC set-points are run through an AC power flow (slack pays the losses). IEEE 118-bus (no branch limit binds): DC cost is 1.9–2.9 % below the AC optimum and its dispatch costs 0.7–1.7 % above it, with no violations. IEEE 39-bus: DC cost 1.0–1.5 % below, dispatch within 0.06 % of the optimum but 15, 5 and 1 buses out of voltage limits at 0.6, 0.8 and 1.0 of load. IEEE 30-bus: DC 1.3–2.3 % below; at full load the DC dispatch overloads a branch to 111 % and is 0.31 % cheaper than the AC optimum, i.e. a violated constraint. Checks: a two-bus closed form and agreement of the cost function with pandapower. Limits: tightened-limit sweeps frequently returned no solution from the solver and non-convergence is not separated from infeasibility; 118-bus branch limits never bind so it is a losses-only comparison; no prices (LMPs), unit commitment or N-1; costs are the cases' own, not market prices. Modelled benchmark cases, not measured systems. Loss-adjusted DC (AC losses spread uniformly over loads, iterated 2–4 passes): the 118-bus cost estimate falls within 0.6–1.2 % of the AC optimum, but the AC cost of its dispatch is still 0.58–1.18 % above it (13–32 % of plain DC's excess recovered) and case39's voltage violations are unchanged; a uniform loss share fixes the price level, not the merit order.
A figure from its own output
Paper, code and results
More in Energy supply and dense energy storage
- How much grinding energy does a classifier loop save at the same product size, and does a ball-mill population balance agree with Bond's law?Ball-mill population balance (Austin form): at the same 100 um P80 a closed circuit at 278% circulating load uses 0.47 of the open-circuit energy, 1.8 to 3.7 times better across the swept mill and classifier inputs, far above Bond's 1.2 open-circuit factor and a vendor's ~10% for cement; the model's size exponent matches Bond's only at a selection exponent near 0.5.
- How much rooftop PV can the IEEE 13-node feeder take before voltage binds, and which cheap measure adds the most?Stochastic PV hosting capacity of the IEEE 13-node feeder in OpenDSS on 300 random placements: median 1,015 kW at midday minimum load, voltage binds first in 75% of placements; a 2 V lower regulator set-point adds +310 kW, while inverter fixed power factor and volt-var add about nothing once the regulators respond (modelled, not a measured feeder).
- Does regulator set-point still beat inverter volt-var for PV hosting on the IEEE 34- and 123-node feeders?PV hosting capacity of the IEEE 34- and 123-node feeders in OpenDSS (200 random placements): on the 123-node feeder a 2 V lower regulator set-point adds +790 kW to a 1,160 kW median (every placement better), inverter volt-var +100 kW and fixed power factor +180 kW; the published 34-node case has no headroom at all because its source is set to 1.05 pu (modelled, not measured feeders); over a one-minute day the set-point trades overvoltage for undervoltage while inverter reactive power cuts tap operations about 30 %.
- How much does model-predictive heating and cooling save over a thermostat on a time-of-use tariff, when the model and forecast are wrong?Does MPC beat a thermostat for a heat pump on a time-of-use tariff? On real TMY3 weather with a deliberately wrong model and yesterday's weather as the forecast it pays 10.7% less in Greensboro (4.1% in cold Sand Point), saves more with more thermal mass (6.5% to 25%), and loses the gain at an 8 K forecast error; the envelope is from published values, not a fit to measured data.
- Does a DC screen find the N-1 outages an AC power flow flags?DC against AC N-1 screening on IEEE 14-, 30-, 39-, 57- and 118-bus cases (every line and transformer outage, modelled, ratings swept): at 25 % rating headroom the DC screen misses 13 to 40 % of the outages an AC power flow calls insecure; flagging at 0.8 of rating misses none, at the cost of 102 false alarms on case118 (186 outages).
- Do nodal loss penalty factors repair the DC OPF's merit order on the IEEE 30-, 39- and 118-bus cases?Nodal loss penalty factors (AC loss sensitivities) in a DC OPF on the IEEE 30-, 39- and 118-bus cases: on the 118-bus case they recover 23 to 38 % of plain DC's excess cost at 0.6 to 1.0 of load, but the iteration does not converge at 0.8 and above and at 1.1 of load the dispatch is worse than plain DC (modelled benchmark, not a measured system).
All 39 Energy supply and dense energy storage projects →
Other research topics
Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1
Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.