DOE quantification: detailed scientific audit

Review date: 5 September 2026 · Scope: the PowerOptLab implementation, scientific quantification claims, experiments, tutorials, and documentation.

The curated source-by-source assessment is maintained in DOE literature: evidence and interpretation. That register separates primary results, review evidence, reanalysis, and research hypotheses. Current implementation status and limits are documented in the DOE problem reference. This longer page retains the scientific claim hierarchy, limitations, open questions and benchmark requirements. Current API behavior is specified by the problem reference.

Executive assessment

The current implementation is a nonlinear, unbalanced AC framework for DOE allocation, recourse experiments, finite verification, and reproducible falsification studies. It does not publish failed iterates, distinguishes one simultaneous bound from tested utilization sets, shares one allocation across finite network scenarios, retains prescribed inverter laws, and exposes the information partition of supported free controls. Pointwise perfect recourse remains available deliberately for published-method replication.

The implementation does not establish that every realization inside a continuous utilization and uncertainty set is network-safe, and its nonlinear solutions and replays remain local. Typed scenarios and held-out evaluation can support empirical coverage statements only under their declared sampling and independence assumptions. The most defensible default description is:

a locally solved active-power allocation that is feasible at a declared finite set of network scenarios and participant-utilization points.

This wording is not merely cautious. Research has shown that feasibility at the upper endpoint need not imply feasibility under partial utilization in an unbalanced network, because cross-phase sensitivities and controllable network settings can reverse the intuitive monotonicity argument Liu and Braslavsky (2022).

What quantity should be called a DOE?

Industry reports and research papers use DOE for several related objects, including time-varying connection limits, P–Q regions, tested decoupled ranges, and market-shaped allocations. The following formulation is therefore not a universal definition. It is the stronger robust decoupled box contract against which range claims in this review are assessed.

Let participant utilization be $u \in \mathcal U$ and let the advertised capacity vector be $\bar p$. For the present one-sided export formulation, realized active power is

\[p_i(u) = u_i \bar p_i, \qquad 0 \le u_i \le 1.\]

Let $\xi$ contain the load, generation, source, topology, and parameter conditions not controlled by the participant. Let $z$ contain network state and control variables. A robust box envelope requires a precisely ordered statement such as

\[\forall u \in \mathcal U,\; \forall \xi \in \Xi,\; \exists z \in \mathcal Z(u,\xi): g(\bar p,u,\xi,z)=0,\quad h(\bar p,u,\xi,z)\le 0.\]

The quantifier on $z$ is an operational policy, not a mathematical detail. Allowing a tap, capacitor, or STATCOM setpoint to be chosen after observing every utilization and uncertainty realization is a full-recourse assumption. A fixed issuance setpoint instead belongs outside the universal quantifiers. A local autonomous controller is neither: it must be represented by its own closed-loop law. The framework can assign supported controls to issue, scenario, local-law, or context stages. Its compatibility default gives free controls pointwise recourse, while prescribed IBR Q–V laws remain fixed equations.

For a fixed polyhedral feasible region and an axis-aligned box, containment can be written with support functions or a polyhedral alternative theorem. A positive-width log-volume objective then gives a convex optimization problem. This statement does not extend automatically to optimized network models, integer controls, temporal coupling, uncertain coefficients, or nonlinear AC physics.

The following claim ladder should be used throughout the package:

LevelRequired evidencePermitted wording
Bound pointone declared scenario and $u=\mathbf 1$feasible simultaneous bound point
Finite tested setall declared scenario/utilization pairs solve locallylocally feasible at tested points
Falsifiedan admissible point with a verified violation is foundcandidate envelope is unsafe for the declared set
Search-stableno violation is found under a recorded global-search budgetno counterexample found; not certified
Probabilisticcalibrated chance/scenario method plus out-of-sample coverageestimated or bounded violation probability
Certified robusta valid global/convex inner-set certificate covers the full setrobustly feasible for the declared model and set

Corner feasibility belongs to the second row unless additional structure proves that all relevant constraints attain their worst cases at corners.

Implementation audit

