Abstract
Dynamic operating envelopes (DOEs), as a key enabler to facilitate distributed energy resource (DER) integration, have attracted increasing attention in the past years. However, uncertainties, which may come from load forecasting errors or inaccurate network parameters, have been rarely discussed in DOE calculation, leading to compromised quality of the hosting capacity allocation strategy. This letter studies how to calculate DOEs that are immune to such uncertainties based on a linearised unbalanced three-phase optimal power flow (UTOPF) model. With uncertain parameters constrained by norm balls, formulations for calculating robust DOEs (RDOEs) are presented along with discussions on their tractability. Two cases, including a 2-bus illustrative network and a representative Australian network, are tested to demonstrate the effectiveness and efficiency of the proposed approach.
THE penetration of distributed energy resources (DERs) has been rapidly increasing worldwide in the past years, leading to a series of issues that require close coordination among transmission system operators (TSOs), distribution system operators (DSOs), and emerging DER aggregators via virtual power plants (VPPs) [
Although substantial advances have been made in developing approaches to calculating DOEs in recent years [
1) The formulation of the FR for DERs, along with its appropriate reformulation, is presented based on a linearised unbalanced three-phase optimal power flow (UTOPF) model. Formulating the FR first is for the convenience of considering uncertainties from network impedances and/or forecasting errors.
2) The robust feasible region (RFR), which is a variation of the FR, while considering the studied uncertainties modelled as norm inequalities, is presented based on static robust optimisation theory, leading to deterministic convex formulations for calculating RDOEs.
The proposed approach is tested and demonstrated efficiently on a 2-bus illustrative network and a representative Australian network.
Based on UTOPF, a deterministic approach to calculating DOEs can be formulated as:
(1) |
(2) |
(3) |
(4) |
(5) |
where is the objective function reflecting the efficiency and fairness in calculating DOEs, and can be in linear or convex quadratic forms; is the index of the reference bus; is the fixed voltage of phase at reference bus (known parameter); is the voltage of phase at node ; is the current in phase of line flowing from bus to bus ; is a parameter indicating the phase connection of customer with its value being if it is connected to phase of bus and being otherwise; and are the lower and upper limits of , respectively; is the active power demand of customer ; and is the reactive power demand of customer m. For simplicity, all and are treated as variables in the formulation. However, they will be fixed to their forecasting values if they are uncontrollable.
In the formulation, the objective function aims at maximising to obtain the desired DOEs, subject to (2) specifying the voltage at the reference bus, (3) formulating voltage drop in each line, (4) assuring that Kirchhoff’s current law is satisfied, and (5) representing voltage magnitude (VM) constraints. It is noteworthy that only VM constraints are considered in this letter; however, other constraints can be conveniently incorporated.
Note that for most distribution networks, the differences of voltage angles in each phase are sufficiently small [
(6) |
(7) |
(8) |
(9) |
where and are the vectors related to active power from active customers (VPP participants) and passive customers (the customers for which active power needs to be forecasted or estimated), respectively; and are the vectors consisting of reactive power that is controllable and that needs to be forecasted or estimated, respectively; and are the vectors consisting of state variables related to line currents and nodal voltages, respectively; and , , , and are the constant parameters with appropriate dimensions.
It is noteworthy that the fixed value of , i.e., , can be estimated, for example, as p.u., p.u., and p.u. for phases a, b, and , respectively, or acquired from measurements from the network to improve the accuracy of the linearised formulation further. More details on the linearisation accuracy will be presented and discussed in Section IV.
In the formulation, (7) links back to (4) after linearisation and represents the relations between line currents and residential demands , , , and ; (8) represents the linearised power flow equations that link the bus voltages and currents running in all lines, i.e., (2) and (3); and (9) represents all the operational constraints after the linearisation, i.e., (5).
Noting that only and are independent variables, (2) defines the FR as a function of for . Therefore, if all realised values of fall within the FR, the integrity of the network can be guaranteed. After removing state variables and , the FR for can be expressed as the following polyhedron.
(10) |
It is noteworthy that both and can be proven to be invertible since both of them can be constructed from the connectivity matrix of all buses (excluding the reference bus) and all lines in a distribution network with radial topology. Further, for the convenience of later discussions, we have the following proposition and its proof.
Proposition 1: the FR expressed as (10) is equivalent to:
(11) |
where is the vectorising operator for a matrix. For example, for , we have . indicates the
Proof: from (10), it is obvious that the
(12) |
For the term , we have [
(13) |
(14) |
where , which proves the proposition.
Therefore, seeking DOEs through the deterministic approach with controllable is equivalent to solving:
(15) |
And one typical formulation of the objective function, which will be used in this letter, is .
Comparing (1) and (2), the errors in forecasting and , and the inaccuracies in will lead to uncertainties in , and , respectively. In this letter, such uncertainties are formulated as:
(16) |
(17) |
(18) |
where , and are the constant parameters describing the uncertainty sets; and and are the random variables; and the -norm constraint in , , and provides a general lower/upper bound for the random variable, while the norm constraint in , and , which can take 1-/2-/-norm or other types of norms, is to further reduce the conservativeness of the uncertainty set.
Several remarks on uncertainty modelling are given below.
1) Constant parameters can be chosen depending on the physical truth or historical error distributions. For example, if is usually within 10% error of , where is the nominal value of , we can set , , , and . As another example, if falls in and its forecasting error follows a multivariate normal distribution with expectation and covariance being and , respectively, and 2-norm is used in , can be set as a vector with all its elements being , , and for . Note that follows a Chi-square distribution with freedom degrees of , i.e., , we can set in , with being the forecasted value of . and so as to guarantee that now falls within with a confidence level of .
2) Constant parameters can also be chosen depending on the confidence level of satisfying (11), leading to equivalent chance-constrained optimisation problems. This, however, is beyond the scope of this letter, and more discussions can be found in [
3) , , and can be formulated as other types of convex sets, which, however, may affect the tractability of the formulated problem if two or more uncertainties co-exist. More discussions will be provided in the next section.
For the convenience of discussion, we here assume that both and are controllable, thus removing uncertainties in . However, similar to dealing with uncertainty in , the proposed approach can be easily extended to the case when uncertainty in exists.
Since the optimisation problem (15) only contains linear inequality constraints (11), the essential idea in seeking RDOEs is to make sure that (11) is always satisfied for any realisation of uncertain parameters. To obtain the robust counterpart (RC) of (15), the equivalent reformulation of (11), considering the uncertainties that are bounded by (16)-(18), should be derived. Taking a generic formulation as an example, where is a variable and is an uncertain parameter belonging to , its RC formulation is:
(19) |
With the following fact or assumption, (19) can then be reformulated as deterministic linear or other convex constraints.
1) If the min operator is on the left-hand side of a less-than-or-equal-to constraint, it can be safely removed. For example, can always guarantee that .
2) Under certain circumstances, for example, being linear and being norm constraints, , , can be expressed in an equivalent deterministic form without the max operator.
Next, we will discuss how such reformulation techniques can be applied in deriving the RDOE formulation under various uncertainty models.
Fixing at and denoting , the inequality expression in (11) with any realisation of uncertain is equivalent to:
(20) |
For the left-hand side of (20), we further have:
(21) |
where and are the same as those defined in (16); and is an intermediate variable.
We can then obtain:
(22) |
where is the conjugate function of the support function ; ; ; and represents the dual norm operator. Moreover, is always a convex function [
After safely removing the min operator in (22), (20) can be reformulated as [
(23) |
(24) |
As a result, (23) and (24) define the robust FR (RFR) that is robust to uncertain , and maximising over in this RFR will report the desired RDOEs. The final optimisation problem with the objective maximising the total DOE can be formulated as .
With fixed at and denoting , for the
(25) |
where is an intermediate variable.
We can then obtain:
(26) |
where ; and .
Similar to the derivation of the RFR with uncertain , removing the min operator in (26) also leads to an RFR that is robust against uncertain . The final optimisation problem to maximise the total DOE can thus be formulated as:
(27) |
(28) |
(29) |
In this case, bilinear uncertainty exists in (11), making the RC reformulation generally intractable. However, as discussed in [
(30) |
where ; ; ; and with , and is the cardinality of .
Obviously, there is a total number of extreme points in . As a special case, when , the extreme points in can be expressed as , where is a vector with the
(31) |
(32) |
where .
Similarly, the final equivalent deterministic formulation to maximise the total DOE can be formulated as:
(33) |
(34) |
(35) |
(36) |
(37) |
Several remarks on calculating RDOEs are given below.
1) In this letter, a strictly equal allocation strategy, i.e., DOEs of all active customers being equal to each other, will be used, leading to a linear formulation of the objective function: subject to . However, other objective functions can also be applied.
2) Note that (11) is linear in , , and , a tractable RC for this constraint can always be derived with single uncertainty, i.e., when uncertainty appears only in or only in , and if the uncertainty set is convex. When bilinear uncertainty exists, a tractable RC formulation is achievable if there is a finite number of extreme points for at least one uncertainty set, as shown in (31). However, it can be difficult to enumerate all extreme points itself.
3) The problem (15) with single uncertainty becomes a linear programming (LP) problem when 1-norm or -norm is used in (16)-(18), and becomes second-order cone programming (SOCP) problem when 2-norm is used. However, the RC of (15) with single uncertainty is always a convex programming problem if the uncertainty set is convex.
4) Compared with (11), a buffer term is added to the left side of (11) in its RC, leading to enhanced robustness of the solution. When , , or equals 0, the RC deteriorates to the deterministic formulation.
5) Due to the unbalances and mutual couplings of all phases in a distribution network and the fact that the active power of a VPP customer may vary between 0 kW and its allocated DOE, there is another type of uncertainty related to the difference between the optimal solution of and its realised value . Although this is beyond the scope of this letter, such uncertainty can be addressed by: ① taking the approach proposed in [
6) When extra constraints on and exist, an additional constraint can be added to (10) and (11).
Two distribution networks, i.e., 2-bus illustrative network and a representative Australian network, will be studied. For the illustrative network, where its topology is presented in

