Abstract
Photovoltaic (PV) generation always exhibits strong uncertainty and variability; therefore, its excessive integration brings huge risks to the safe operation of power systems. In this letter, a two-stage robust optimization approach based on decision-dependent uncertainty is devised to identify the PV hosting capacity that can be accepted to ensure the effective consumption of PV generation under uncertainty. The proposed approach is validated by numerical experiments for a microgrid and a distribution network.
WITH the rapid advancement of distributed generation technology, more photovoltaic (PV) and energy storage (ES) systems are integrated into power systems [
To tackle this problem, research efforts have been devoted to the decision-making of PV hosting capacity [
To fill the above research gap, this letter proposes a novel TSRO approach based on DDU involving both modeling and algorithm aspects for the assessment of PV hosting capacity in power systems. A normalization scheme is devised to equivalently reformulate the resulting DDU-based model as a regular TSRO model, which facilitates the efficient solution to this complicated optimization problem.
The DDU-based TSRO model (M) for assessing the PV hosting capacity in power systems is developed in (1)-(19). The first-stage optimization maximizes the total PV hosting capacity ahead of uncertainty, and the second-stage model determines the feasible scheduling plans after realizations of source-load uncertainty under the corresponding capacity. In particular, the total power imbalance in the worst-case uncertainty scenario is minimized to be zero, i.e., the PV hosting capacity derived in the first stage shows guaranteed robustness.
(1) |
s.t.
(2) |
(3) |
where x is the variable set of the first-stage optimization; C and C are the capacities of the PV and ES at node i, respectively; M and M are the maximal charging and discharging power of ES i, respectively; is the capacity ratio of the integrated PV and ES system; and are the charging and discharging rates of ES i, respectively; and are the sets of non-negative slack variables to depict the outflow and injection imbalance of active power at node i during period t, respectively; and are the non-negative slack variables that describe the outflow and injection imbalance of reactive power at node i, respectively; is the polyhedral uncertainty set for source-load power; u,
(4) |
where [u, u] is the predicted interval of u; u is the predicted nominal value of u; [, ] is the budget range of load uncertainty; [u, u] and u are the predicted interval and the nominal PV output per unit capacity, respectively; and [, ] is the budget range of PV uncertainty.
Constraint (4) expresses the detailed polyhedral uncertainty set for source-load power. The first row limits the uncertainty of active load power within the predicted interval, and the second line controls the degree of load uncertainty, i.e., the total deviation between the uncertainty power u and the predicted nominal value u throughout the whole horizon does not exceed the budget range. The third and fourth rows indicate the uncertainty of PV active power, which has similar meanings as the first and second rows. It can be observed that u demonstrates DDU associated with the first-stage variable C.
(5) |
(6) |
(7) |
(8) |
(9) |
where Mand M are the maximum allowable charging and discharging power of ES i, respectively; is the minimum power factor for ES operation; and are the charging and discharging efficiencies, respectively; [, ] is the proportional range of SOC for ES i; and SiT and Si0 are the final and initial SOC of ES i, respectively.
The scheduling constraints under uncertainty are illustrated in (5)-(19). Specifically, (5) restricts the charging and discharging states of ES i during period t, i.e., the ES cannot be charged and discharged simultaneously. This ensures the optimality and rationality of the operating state of the ES for the non-convex TSRO model [
(10) |
(11) |
(12) |
where and are the maximal allowable purchase and sell power of GL i, respectively; and is the maximal capacity of GL i.
(13) |
(14) |
where is the minimal power factor for PV i; and is the constant power factor for load i.
The PV reactive power at node i is limited in (13).
(15) |
(16) |
(17) |
(18) |
(19) |
where rij and xij are the resistance and reactance of line ij, respectively; and are the line sets with node i as parent and child nodes, respectively; and are the minimal and maximal voltage magnitudes at node i, respectively; and is the maximal current capacity of line ij; , , and are the active power, reactive power, and squared current magnitude on line si, respectively; and and are the resistance and reactance of line si, respectively.
Constraints (15)-(19) support the DistFlow model for power networks in the formulation of SOCR. Specifically, (15) and (16) govern the active and reactive power balance at node i, respectively. For instance, if there is net active power inflow of node i during period t, , ; otherwise, if there is net active power outflow, , .
For ease of algorithmic demonstration, the DDU-based TSRO model formulated in Section II is abbreviated into the following compact model M1.
(20) |
where the objectives and constraints are described in matrices. Apart from the decision variables in each stage defined in Section II, the other matrices (A, C, b, , , , , G, H, f, J, K, L, m, and n) in M1 are constants with appropriate dimensions. It can be observed that the uncertainty variables u in M1 are affected by the first-stage variables x, and this model features DDU and binary recourses. As different optimal results of x in the first stage shake the feasible region of u, i.e., the uncertainty set is changing during the iterative solution, the classic nested column and constraint generation (C&CG) algorithm will encounter the issues of oscillation and non-convergence. To overcome this weakness, a normalization scheme is exploited to equate M1 into a regular TSRO model.
Proposition: M1 can be normalized as the following regular TSRO model M2.
(21) |
where denotes the Hadamard product of vectors. In M2, is no longer affected by the first-stage variables x, and u' is the DIU [
Proof: to prove the above proposition, we only need to prove the following two claims.
1) Claim 1: for , there always exists such that .
2) Claim 2: for , always holds.
For Claim 1, if , then u' can take any value within [0,1]; if , then . Claim 1 is proven.
For Claim 2, for , we always have . Claim 2 is proven.
Based on Claim 1 and Claim 2, Ku in M1 is replaced by , then can be directly extended to . In this case, M1 is equivalent to M2.
M2 is a regular TSRO problem with binary recourses, which can be directly handled using the classic nested C&CG algorithm. This algorithm uses an outer C&CG procedure to decouple M2 into an iterative master-slave problem framework. The slave problem is further converted into an iterative problem containing the inner-loop master and slave problems via an inner C&CG procedure [
Substituting the optimal results from the master problem, the slave problem is then formulated as SP.
(22) |
As
Substituting the
(23) |
The optimal results (y, y, ξk+1) are fed back to the inner-loop master problem.
After substituting y optimized by ISP, the inner-loop master problem is defined as IMP.
(24) |
where is an auxiliary variable to characterize the objective function; is the dual variable corresponding to the first constraint on
The bilinear term is linearized using the Big-M method [
The master problem is cast as MP after plugging the solution results from SP as .
(25) |
where j is the iteration number of MP and SP, and the two problems are iteratively solved until convergence. The procedures of the nested C&CG algorithm for tackling a regular TSRO model with binary recourses can be referred to [
To verify the effectiveness and superiority of the proposed approach, numerical experiments are implemented for a microgrid and a distribution network on four typical days. The tested microgrid is a practical 0.4 kV system in Singapore. PV and ES systems are integrated at node 4 with certain capacities, and the topology and basic operation parameters of this microgrid are given in

Fig. 1 Topology of tested microgrid.
Parameter | Value | Parameter | Value |
---|---|---|---|
αi | 0.2 | I | 4 |
β, β | 0.5 | T | 48 |
Δ, Δ (%) | 92, 108 | Δt (min) | 30 |
Δ, Δ (%) | 98.5, 101.5 | 0.85 | |
η, η | 0.98, 0.98 | r12, x12 (Ω) | 0.25, 0.083 |
S, S | 0.2, 0.95 | r23, x23 (Ω) | 0.23, 0.075 |
, (kW) | 25, 10 | r24, x24 (Ω) | 0.18, 0.058 |
M (kVA) | 30 | V, V (p.u.) | 1.05, 0.95 |
, | 0.98, 0.98 | (A) | 120 |
The 24-hour scheduling horizon is divided into 48 periods. Therefore, the optimization model totally contains periods. The predicted nominal active power of PV under unit hosting capacity (1 kW) of the four days under the Singapore environment is depicted in

Fig. 2 Predicted nominal PV and load active power on four typical days.
Multiple cases are also set for comparative analysis. Specifically, Case 1 is the proposed approach, Case 2 denotes the classic nested C&CG algorithm [
Case | Microgrid | Distribution network | ||||
---|---|---|---|---|---|---|
PV hosting capacity (kW) | Outer-loop iteration | Total solution time (s) | PV hosting capacity (kW) | Outer-loop iteration | Total solution time (s) | |
1 | 38.6 | 4 | 25.2 | 7.252 | 5 | 43.4 |
2 | Oscillation | Non-convergence | Oscillation | Non-convergence | ||
3 | 38.6 | 9 | 368.5 | 7.252 | 14 | 1693.8 |
According to
This letter proposes a TSRO approach based on DDU to deal with the assessment problem of PV hosting capacity in power grids. The proposed approach efficiently overcomes the drawbacks of iterative oscillation and non-convergence in the classic algorithm under the influence of DDU, and considerably enhances the computational efficiency of such a complicated model. The proposed approach can be extended to a series of robust planning and scheduling problems containing DDU. It should be pointed that the non-anticipative issue in power system scheduling is not considered in this letter, as in other two-stage optimization studies; therefore, multi-stage RO approach with sequential DDU should be further investigated in future work.
References
L. Cheng, H. Zang, A. Trivedi et al., “Mitigating the impact of photovoltaic power ramps on intraday economic dispatch using reinforcement forecasting,” IEEE Transactions on Sustainable Energy, vol. 15, no. 1, pp. 3-12, Jan. 2024. [Baidu Scholar]
P. Li, Z. Wu, C. Zhang et al., “Multi-timescale affinely adjustable robust reactive power dispatch of distribution networks integrated with high penetration of PV,” Journal of Modern Power Systems and Clean Energy, vol. 11, no. 1, pp. 324-334, Jan. 2023. [Baidu Scholar]
L. Zhang, H. Ye, F. Ding et al., “Increasing PV hosting capacity with an adjustable hybrid power flow model,” IEEE Transactions on Sustainable Energy, vol. 14, no. 1, pp. 409-422, Jan. 2023. [Baidu Scholar]
H. Wu, Y. Yuan, X. Zhang et al., “Robust comprehensive PV hosting capacity assessment model for active distribution networks with spatiotemporal correlation,” Applied Energy, vol. 323, p. 119558, Oct. 2022. [Baidu Scholar]
S. Zhang, Y. Fang, H. Zhang et al., “Maximum hosting capacity of photovoltaic generation in SOP-based power distribution network integrated with electric vehicles,” IEEE Transactions on Industrial Informatics, vol. 18, no. 11, pp. 8213-8224, Nov. 2022. [Baidu Scholar]
Y. Chen and W. Wei, “Robust generation dispatch with strategic renewable power curtailment and decision-dependent uncertainty,” IEEE Transactions on Power Systems, vol. 38, no. 5, pp. 4640-4654, Sept. 2023. [Baidu Scholar]
J. M. Arroyo, L. Baringo, A. Baringo et al., “On the use of a convex model for bulk storage in MIP-based power system operation and planning,” IEEE Transactions on Power Systems, vol. 35, no. 6, pp. 4964-4967, Nov. 2020. [Baidu Scholar]
S. Singh, V. B. Pamshetti, A. K. Thakur et al., “Profit maximization in ADN through voltage control and DR management with networked community micro-grids,” IEEE Transactions on Industry Applications, vol. 59, no. 3, pp. 2706-2719, May-Jun. 2023. [Baidu Scholar]
B. Zeng and W. Wang. (2022, Mar.). Two-stage robust optimization with decision dependent uncertainty. [Online]. Available: http://arxiv.org/abs/2203.16484 [Baidu Scholar]
X. Zheng, B. Zhou, X. Wang et al., “Day-ahead network-constrained unit commitment considering distributional robustness and intraday discreteness: a sparse solution approach,” Journal of Modern Power Systems and Clean Energy, vol. 11, no. 2, pp. 489-501, Mar. 2023. [Baidu Scholar]
X. Cao, T. Cao, Z. Xu et al., “Resilience constrained scheduling of mobile emergency resources in electricity-hydrogen distribution network,” IEEE Transactions on Sustainable Energy, vol. 14, no. 2, pp. 1269-1284, Apr. 2023. [Baidu Scholar]
L. Ma, L. Wang, and Z. Liu, “Soft open points-assisted resilience enhancement of power distribution networks against cyber risks,” IEEE Transactions on Power Systems, vol. 38, no. 1, pp. 31-41, Jan. 2023. [Baidu Scholar]
H. Qiu, W. Gu, W. Sheng et al., “Resilience-oriented multistage scheduling for power grids considering nonanticipativity under tropical cyclones,” IEEE Transactions on Power Systems, vol. 38, no. 4, pp. 3254-3267, Jul. 2023. [Baidu Scholar]
L. Zhao and B. Zeng. (2012, Jan.). An exact algorithm for two-stage robust optimization with mixed integer recourse problems. [Online]. Available: https://optimization-online.org/2012/01/3310/ [Baidu Scholar]
X. Chen, W. Wu, B. Zhang et al., “Data-driven DG capacity assessment method for active distribution networks,” IEEE Transactions on Power Systems, vol. 32, no. 5, pp. 3946-3957, Sept. 2017. [Baidu Scholar]