What is already strong

  • The network model is nonlinear and neutral-explicit rather than a balanced positive-sequence approximation.
  • Export and import are separate studies and retain positive SI units at the interface.
  • A finite ensemble of forecast or model networks can share one allocation.
  • security=:corners represents all $2^N$ zero/full participant combinations for small $N$ and states that this is not a global certificate.
  • Connection-bound IBRs retain their apparent-power, current, phase-topology, DC-coupling, and prescribed reactive-control equations.
  • Allocation choices include equal, total-capacity, proportional, alpha, max–min, and equal-curtailment policies with explicit normalization.
  • Infeasible or non-optimal nonlinear iterates are not published as envelopes.
  • Issuance metadata, fallback provenance, fixed-capacity re-solving, and a standalone DSSE-to-DOE replay provide a useful beginning for an audit trail.

The cleanup now separates numerical non-results from local infeasibility candidates, respects shared-policy compatibility in coverage, matches replay controls by scenario provenance, and validates physical participant bindings. Legacy ports are single-phase. Eight tutorials execute their actual Markdown code in CI; the analytic references provide independent physical checks for the idealized teaching feeder and an exact affine-box containment oracle. These resolve implementation and teaching gaps without closing the general nonlinear certification gap below.

Principal weaknesses

PriorityWeakness in the current prototypeScientific consequenceRecommended response
P0Bound points, corners, Halton points, and adaptive points are all finite tests of a nonlinear feasible set.Interior violations can still be missed; search stability is not box containment.Add a globally valid inner-set or violation-bound certificate and preserve the current falsified/search-stable/certified distinction.
P0Multistart still returns local Ipopt solutions without an objective bound or systematic branch analysis.Capacity and feasibility evidence can depend on initialization or the returned AC branch.Add continuation/multiple-solution diagnostics and valid relaxations or independent global bounds.
P0Native taps and IBR P/Q have typed recourse policies, but arbitrary extension controls require explicit registration and generator P/Q lacks a safe linkage handle.An undeclared custom control can escape the intended information structure, while an operational policy correctly fails closed on unsupported controls.Extend semantic registration and upstream public P/Q handles without using voltage-dependent current variables as setpoint surrogates.
P0Per-context replay uses the same nonlinear formulation and solver family as allocation.Failures are localized, but common modelling or solver defects are not independently challenged.Add a second power-flow engine or formulation and retain replay completeness and residual diagnostics.
P0Typed scenarios and samplers record provenance but do not validate the generating uncertainty model.Weights, seeds, or held-out labels do not themselves produce calibrated probabilities or robustness.Use versioned empirical data, leakage audits, matched uncertainty designs, and out-of-sample calibration with declared assumptions.
P1The envelope is a one-sided scalar active-power box $[0,\bar p_i]$.It cannot express a simultaneous import/export band, a nonzero baseline, asymmetric reserve, or coupled P–Q flexibility.Generalize to lower/upper P bounds and later polyhedral/ellipsoidal P–Q sets with device feasibility.
P1Intervals are physically independent; rolling fairness only carries an allocation history.Storage SOC, EV energy, ramping, tap wear, thermal memory, and forecast recourse are omitted.Reuse the multi-period infrastructure and separate first-stage envelopes from device recourse.
P1Rolling fairness accumulates offered capacity, not realized use, denied request, customer value, or cost.A high Jain index can coexist with unequal economic outcomes or repeated involuntary curtailment.Define the stakeholder, benefit/burden variable, entitlement reference, time horizon, and price of fairness before selecting a metric.
P1Diagnostic margins cover a useful subset, not every inherited constraint.A converter, transformer, neutral, phase-to-phase, control, or other constraint can bind without appearing in the summary.Build diagnostics from named constraint families and independently recompute all claimed margins.
P1Exact corners create $S2^N$ full AC contexts in one monolithic model.Memory and solution time become prohibitive before realistic fleet sizes.Add sensitivity screening, adaptive constraint generation, decomposition, and benchmarked stopping rules.
P2Fundamental-frequency RMS physics omits harmonics, protection, dynamics, communications, and compliance.The electrical DOE may not be safe or implementable for the deployed system.Add these only as question-driven fidelity layers with matched measurements and validation data.