Fig. 1 Network topology of 2-bus illustrative network.
Of the three customers, is fixed, while , and are to be optimised with and , aiming at maximising the total exports from customers 1 and 3. Moreover, the default export/import limits for both customers are set to be 7 kW, and controllable reactive power is assumed to be within [-1, 1]kvar. Lower and upper VM limits are set to be 0.95 p.u. and 1.05 p.u., respectively. The representative Australian network has 33 buses and 87 customers, of which 30 are VPP participants whose DOEs are to be calculated. For the remaining 57 customers, their reactive power is fixed, while the active power is treated as uncertain parameters. The default limits on active and reactive power are the same as those in the illustrative network, and other data can be found in [
For network impedances, in (16) refers to the mutual impedances of line for the illustrative network and refers to the positive, negative and zero-sequence impedances of all line codes of lines “46-47”, “69-67”, “49-50”, “40-41”, “54-59”, “45-50”, “67-68”, “44-45”, “61-62”, and “52-54” for the Australian network.
This subsection will investigate the accuracy of the employed linearised model based on the Australian network, where the given voltages for phases , , and are set to be , , and , respectively, for all buses.
The average and maximum VM errors when the demand for each of the active customers is at 1 kW (low customer load) and 3 kW (high customer load), under both exporting and importing statuses, are presented in
Customer status | Customer load | VM error (p.u.) | |
---|---|---|---|
Average | The maximum | ||
Export | High | 0.002336 | 0.005877 |
Low | 0.000125 | 0.000298 | |
Import | High | 0.008268 | 0.017820 |
Low | 0.001776 | 0.003675 |
The nodal VMs for all three phases of the Australian network are also presented in

Fig. 2 Nodal VMs for all three phases of Australian network.
However, we admit that the errors brought by the linearisation approach are inevitable, and in some cases, may be high. Thus, more efforts are needed in this area. One of the approaches to improving the accuracy is by iteratively updating the given voltage points used to linearise the model. Specifically, after solving the optimisation model with the optimal solutions of and as and , respectively, the optimal solution for after this iteration can be expressed as (38) based on (7) and (8).
(38) |
Then, matrix C, which depends on the given voltage points, can be updated further, followed by the re-calculation of the RDOE. The effectiveness of the iteration-based approach has been demonstrated in [
Simulation results are presented in
Uncertainty | Norm | Optimal objective (kW) | Computational time (1 | ||
---|---|---|---|---|---|
2-bus illustrative network | Representative Australian network | 2-bus illustrative network | Representative Australian network | ||
Deterministic | Not applicable | -9.9/-13.7 | -78.7/-112.3 | 0.7/0.8 | 3.7/4.9 |
∞-norm () | -9.2/-12.8 | -49.2/-58.3 | 4.3/5.4 | 36.0/57.8 | |
∞-norm () | -8.6/-11.9 | -36.3/-43.1 | 3.9/5.3 | 36.2/61.6 | |
1-norm () | -9.4/-13.2 | -78.1/-111.7 | 1.0/1.1 | 44.2/58.3 | |
2-norm () | -9.4/-13.2 | -77.8/-111.4 | 1.1/0.8 | 20.2/36.1 | |
∞-norm () | -9.4/-13.2 | -75.4/-109.0 | 0.7/1.0 | 68.9/162.6 | |
-norm () | -8.7/-12.3 | -48.7/-56.1 | 30.0/31.1 | 2856.0/5839.0 |

Fig. 3 FRs and DOEs for illustrative network under various uncertainties. (a) Uncertainty in . (b) Uncertainty in . (c) Uncertainty in both and . (d) Under various uncertainties.
In
Moreover, the DOEs calculated by deterministic approach are also presented for comparison purposes. Moreover, the compact formulation of the problems in this paper is realised with the assistance of Julia packages MathOptInterface.jl, JuMP.jl, and PowerModelsDistribution.jl [
Simulation results clearly show that RDOEs are more conservative than DDOEs, and a higher level of uncertainty leads to a more conservative allocation strategy, as demonstrated in
Uncertainties in demand forecasting and impedance modelling in distribution networks are inevitable and could potentially undermine the reliability of calculated DOEs for DER integration. This letter studies the calculation of DOEs when single or bilinear uncertainty exists in demands and network impedances, leading to various tractable formulations. Moreover, uncertainty sets are formulated as generalised norm constraints and could cover the most commonly used measures in quantifying uncertainties. Simulation results show the differences in DOE allocation strategies geometrically with and without considering uncertainties, and demonstrate the efficiency of the proposed approach. Note that the proposed approach is built on a linear UTOPF model, further improving the accuracy in linearising UTOPF and investigating robust formulations under other types of uncertainty sets are potential research directions.
References
Distributed Energy Integration Program (DEIP). (2022, Mar.). Dynamic operating envelopes working group outcomes report. [Online]. Available: https://arena.gov.au/assets/2022/03/dynamic-operating-envelope-working-group-outcomes-report.pdf [Baidu Scholar]
ENA and AEMO. (2020, Dec.). Open energy networks project – energy networks Australia position paper. [Online]. Available: https://tinyurl.com/4bd9tr5n [Baidu Scholar]
K. Petrou, A. T. Procopiou, L. Gutierrez-Lagos et al., “Ensuring distribution network integrity using dynamic operating limits for prosumers,” IEEE Transactions on Smart Grid, vol. 12, no. 5, pp. 3877-3888, May 2021. [Baidu Scholar]
B. Liu and J. H. Braslavsky, “Sensitivity and robustness issues of operating envelopes in unbalanced distribution networks,” IEEE Access, vol. 10, pp. 92789-92798, Sept. 2022. [Baidu Scholar]
W. Wei, F. Liu, and S. Mei, “Real-time dispatchability of bulk power systems with volatile renewable generations,” IEEE Transactions on Sustainable Energy, vol. 6, no. 3, pp. 738-747, Apr. 2015. [Baidu Scholar]
S. Riaz and P. Mancarella, “Modelling and characterisation of flexibility from distributed energy resources,” IEEE Transactions on Power Systems, vol. 37, no. 1, pp. 38-50, Jan. 2022. [Baidu Scholar]
H. Ahmadi, J. R. Marti, and A. von Meier, “A linear power flow formulation for three-phase distribution systems,” IEEE Transactions on Power Systems, vol. 31, no. 6, pp. 5012-5021, Nov. 2016. [Baidu Scholar]
R. A. Horn, R. A. Horn, and C. R. Johnson, Topics in Matrix Analysis. Cambridge: Cambridge University Press, 1994. [Baidu Scholar]
D. Bertsimas and D. D. Hertog, Robust and Adaptive Optimization. Massachusetts: Dynamics Ideas LCC, 2022. [Baidu Scholar]
S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge: Cambridge University Press, 2004. [Baidu Scholar]
B. Liu and J. H. Braslavsky, “Robust dynamic operating envelopes for DER integration in unbalanced distribution networks,” IEEE Transactions on Power Systems, doi: 10.1109/TPWRS.2023.3308104. [Baidu Scholar]
J. Zhong, B. Liu, X. Yu et al., “Enhancing voltage compliance in distribution network under cloud and edge computing framework,” IEEE Transactions on Cloud Computing, vol. 11, no. 2, pp. 1217-1229, 2023. [Baidu Scholar]
Mosek. (2023, Jun.). Mosek documentation. [Online]. Available: https://www.mosek.com/documentation [Baidu Scholar]
D. M. Fobes, S. Claeys, F. Geth et al., “PowerModelsDistribution.jl: an open-source framework for exploring distribution power flow formulations,” Electric Power Systems Research, vol. 189, p. 106664, Dec. 2020. [Baidu Scholar]