The result diagnostics now explicitly report global_certificate=false, solver_class=:local_nonlinear, finite-scenario uncertainty semantics, shared allocation coupling, and the selected typed control policy. Custom utilization checks are labelled :explicit_utilization_points rather than as a bound-point test. A per-control audit reports native classification, stage, rule source, automatic law, contexts, equality groups, and link count. These fields make the current boundary machine-readable, but do not close the methodological gaps.

Control-recourse contract: implemented first slice

Security coverage and control recourse should remain independent API axes:

  • security defines the network scenarios and participant-utilization points at which feasibility is required;
  • control_policy defines the information available when each non-state decision is made and which decisions must be equal across those contexts.

For example, security=:corners with issue-time controls means that every corner is represented but all manual setpoints are linked. The same security mode with context recourse is the current idealized formulation. Neither mode changes the fact that bus voltages, currents, and other physical state variables must be context-specific.

Control stages

The typed policy classifies every discovered free control into one of these stages:

StageLinking ruleIntended meaning
:issueone value across all scenarios and utilization points in an intervalmanual or scheduled before uncertainty and customer use are known
:scenarioone value per scenario, shared across utilization pointsscenario is observed before the control action; valid only when this timing is defensible
:local_lawno equality link; response is fixed by an enumerated controller equationautomatic Volt–VAr, Volt–Watt, droop, or another implemented causal law
:contextindependent free value for every scenario/utilization pairanticipative/perfect-recourse formulation used by some published methods; also an upper benchmark when that timing is not implementable

The framework does not impose one information structure on every study. It provides named presets PerfectRecourse(), IssueFixedControls(), and IssuePlusLocalLaws(), plus per-device rules for mixed formulations. PerfectRecourse() must remain a first-class option for replicating published formulations that optimize controls separately at each represented point. When its timing is not operationally realizable, reports should label it as ideal_recourse; that label describes the claim rather than invalidating the experiment.

For operational studies, IssuePlusLocalLaws() is the recommended conservative preset. Unclassified free controls cause an error under this preset, but PerfectRecourse() deliberately classifies them as context-adaptive. A future API should require an explicit policy whenever a multi-context model has free controls. During migration, an omitted allocation policy retains the historical perfect-recourse behavior and records control_policy_source=:legacy_default. Verification of a rich result inherits its issued policy (:issued_result); a deprecation warning or later explicit-policy requirement remains a future API decision.

The public shape is:

policy = DOEControlPolicy(
    default_stage=:issue,
    rules=[
        DOEControlRule(component=:transformer, id="tx1",
                       quantity=:tap, stage=:issue),
        DOEControlRule(component=:ibr, id="pv17",
                       quantity=:reactive_power, stage=:local_law),
        DOEControlRule(component=:ibr, id="statcom17",
                       quantity=:reactive_power, stage=:issue),
    ],
    on_unclassified=:error,
)

r = solve_operating_envelope(scenarios, cps;
    security=:corners, control_policy=policy)

# Reproduce a formulation in which every represented OPF point can redispatch
# all otherwise-free network controls independently.
published = solve_operating_envelope(scenarios, cps;
    security=:corners, control_policy=PerfectRecourse())

This is a typed asset/quantity registry, not a list of arbitrary JuMP variables. Transformer taps and IBR active/reactive powers are linked through BMOPFTools public handles. General generator current handles are available, but linking currents would be physically wrong when voltage varies; generator active/reactive setpoint expressions or variables need a public upstream seam before they are supported as linked controls.

Required diagnostics

Every result now returns a first-slice control audit with:

  • component, identifier, controlled quantity, stage, and policy source;
  • equality groups used for non-anticipativity;
  • the named automatic control law (immutable controller-parameter capture is a remaining provenance improvement);
  • controls detected as free but not safely linkable;
  • rules that do not match a discovered control are rejected, and issue-time controls absent from one or more contexts are rejected; and
  • summary fields including all_discovered_free_controls_classified, nonanticipativity_enforced, and ideal_recourse_used.

The operational claim is determined jointly by coverage and recourse. A useful summary is therefore a pair such as (coverage=:all_box_corners, recourse=:issue_plus_local_laws), not one overloaded word such as robust.

Framework and replication requirements

PowerOptLab should treat each control policy as a reproducible formulation, not as a hidden implementation switch. To support replication and fair comparison:

  • policy presets must expand to the same typed per-control rules returned in diagnostics;
  • custom policies and presets must use the same model-building path;
  • every result must record whether a rule came from a preset, explicit override, network control law, or backwards-compatible default;
  • publications should be reproducible by a committed study manifest that names the policy and software version;
  • method comparisons should solve the same network/scenario/utilization set under multiple policies and report the capacity attributable to additional recourse; and
  • the framework should permit new information partitions without adding a new DOE solver—for example, controls shared across a scenario-tree history rather than only :issue, :scenario, or :context.

The most general internal representation is therefore a partition of contexts for each control: contexts in the same information set share one decision. :issue, :scenario, and :context are convenient presets of that partition; :local_law replaces a free decision with a declared causal equation. This keeps the implementation extensible to multi-stage stochastic, robust, distributed, and literature-replication studies.

Open scientific questions

1. What set is the operator actually promising?

The first decision is whether the object is a point, an independent nodal box, a feeder-level budget, a coupled polytope, or a P–Q capability set. Boxes are easy to communicate but discard correlations between participants. A coupled set can expose more flexibility but shifts optimization and compliance burden to the aggregator. An experiment should compare volume, communication burden, and ex-post violations for at least a box, feeder budget, and coupled set.

2. Which variables are here-and-now, locally controlled, or recourse?

DOE capacity, day-ahead tap positions, real-time autonomous Volt–VAr response, and emergency network dispatch live on different information timelines. The prototype needs an explicit information structure. The scientific comparison should quantify the apparent capacity gain caused by perfect recourse and then repeat with fixed and controller-realizable settings.

3. How should uncertainty be calibrated?

Finite stress scenarios, chance constraints, norm-bounded robustness, and distributionally robust methods answer different questions. A good study should report empirical coverage on held-out time periods, violation frequency and magnitude, envelope conservatism, and sensitivity to distribution shift. The state estimator and inverse-Carson candidate sets in this repository offer a natural route from measurement/model uncertainty to a DOE ensemble, but that connection is not yet automated.

4. Can range safety be falsified efficiently?

For a proposed $\bar p$, formulate an inner problem that maximizes normalized constraint violation over $u$ and $\xi$. Multi-start local search can find counterexamples without being called a proof. Each discovered point can be added to the outer allocation problem. The key research outputs are violation found, search budget exhausted, and relaxation-certified upper bound—not a single Boolean called “robust.”

5. When is a linear or learned surrogate safe enough?

Linear unbalanced OPF, sensitivity models, polynomial chaos, and learned convex surrogates can scale much better than repeated nonlinear AC contexts. Their value depends on error control. Compare them on the same cases using an exact AC oracle, stress conditions outside the training/calibration set, and explicit false-safe versus false-conservative rates. A surrogate should never silently replace the model used to define the security claim.

6. What does fairness mean over time?

Equal kW, equal fraction of nameplate, equal request satisfaction, equal curtailment, welfare, and historical redress are not interchangeable. The decision variable may be access, actual energy, curtailment, bill impact, or reliability. Studies should publish the efficiency–fairness frontier and the price of fairness, stratified by electrical location and relevant customer classes, rather than declaring one scalar objective fair.

7. How should flexible devices and markets consume a DOE?

A technically feasible nodal limit can make an aggregator's energy/reserve commitment infeasible, or a customer may be physically unable to remain inside it under PV uncertainty. Device-level energy constraints and market products therefore need to be tested downstream. Network-secure bidding work treats the customer controller and market recourse as part of the formulation rather than assuming compliance Attarha et al..

8. Which omitted physical constraints change the answer?

Voltage magnitude and ampacity are not always the limiting quantities. Negative-sequence limits are already available in the prototype, but neutral heating, transformer ageing, protection reach, RMS voltage/current under harmonics, THD, and control interactions require targeted studies. A 2026 harmonic OPF study found that harmonic-aware modelling can reduce export envelopes and alter import envelopes, through both distortion limits and the RMS definitions themselves Antić et al. (2026).

State of the art and implications

The literature does not point to one universally superior DOE algorithm. It shows a progression from scalable nominal allocations toward stronger but more expensive uncertainty, range, device, and power-quality claims.

EvidenceContributionImplication for PowerOptLab
Liu et al. (2022)Linearized three-phase OPF for meter-level import/export envelopes, controllable OLTCs, large realistic MV–LV studies, and Monte Carlo utilization assessment.Add realistic-scale benchmarks and make network-control timing explicit; retain nonlinear AC replay as an oracle.
Liu and Braslavsky (2022)Demonstrates sensitivity and robustness problems when actual customer utilization differs from the allocation point in unbalanced networks.Treat bound-point results as allocations, not range guarantees; prioritize counterexample search.
Liu and Braslavsky (2023)Constructs robust inner operating envelopes for unbalanced networks and analyzes proportional-fair allocation.Implement a certified linear baseline against which nonlinear search methods can be compared.
Liu, Braslavsky, and Mahdavi (2023)Robust linear unbalanced OPF with norm-bounded load and parameter uncertainty.Add typed uncertainty sets and separate parameter from operating uncertainty.
Liu and Braslavsky (2024)Sensitivity filtering for robust DOE computation with non-convex unbalanced OPF.Use constraint/scenario screening before building an exponential monolith.
Koirala, Geth, and Van Acker (2024)Stochastic unbalanced OPF with polynomial chaos for day-ahead DOEs and alpha-fairness comparisons.Add probabilistic calibration, held-out coverage tests, and a horizon-level experiment.
Moring, Farrell, and Mathieu (2024)Formalizes fairness over time for DER coordination and demonstrates different dynamic fairness choices.Replace allocation-only history with declared benefit/burden histories and compare intertemporal policies.
Kumarawadu et al. (2025)Uses smart-meter-derived sensitivities for a three-phase four-wire model with mutual and neutral effects.Benchmark joint model-estimation/DOE workflows and propagate estimation error into security results.
Antić et al. (2026)Nonlinear three-phase harmonic OPF for export/import DOEs on real and 906-node networks.Treat harmonic/RMS constraints as a future fidelity track and publish when they materially change allocation.
de Carvalho et al. (2026 preprint)Formulates full-range robust DOE problems with nonlinear AC and approximate linear models.Reproduce the formulation as an emerging benchmark, but label the evidence as preprint until peer reviewed.
Zabihi et al. (2026 preprint)Couples P–Q envelopes, unbalanced AC physics, VUF constraints, and lexicographic/proportional fairness.Use as a benchmark for the P–Q and lexicographic extensions, again with preprint status explicit.

Australian implementation evidence reinforces that DOE design is socio-technical: terminology, calculation, communication, compliance, fallbacks, and customer outcomes form one system. The ARENA Navigating Dynamic Operating Envelopes report provides a current cross-industry terminology framework, while Project EDGE's fairness report shows why the fairness population and normalization must be stated rather than hidden inside an objective.

Minimum benchmark protocol

Every method comparison should include:

  • balanced and unbalanced radial cases, a floating-neutral four-wire case, and at least one real or utility-derived feeder with documented licensing;
  • voltage-, thermal-, unbalance-, converter-, and deliberately infeasible regimes, plus a case where partial utilization is worse than the bound point;
  • central, stress, and held-out uncertainty cases with fixed random seeds;
  • at least one controllable asset under fixed, ideal-recourse, and local-law assumptions;
  • capacity/volume, curtailed energy, losses, fairness and price-of-fairness;
  • violation frequency, maximum violation, false-safe rate, and empirical coverage under independent AC replay;
  • solve time, memory, model size, iteration count, failure rate, and scaling in participants, scenarios, and intervals;
  • sensitivity to solver starts, tolerances, per-unit base, curve smoothing, and forecast/model perturbations.

Unit tests should verify contracts and small known cases. Research benchmarks should produce versioned artifacts and statistical summaries; they should not be weakened merely to make continuous integration fast.