<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>A Robust Strategy for Leveraging Soft Open Points to Mitigate Load Altering Attacks</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10316616</idno>
					<idno type="doi">10.1109/TSG.2021.3134176</idno>
					<title level='j'>IEEE Transactions on Smart Grid</title>
<idno>1949-3053</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Zhaoxi Liu</author><author>Lingfeng Wang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Power system cybersecurity is emerging as a critical and urgent problem to the energy sector due to the ongoing power grid modernization initiative. Load altering attack (LAA) is an important category of cyberattacks on the modern power systems, in which the attackers may damage the grid by viciously altering the remotely controllable loads (RCL) that are not properly protected. In order to mitigate the impacts of LAAs on the distribution systems, the promising soft open point (SOP) technology is deployed in this study. A two-stage optimization framework is proposed for the optimal installation and operation of SOPs for defending the distribution systems against LAAs. A chance-constrained optimization model is developed to guarantee the confidence level of the proposed two-stage model of SOPs in mitigating the impacts of LAAs. Further, a Wasserstein metric based distributionally robust chance-constrained (DRCC) optimization method is developed to ensure the robustness of the proposed model against the ambiguity of the empirical probability distribution in practice. Case studies were performed on a 69-bus test system to validate the proposed method. The results of case studies show that the proposed framework is able to mitigate the impacts of LAAs on distribution systems with the installation of SOPs. By applying the DRCC optimization method, the proposed model manages to keep satisfactory confidence levels under the ambiguous probability distributions in the case studies.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>I N recent years, a massive transformation is ongoing in the power systems towards a more flexible, efficient and smarter electric grid with the fast-developing operational technology (OT) and information technology (IT) in the power systems. Consequently, cyber vulnerability of the grid is introduced across all levels of power systems <ref type="bibr">[1]</ref>, <ref type="bibr">[2]</ref>. As the consequences of an effective cyberattack against the power systems can be extreme and disturbing the normal operation of the grid can have tremendous financial and security effects to the entire society, the power systems have become a primary target of the cyberattacks by malicious adversaries. A realworld example is the two effective cyberattacks against the Ukrainian power system in 2015 and 2016 <ref type="bibr">[3]</ref>. By the first attack in 2015, about 225 thousand residents in three provinces of Ukraine were affected for up to 6 hours <ref type="bibr">[4]</ref>. Over 130 MW of loads were lost and more than 50 substations were disconnected from the grid viciously by the attackers. Therefore, the cybersecurity of power systems against malicious cyberattacks is emerging as a critical and urgent topic for the entire society.</p><p>Load altering attack (LAA) is an important category of cyberattacks on the modern power systems. The attacker of LAAs attempts to maliciously alter a group of remotely controllable loads (RCL) that are not properly secured to damage the grid through circuit overloads and/or other mechanisms <ref type="bibr">[5]</ref>, <ref type="bibr">[6]</ref>. Research <ref type="bibr">[5]</ref> identifies the practical loads that are vulnerable to the Internet-based LAAs and overviews the defense mechanisms to block the attacks and limit the damage. Reference <ref type="bibr">[6]</ref> studies the dynamic LAAs against the frequency stability of the power system. In the research, the fundamental characteristics of the attack models are analyzed and explained. Meanwhile, the protection schemes against the dynamic LAAs are designed and proposed in the study. In <ref type="bibr">[7]</ref>, the risks of system-wide unstable oscillations and trips of generators in the grid due to LAAs are investigated. The vulnerability of the smart grid under LAAs is analyzed in <ref type="bibr">[8]</ref> using a graph theory based method. An anomaly detection scheme of power consumption is proposed in <ref type="bibr">[9]</ref> to indicate potential malicious LAAs on the grid. The existing researches on LAAs mentioned above mainly focus on the damage and influence of LAAs on the generation and transmission sides of the grid. The impacts of LAAs on the distribution systems have not been covered in the existing literature. However, LAAs may cause more direct and damaging results on the distribution systems. Thus, in this paper, the impacts of LAAs on the distribution systems are studied.</p><p>In order to enhance the robustness of the distribution systems against malicious attacks, the system operation should be reinforced. Recently, soft open points (SOPs) are emerging as a promising power electronics based interconnection solution in the distribution networks to enhance the controllability and flexibility of the system operation. A series of recent researches have explored the application of SOPs to improve the flexibility of distribution systems. In <ref type="bibr">[10]</ref>, the benefits of employing SOPs and other power electronic devices to support growing distributed generation (DG) are analyzed. The operation principle of SOPs in distribution systems is proposed in <ref type="bibr">[11]</ref>, and an optimal operation model of SOPs in distribution networks is proposed in <ref type="bibr">[12]</ref>. In <ref type="bibr">[13]</ref>, the dynamic performance of a medium voltage (MV) distribution network with a connected SOP under grid side AC faults is investigated. The bi-level optimization model proposed in <ref type="bibr">[14]</ref> considers the planning of converter-based DG units and SOPs in a coordinated way for incorporating active management of the unbalanced distribution networks. The three-Phase unbalanced conditions of the distribution networks are also considered in the optimal operation model of SOPs in <ref type="bibr">[15]</ref>. In <ref type="bibr">[16]</ref>, a threeterminal MV SOP topology is proposed for the distribution systems with renewable energy sources (RES), and the DC voltage control strategy of the three-terminal SOP is studied. The control method of a back-to-back SOP in the distribution systems to mitigate the voltage fluctuation caused by DG is studied in <ref type="bibr">[17]</ref>. A coordinated control method of voltage and reactive power of the distribution systems based on SOPs is proposed in <ref type="bibr">[18]</ref> to manage the increasing penetration of DG in distribution networks. In <ref type="bibr">[19]</ref>, a voltage regulation framework is proposed for distribution systems through the SOPs and the DG inverters. A two-stage robust optimization model is built for the operation of SOPs in <ref type="bibr">[20]</ref> to handle the uncertainties of photovoltaic (PV) generation in the distribution systems.</p><p>The existing literature has provided valuable insights on the potential of SOPs in improving the distribution system operation. However, the implementation and operation strategies of SOPs in the grids against malicious cyberattacks on the distribution networks have not been studied in the existing researches. In this paper, the back-to-back SOP is employed to mitigate the impacts of malicious LAAs on the distribution systems. A chance-constrained model which considers the operation of the SOPs against LAAs is developed to determine the optimal installation and sizing decisions of SOPs in a set of installation candidates. In the existing literature, most of the studies focus on the optimal operation and control strategies of the SOPs in different scenarios, e.g., <ref type="bibr">[11]</ref>- <ref type="bibr">[13]</ref>, <ref type="bibr">[15]</ref>- <ref type="bibr">[20]</ref>. In these works, the deployment strategy of SOPs is not considered. However, the operation constraints of the SOPs in these works are consistent with the constraints in the proposed models in this paper. The models in these works are compatible with the proposed SOP installation and sizing model and SOP operation strategy against LAAs. In other scenarios (e.g., normal scenarios, AC faults, etc.), the distribution system operator (DSO) may operate the SOPs with the existing models in literature according to his/her interest and perspective in the corresponding scenario. When successful LAAs are launched on the distribution system, the DSO may apply the proposed operation strategy of the SOPs in this paper to mitigate the impacts of the attacks. In <ref type="bibr">[14]</ref>, a coordinated DG-SOP planning model is proposed to minimize the investment and operation costs. In this paper, only the investment cost of the SOP installation is considered. However, it is feasible to extend the proposed model in this paper to consider the total cost of the SOP installation and operation with proper modification on the optimization model. Nevertheless, due to the chance constraints on the security of the distribution network under potential attacks, the proposed model is subject to additional limits, and the expected total cost of the SOP installation and operation is supposed to be higher than the case not considering the security constraints. The higher cost is paid to enhance the robustness and resilience of the distribution network against malicious attacks.</p><p>In the generic chance-constrained programming framework, the probability distribution of scenarios is needed and applied in the chance constraint. In practical applications, the estimated distribution is usually used to solve the optimization model. However, the actual probability distribution may deviate from the estimated distribution in practice. As a result, the required confidence level in the chance constraint of the model is no longer guaranteed. To this end, a distributionally robust chance-constrained (DRCC) model is proposed in this paper to improve the robustness of the chance-constrained model against the probability distribution deviation. The Wasserstein metric based distributionally robust optimization technique is applied in the proposed chance-constrained model to provide robustness of the solution against ambiguity. The Wasserstein distance based distributionally robust optimization models have been proposed and studied for the power system operation problems in a few recent researches. For example, a DRCC dispatch model is developed in <ref type="bibr">[21]</ref> with Wasserstein distance considering the renewable forecasting errors. In <ref type="bibr">[22]</ref>, a Wasserstein metric based distributionally robust approximate framework (WDRA) is proposed for the unit commitment problem with wind power forecasting errors. A few generic analyses on the Wasserstein metric based distributionally robust optimization modeling have also been performed recently. In <ref type="bibr">[23]</ref>, a reformulation of the Wasserstein ball with finite convex optimization problems is proposed. However, to the best knowledge of the authors, the optimal SOP installation and operation problem against LAAs considered in this paper has not been covered or studied in the existing literature. The objective of the proposed work is to provide a robust and flexible solution for the optimal SOP installation and operation decisions against potential LAAs on the distribution networks. While considering the detailed operation strategies of the SOPs in the LAAs, the proposed DRCC model determines the installation decisions of the SOPs in the candidate set of sites and optimizes the sizing of the SOPs to be installed to mitigate the impacts of potential LAAs. Thus, the proposed two-stage model considers both the optimal installation and operation decisions of the SOPs in the distribution networks.</p><p>The contributions of this paper are summarized as follows:</p><p>&#8226; A two-stage optimization framework is proposed to mitigate the impacts of LAAs on the distribution systems with the installation of SOPs. The proposed framework manages the optimal planning and operation of the SOPs for defending the distribution systems against the LAAs. &#8226; A chance-constrained optimization model is developed to achieve the confidence level of the proposed installation and operation models of SOPs in thwarting the LAAs on the distribution systems. The Wasserstein distance based distributionally robust optimization technique is applied in the chance-constrained SOP installation and sizing problem to robustize the SOP installation strategy against potential LAAs. A corresponding master and sub-problem based algorithm is developed to solve the proposed DRCC model. The rest of the paper is organized as follows. Section II gives a concise introduction of the LAAs on the distribution systems. In Section III, the optimal installation and operation models of SOPs to mitigate the impacts of LAAs are described in detail. Then, the Wasserstein metric based DRCC model is proposed in Section IV. In Section V, the case studies of the proposed model are presented, followed by the conclusions in Section VI.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. LOAD ALTERING ATTACKS ON DISTRIBUTION NETWORKS</head><p>In the LAAs, the attackers attempt to damage the power system by maliciously altering a set of controllable loads that are not properly secured. In practice, a wide range of loads can be vulnerable to LAAs, including remotely controllable loads, loads that automatically respond to price or are controlled by direct load control (DLC) command signals, and frequency-responsive loads <ref type="bibr">[5]</ref>, <ref type="bibr">[6]</ref>. In the distribution networks, the volumes of such controllable and responsive loads (e.g., electric vehicles (EVs) and smart appliances) are increasing in recent years with the trend towards the smart grid and active distribution systems. However, due to the high cost of expanding/upgrading the distribution systems, advanced resource optimization techniques are used to accommodate the increasing loads and allow some inherent physical redundancy within the systems to be reduced in the operation <ref type="bibr">[24]</ref>- <ref type="bibr">[26]</ref>, which also decrease the resilience of the distribution systems against successful cyberattacks. Thus, the impacts of LAAs can be damaging to the normal operation of distribution systems.</p><p>The LAA is a realistic attack scenario on power systems. Due to the rapidly increasing amount of flexible demand with automatic and remote control in the smart grid, the vulnerabilities to LAAs are introduced with the widely applied information systems to facilitate more advanced functions to better supply the demand. The research in <ref type="bibr">[5]</ref> has studied and identified a series of practical loads in the consumption sector of power systems that can be vulnerable to LAAs. Reference <ref type="bibr">[27]</ref> reports and analyzes the real-world cybersecurity flaws and vulnerabilities in the smart EV charging systems which may suffer from LAAs. Real-world cybersecurity vulnerabilities and incidents of the heating, ventilation and air conditioning (HVAC) control systems and building management systems (BMS) have also been reported <ref type="bibr">[28]</ref>.</p><p>The adversaries may aim to interrupt the normal operation of the grid by LAAs. Unlike other cyberattacks on the power systems (e.g., switching attacks, false data injection (FDI) attacks), the LAAs do not need to break through the information or control systems of the system operator, which are usually well isolated and protected. It makes LAAs much easier and more realistic for the attackers to prepare and perform the attacks. Meanwhile, another motivation of the adversaries to launch LAAs can be to disturb the optimal energy management and demand response programs of the flexible loads. Usually, the smart devices of such demand are shifted from the peak hours to the valley hours for lower electricity bills with timeof-use (TOU) or other dynamic pricing schemes, which help reduce the stress of the grid. However, in the LAAs, the adversaries may interfere the optimal energy management by turning on the flexible loads at the peak hours when the electricity prices are the highest. Consequently, the normal operation of the grid can be interrupted due to the impacts of LAAs.</p><p>In a successful LAA attempt, the attacker can turn on the RCL that are compromised by the attack at the victim bus simultaneously. The redundancy of the distribution network may not be able to cover such a pulse of the demand. As a result, the distribution system may face overload problems in the branches and/or low voltage problems at the buses, and the network constraints of the distribution system may not be able to be satisfied. Thus, it is important to search for effective measures to mitigate the impacts of successful LAAs on the distribution systems.</p><p>In this study, the proposed SOP installation and operation models aim to mitigate the impacts of potential LAAs on the distribution networks. The objective and benefits of the proposed strategies are avoiding network constraint violations, unwanted load curtailment and tripping of the feeders when successful LAAs are launched on the distribution systems. With the proposed chance-constrained SOP installation model and operation strategy, the probability of network constraint violations (and consequent load curtailment and/or tripping of feeders) in the distribution network is limited below a predefined acceptable confidence level under potential LAAs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. OPTIMAL INSTALLATION AND OPERATION STRATEGIES OF SOPS AGAINST LAAS</head><p>In order to mitigate the impacts of the LAAs on the distribution systems, an optimal SOP installation and operation model is developed in this paper. The detailed formulation of the proposed model is presented in this section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Power Flow Formulation</head><p>In this study, the DistFlow model <ref type="bibr">[29]</ref> is applied to formulate the power flow of the distribution system. The DistFlow formulation can accurately model the power flow in radial AC distribution networks <ref type="bibr">[29]</ref>, <ref type="bibr">[30]</ref>. Thus, it is widely used in the distribution system power flow modeling. Existing studies on the optimal planning and operation problems of distribution systems have shown that the DistFlow model can achieve high accuracy in the solutions <ref type="bibr">[31]</ref>- <ref type="bibr">[33]</ref>. The formulation of the DistFlow model is presented as follows.</p><p>i &#8712;Ni</p><p>i &#8712;Ni</p><p>where i denotes the parent node of bus i, N i is the set of children nodes of bus i, P i and Q i denote the active and reactive power flows from the parent node i to the branch connected to bus i, and V i is the voltage of bus i in the network. The branch flow model of the DistFlow formulation is demonstrated in Fig. <ref type="figure">1</ref>. The generic DistFlow model is non-convex which makes it difficult to solve in optimization models. Thus, in this study, a second-order cone reformulation of the DistFlow model is applied. The detailed formulation will be presented in Section III-C. The linearized DistFlow model which neglects the loss terms in the power flow has also been widely applied in literature <ref type="bibr">[34]</ref>, <ref type="bibr">[35]</ref>. However, the DistFlow model is not linearized in the proposed model in this paper and the losses in the distribution network are considered. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. SOP Operation Modeling</head><p>In this paper, the SOPs are applied in the distribution network to enhance the flexibility of the system operation. An SOP can be installed between two feeders in the distribution system to precisely regulate the power flow. The back-toback voltage source converters (VSCs) are well accepted for the power system applications as they can accurately adjust the power flow while providing voltage support and reactive power compensation to the grid <ref type="bibr">[15]</ref>, <ref type="bibr">[18]</ref>. Thus, in this study, the back-to-back VSCs are applied for the SOP application in the distribution system. The operation of the SOPs needs to regulate both the active and reactive power outputs of the two converters in the back-to-back VSCs. The constraints for the operation of the back-to-back VSC-based SOPs can be formulated as follows <ref type="bibr">[14]</ref>, <ref type="bibr">[15]</ref>. where subscripts i and j indicate the indexes of the nodes to which the installed SOP is connected. P SOP i and P SOP j are the active power injection to buses i and j of the SOP, respectively. Similarly, Q SOP i and Q SOP j are the reactive power injection to buses i and j of the SOP, respectively. P SOP,L i and P SOP,L j are the losses of the SOP's converters connected to buses i and j, respectively. Expression (4) is the power balance constraint considering the loss of the SOPs, and constraints ( <ref type="formula">5</ref>)-( <ref type="formula">6</ref>) give the formulation of the loss of the SOPs with coefficients A i and A j . Constraints <ref type="bibr">(7)</ref> and ( <ref type="formula">8</ref>) are the reactive power limits and capacity limits of the SOPs, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Optimal Operation of SOPs Against LAAs</head><p>In the operation model of the distribution system against the LAAs, the DSO needs to coordinate the operation of the SOPs in the system so that the network constraints can be met under the attacks. The optimization model of the network operation with SOPs is presented as follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Subject to</head><p>i &#8712;Ni</p><p>i &#8712;Ni</p><p>where</p><p>The objective of the operation model as ( <ref type="formula">9</ref>) aims to minimize the total loss in the distribution network. The first term of ( <ref type="formula">9</ref>) is the loss in the branches of the network, and the second term is the loss of the converters in the SOPs. The original DistFLow model as ( <ref type="formula">1</ref>)-( <ref type="formula">3</ref>) is non-convex. Thus, the DistFlow model is reformulated into a second-order cone programming (SOCP) model <ref type="bibr">[32]</ref>, <ref type="bibr">[36]</ref>. Constraints ( <ref type="formula">10</ref>)- <ref type="bibr">(14)</ref> give the SOCP formulation of the DistFlow model. As shown in constraints <ref type="bibr">(10)</ref> and <ref type="bibr">(11)</ref>, the loads in the network may be altered by successful LAA attempts. Thus, the operation of the SOPs should mitigate the impacts of the altered demand in the attacks while satisfying the network constraints of the grid. Constraints ( <ref type="formula">15</ref>)-( <ref type="formula">16</ref>) guarantee the network constraints of the distribution system operation. The model of the SOP operation as ( <ref type="formula">4</ref>)-( <ref type="formula">8</ref>) is also non-convex. Similarly, a SOCP reformulation of the SOP operation model is applied <ref type="bibr">[14]</ref>. Constraints ( <ref type="formula">17</ref>)- <ref type="bibr">(20)</ref> show the SOCP model of the SOP operation. The SOCP reformulation in ( <ref type="formula">17</ref>)-( <ref type="formula">20</ref>) relaxes the equality constraints ( <ref type="formula">5</ref>) and ( <ref type="formula">6</ref>) with the inequality constraint <ref type="bibr">(18)</ref>. Suppose P SOP,L &#968;,i is a solution when ( <ref type="formula">18</ref>) is not binding.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>It can be expressed as</head><p>&#968;,i + &#8710;, where &#8710; &gt; 0. As P SOP,L &#968;,i 0 according to <ref type="bibr">(18)</ref>, it can be derived from ( <ref type="formula">17</ref>) that P SOP &#968;,i &#8226; P SOP &#968;,j 0. When P SOP &#968;,i 0, it means the SOP draws active power from node i. When P SOP &#968;,i 0, it means the SOP injects active power to node i. Without loss of generality, assume P SOP &#968;,i 0 and P SOP &#968;,j 0. As -P SOP &#968;,i = P SOP,L &#968;,i</p><p>+P SOP &#968;,j , it can easily be derived that the value of P SOP &#968;,i decreases when &#8710; decreases, which means more active power is drawn by the SOP at node i. Then the active power flow P i in the upstream branches of node i increases, and the voltages V i of the nodes i in the same branches of node i decrease. As a result, the value of the first term in the objective function <ref type="bibr">(9)</ref> decreases. Meanwhile, a smaller &#8710; reduces P SOP,L &#968;,i and the value of the second term in the objective function <ref type="bibr">(9)</ref>. Therefore, the objective of the optimization can always be improved by reducing &#8710; when constraint <ref type="bibr">(18)</ref> is not binding. Constraint <ref type="bibr">(18)</ref> is binding when the optimal solution is reached. Thus, the SOCP reformulation ( <ref type="formula">17</ref>)- <ref type="bibr">(20)</ref> will result in the optimal solution of the original model with equality constraints ( <ref type="formula">5</ref>) and <ref type="bibr">(6)</ref>. Intuitively, the increased P SOP &#968;,i when ( <ref type="formula">18</ref>) is not binding can be viewed as an extra load at node i, which will further increase the burden of the network. Therefore, the optimal solution is reached when constraint ( <ref type="formula">18</ref>) is binding. As indicated by <ref type="bibr">(21)</ref>, the capacity of the SOPs is determined by the solution of the optimization problem F SOP for the SOP installation and sizing strategy against LAAs. The detailed formulation of F SOP is presented in the following subsection.</p><p>In this study, the SOPs are dispatched after an attack is launched and the load at the compromised bus is altered. The set-points are determined and sent by the DSO to the SOP controllers. In the LAAs, the attackers only compromise and gain the control of the RCL in the consumption sector. The control and communication of the DSO to the local controllers in the distribution system are assumed to be secured in this paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Chance-Constrained Installation Model of SOPs Against LAAs</head><p>In order to determine the optimal installation and sizing strategies of the SOPs in distribution systems to mitigate the min</p><p>where {P i,a,&#969; , Q i,a,&#969; , V i,a,&#969; , I i,a,&#969; , U i,a,&#969; , P SOP &#968;,i,a,&#969; , P SOP,L &#968;,i,a,&#969; , Q SOP &#968;,i,a,&#969; , z &#968; , S &#968;,i } are variables in the optimization problem.</p><p>The objective of the operation model as <ref type="bibr">(22)</ref> minimizes the total cost of the SOP installation in the distribution system. The first term of ( <ref type="formula">22</ref>) is the fixed cost for each SOP installation, and the second term is the proportional cost to the capacities of the installed SOPs. Constraints ( <ref type="formula">23</ref>)-( <ref type="formula">27</ref>) are the SOCP formulation of the DistFlow model. Expressions ( <ref type="formula">28</ref>)- <ref type="bibr">(31)</ref> are the SOP operation constraints. Constraint (32) limits the capacities of the SOPs according to the installation decisions. When the installation decision variable z &#968; = 1, it means the SOP is installed. Otherwise, z &#968; = 0.</p><p>Constraint <ref type="bibr">(33)</ref> is the joint chance constraint of the optimization model. It enforces the constraint that the probability of network constraint violations is lower than the predefined confidence level coefficient &#949; for any bus in the distribution system is compromised in the LAAs. In other words, the probability of the system operation being able to adequately mitigate the impacts of the LAAs on the distribution system must be higher than the predefined confidence level 1 -&#949;. The chance constraint <ref type="bibr">(33)</ref> in the original form cannot be solved directly. In order to solve the optimization with off-the-shelf solvers, (33) can be reformulated as ( <ref type="formula">34</ref>)-(37) below.</p><p>When u &#969; = 0, constraints (34)-( <ref type="formula">36</ref>) have exactly the same expressions as the network constraints in the original chance constraint <ref type="bibr">(33)</ref>. Thus, the network constraints are enforced.</p><p>When u &#969; = 1, it is easy to find that the network constraints in the original chance constraint <ref type="bibr">(33)</ref> are relaxed by ( <ref type="formula">34</ref>)- <ref type="bibr">(36)</ref>. Finally, constraint <ref type="bibr">(37)</ref> guarantees that the total probability of the relaxed scenarios is lower than the predefined confidence level coefficient &#949;. Thus, the original chance constraint ( <ref type="formula">33</ref>) is enforced by constraints ( <ref type="formula">34</ref>)-( <ref type="formula">37</ref>). The optimization model <ref type="bibr">(9)</ref> subject to (10)-( <ref type="formula">21</ref>) in Section III-C is the operation model of the DSO with the installed SOPs in the distribution network based on the solution of the proposed optimization model presented in Section III-D. The optimization model <ref type="bibr">(22)</ref> subject to ( <ref type="formula">23</ref>)- <ref type="bibr">(33)</ref> in Section III-D is the optimization model for the optimal strategy of SOP installation against potential LAAs on the distribution network. The later model aims to keep the feasibility of the former one in the face of potential LAAs with an acceptable confidence level.</p><p>In this paper, it is assumed that the attacker will be able to switch on the vulnerable RCL when compromising the target bus in the network. The RCL connected to the compromised target bus of the LAAs is considered stochastic (e.g., EVs). Thus, with different attack policies and RCL scenarios, the impacts of the LAAs on the distribution system vary. The attacker may select the most damaging attack policy when performing the LAA. The proposed SOP installation and sizing model covers all the attack policies (including the worst-case one) in each RCL scenario to maintain the operation of the DSO with the installed SOPs. Thus, the confidence level of the network operation against the LAAs is achieved.</p><p>The chance-constrained programming method with chance constraint <ref type="bibr">(33)</ref> is applied in this paper. Robust optimization is another approach to provide conservative and robust solutions of the problem. However, robust optimization may result in highly conservative solutions or even infeasibility in certain cases. Thus, a chance-constrained model is proposed for the optimal strategies of the SOP installation and sizing in this study. The probability of network constraint violation with LAAs is kept under an acceptably low level by the proposed model. The proposed model provides a robust enough and feasible solution in the cases when the budget and resource of the system are limited which need to be considered and optimized, and the cases when robust optimization cannot achieve feasible solutions. The proposed model aims to keep the probability of network constraint violation with LAAs under an acceptably low level by the DSO. Meanwhile, it should be noted that if the highest level of network operation security is preferred by the DSO, the confidence level coefficient in the proposed model &#949; can be set as zero. In this case, the proposed model is equivalent to the case with robust optimization in which the network constraints under attack in all the scenarios will be respected.</p><p>While the operation of the SOPs is considered in the model, the proposed SOP installation model aims to provide the optimal SOP installation and sizing strategy against potential LAAs on the distribution network. In practice, it is generally not feasible for the DSO to install the SOP between any two nodes of the grid arbitrarily due to practical engineering reasons, e.g., spatial constraints. Certain possible locations for the SOP installation will be selected and assumed before the installation strategy is determined. Thus, the location candidates of the SOP installation are assumed to be known in the proposed model. Meanwhile, although placing the SOPs at the nodes close to the location of the controllable loads in the network can mitigate the impacts of the LAAs more directly, however, the placement of SOPs is usually subject to practical constraints and only certain places are feasible as discussed above. The proposed model aims to install the SOPs optimally considering all the selected feasible site candidates for the SOP installation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. DISTRIBUTIONALLY ROBUST CHANCE-CONSTRAINED MODELING</head><p>In practice, the estimated probability distribution obtained from the empirical data may not perfectly reflect the true probability distribution of the scenarios. In order to robustize the chanced-constrained SOP installation model against the uncertainty of the empirical probability measure, a Wasserstein metric based DRCC model is proposed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Ambiguity Set with Wasserstein Distance</head><p>The ambiguity set D of the DRCC model is defined based on the Wasserstein distance. The Wasserstein distance is a well accepted metric to construct ambiguity set for its strong outof-sample performance. The formulation is introduced below. The Wasserstein distance between two probability measures d W (&#960; 1 , &#960; 2 ) : M(&#926;) &#215; M(&#926;) &#8594; R is defined as <ref type="bibr">(38)</ref>  <ref type="bibr">[21]</ref>.</p><p>where &#926; is the support of the two probability measures; M(&#926;) is the set of all the distributions with support &#926;; &#915; is the set of all the joint distributions with marginal distributions &#960; 1 and &#960; 2 . Then the Wasserstein distance based ambiguity set D can be defined via <ref type="bibr">(39)</ref>.</p><p>As shown above, the Wasserstein distance from any distribution in the ambiguity set D to the estimated distribution is constrained by &#961;. Thus, the ambiguity set D can be viewed as the Wasserstein ball with radius &#961;, the center of which is the estimated distribution . The Wasserstein distancebased ambiguity set can provide an upper confidence bound without assigning probability weights, has good out-of-sample performance and has a series of nice characteristics <ref type="bibr">[21]</ref>, <ref type="bibr">[23]</ref>. Thus, in this study, the ambiguity set is constructed based on the Wasserstein distance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Distributionally Robust Chance-Constrained Model</head><p>In the distributionally robust model, the chance constraint <ref type="bibr">(33)</ref> in the original model is replaced by constraint (40) as follows.</p><p>Similar to the reformulation of ( <ref type="formula">33</ref>) by ( <ref type="formula">34</ref>)- <ref type="bibr">(37)</ref>, constraint (40) can be reformulated as ( <ref type="formula">34</ref>)-( <ref type="formula">36</ref>) and ( <ref type="formula">41</ref>) as presented below.</p><p>In order to formulate the ambiguity set D explicitly in the optimization, the Wasserstein distance needs to be calculated in a closed form. According to the definition of the Wasserstein distance, an optimization model is constructed to calculate the Wasserstein distance of a distribution &#960; from the estimated distribution as follows.</p><p>Subject to</p><p>where d &#969;,&#969; = &#969;&#969; . Then the proposed DRCC optimization model can be formulated as a tri-level optimization problem by minimizing <ref type="bibr">(22)</ref> subject to ( <ref type="formula">23</ref>)-( <ref type="formula">32</ref>), ( <ref type="formula">34</ref>)- <ref type="bibr">(36)</ref>, and </p><p>Subject to (43)-( <ref type="formula">45</ref>). In the DRCC model, &#969; and &#969; are both the indexes for the scenarios in the sample space &#8486;. &#969; and &#969; are the realization values of scenarios &#969; and &#969; , which are the amounts of RCL at the vulnerable nodes in scenarios &#969; and &#969; in this study. In the ambiguity set D, all the distributions (including the estimated distribution itself) have the same support as the estimated distribution. Therefore, both &#969; and &#969; &#8712; &#8486;, and both &#969; and &#969; are obtained from the sample data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Solution Method</head><p>In order to solve the tri-level optimization model, a master and sub-problems algorithm is developed. First, the third-level optimization problem (51) subject to ( <ref type="formula">43</ref>)-( <ref type="formula">45</ref>) is reformulated by the Karush-Kuhn-Tucker (KKT) conditions as </p><p>Subject to (23)-( <ref type="formula">32</ref>), ( <ref type="formula">34</ref>)- <ref type="bibr">(36)</ref>, and</p><p>where R &#8486; is a non-empty set of distributions with support &#8486;. R &#8486; will be constructed with the solutions of the sub-problem, and the detailed process will be described in Algorithm 1 presented below. The sub-problem is defined as follows.</p><p>Subject to (43)-( <ref type="formula">45</ref>), ( <ref type="formula">48</ref>)-( <ref type="formula">49</ref>), ( <ref type="formula">52</ref>)-( <ref type="formula">54</ref>), and</p><p>where ( <ref type="formula">61</ref>)-( <ref type="formula">65</ref>) is an equivalent reformulation of the complementary slackness conditions (55) and ( <ref type="formula">56</ref>) to handle the non-convexity of the sub-problem. With the master and subproblems described above, an iterative algorithm is then developed to solve the proposed DRCC optimization model. The algorithm is presented as Algorithm 1 below. The sub-problem guarantees that the solution of the algorithm satisfies the lower-level problem of the bi-level model. The master-problem ensures the optimality of the solution for the upper-level problem of the bi-level model. The stopping criteria of Algorithm 1 guarantees that the chance constraint of the DRCC model is satisfied with the worst-case distribution in the ambiguity set D. In the objective function of the subproblem (59), the values of u &#969; are determined by the solution of the master-problem, and u &#969; act as parameters in the subproblem. Thus, objective function (59) of the sub-problem is linear, and Algorithm 1 can be solved directly and efficiently with the off-the-shelf solvers.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. CASE STUDIES</head><p>In order to validate the proposed model, case studies were conducted on a 69-bus test system. The details of the case studies are presented in this section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Case Study Parameters</head><p>The test system based on the 69-bus system in the case studies is shown in Fig. <ref type="figure">2</ref>. The data of the 69-bus test system can be obtained from the MATPOWER software package <ref type="bibr">[37]</ref>. In the case studies, no loop paths in the 69-bus system are connected to keep it a radial network. The configuration of the SOP installation candidates follows the test system in <ref type="bibr">[19]</ref>. Four potential SOP installations are considered. As shown in Fig. <ref type="figure">2</ref>  In the case studies, the real-world daily driving behavior data from the Danish NTS dataset was used to generate the scenarios. 24000 daily driving behavior records in weekdays from the NTS were used to generate 1000000 scenarios with the bootstrap method. The bootstrap method is a wellestablished and widely applied resampling technique used to estimate the statistic characteristics on a population by sampling a dataset with replacement. Interested readers are referred to references <ref type="bibr">[39]</ref>, <ref type="bibr">[40]</ref>. Meanwhile, another separate 10187 records of weekdays driving behaviors from the NTS dataset were used in the out-of-sample test. In each scenario, the original charging scheduling of EVs without LAAs is determined by a TOU charging scheme <ref type="bibr">[41]</ref>. The daily load curve and corresponding TOU in the case studies are shown in Figs. <ref type="figure">3</ref> and<ref type="figure">4</ref>, respectively.</p><p>The loading levels of the network with the TOU-based EV charging demand without the presence of LAAs are shown in Fig. <ref type="figure">5</ref>. As shown in the figure, the loading of the network is kept below the limits in the peak, flat and valley periods with the TOU charging scheme when there are no LAAs.</p><p>The key parameters of the model in the case studies are listed in Table <ref type="table">II</ref>. Meanwhile, in practice, the two converters in the back-to-back topology generally have the same capacity. Therefore, it is assumed that the two converters in each SOP have the same capacity in the case studies.</p><p>In this study, the proposed DRCC model was solved using the proposed Algorithm 1 in Section IV-C. Both the master and sub-problems in the algorithm can be solved directly  with off-the-shelf solvers. In the case study, the models were solved with CPLEX on a laptop with Intel Core i5 CPU (1.60-3.90GHz) and 12GB RAM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. SOP Installation and Sizing Strategies</head><p>The results of the SOP installation and sizing strategies with the proposed DRCC model are shown in Table <ref type="table">III</ref>. The results with the generic chance-constrained (CC) and robust optimization (RO) models are also listed in the table  $100/kW for comparison. With both the DRCC and CC models, only three SOPs are installed in the networks while four SOPs are installed in the result of the RO model. Meanwhile, the total capacity of the SOPs with the RO model is clearly higher than the result of the DRCC model. In contrast, the capacity of the SOPs in the result of the CC model is slightly lower than the result of the DRCC model. As a result, the costs of the SOP installation with the DRCC, CC and RO models are about $420K, $414K and $540K, respectively. While the difference between the costs with the DRCC and CC models is marginal, the cost with the RO model is significantly higher, which is an about 30% raise compared with the other two models. The characteristics of the solutions from the three models are as expected. The RO model merely considers and optimizes the worst-case scenario. Therefore, it results in the most conservative solution as shown in the table. It should also be noted that the RO model may result in infeasibility of the problem is certain cases. The generic CC model relies on the estimated distribution of the scenarios and does not provide robustness against the ambiguity of the probability distribution for the chance constraint. Thus, the generic CC model gives the most optimistic solution. In contrast, the proposed DRCC model considers the ambiguity of the probability distribution and searches for the robust solution given that the estimated distribution of the scenarios may not be perfectly correct. The Wasserstein distance based ambiguity set formulation enables the proposed DRCC model to provide necessary robustness in the solution and guarantee the satisfaction of the chance constraint. Thus, as an intermediate approach between the RO and generic CC models, the proposed DRCC model provides robustness in the solution without being overly conservative. The computation time of the DRCC, CC and RO models in the case studies is about 2514s, 1004s and 171s, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Out-of-Sample Analysis</head><p>In the case studies, the confidence level requirement is set to be 0.95, which means the probability of network constraint violations under LAAs is required to be lower than 0.05 with the installed SOPs. In other words, the probability of interruptions in the distribution system due to the LAAs is less than 0.05. When the distribution of the scenarios is accurate, the confidence level is guaranteed by both the proposed DRCC and generic CC models. However, when the ambiguity of the probability distribution is considered, the confidence level is not guaranteed by the generic CC model any more. In order to illustrate the robustness of the proposed DRCC model against the ambiguity of the probability distribution and its out-ofsample performance, the proposed Wasserstein distance based DRCC model and the generic CC model are tested in the outof-sample analysis. As mentioned, the scenarios of the out-ofsample tests were generated with a set of independent driving records from the NTS other than the data used to solve the optimization models. Ten out-of-sample tests were conducted, and the results of the tests are shown in Fig. <ref type="figure">6</ref>. As shown in the figure, with the ambiguity of the distribution, the confidence level with the solution of the generic CC model is not guaranteed any more and drops below the predefined criteria in four of the tests. Thus, the generic CC model shows weak robustness to the ambiguity of the probability distribution. In contrast, the confidence level with the solution of the proposed DRCC model remains well above the criteria in all the tests. The confidence level keeps a satisfying level above 98% in all the tests, and proves the robustness of the proposed Wasserstein distance based DRCC model against the ambiguity of the probability distribution and its strong out-of-sample performance. Thus, even when the estimated probability distribution is not completely accurate in practice, the DRCC model can still maintain the required confidence level of the solution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Sensitivity Analysis</head><p>The chance-constrained confidence coefficient &#949; and the confidence level criteria of the solution, and Wasserstein distance limit &#961; determines the robustness of the DRCC model against the ambiguity of distributions. A sensitivity analysis on the two parameters was conducted to show their impacts on the solution of the DRCC model.</p><p>Figs. <ref type="figure">7</ref> and<ref type="figure">8</ref> show the cost of SOP installation and average confidence level in the out-of-sample tests with different chance-constrained confidence coefficient &#949;. When the value of &#949; increases, it means the DSO can tolerate a lower confidence level of the solution. As a result, the cost for the SOP installation decreases and a less robust solution is obtained. However, as shown in Fig. <ref type="figure">8</ref>, the proposed Wasserstein distance based DRCC model still shows a strong out-of-sample performance and well guarantees the required confidence level with the increased &#949; setting.  Figs. 9 and 10 show the cost of SOP installation and average confidence level in the out-of-sample tests with different Wasserstein distance limit &#961;. A higher &#961; means a larger ambiguity set and higher robustness against the ambiguity is required. Therefore, as shown in the figures, the cost for the SOP installation increases and higher robustness in the outof-sample tests is obtained by the solution when &#961; increases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. SOP Operation Strategy Against LAAs</head><p>In order to illustrate the performance of the proposed operation model in mitigating the impacts of the LAAs on the distribution system, the proposed SOP operation model under the LAA scenarios are tested.</p><p>In this paper, it is assumed that the attacker will be able to switch on the vulnerable RCL when compromising the target bus in the network. In the case study, it is assumed that the attacker gains the control of the EV charging when the charging infrastructure at the target bus is compromised. For instance, when the charging system at Bus 12 is compromised by the attacker, he/she can turn on the charging of all the idle EVs that are plugged in the charging poles at the charging power limit simultaneously. In this case, the default protections of the EV chargers will not be triggered. However, the network constraints of the distribution system may be violated due to the sudden peak demand, and overloading and under-voltage problems can be caused by the malicious attack action. It should be noted that the vulnerable RCL is assumed to be stochastic in the LAA scenarios in the proposed model. In the case studies, it is assumed that the attacker can switch on the charging of all the idle EVs connected to the compromised buses in the LAA attacks. The numbers of the idle EVs connected to the compromised buses in the scenarios are stochastic in the case studies.</p><p>Fig. <ref type="figure">11</ref> shows the ratio of the apparent power to the limits of the heavy loaded branches in the distribution system under LAAs without SOPs. Without the installation of SOPs, overloads of branches in the distribution system occur. As shown in Fig. <ref type="figure">11</ref>, without the SOPs, the apparent power in a series of branches exceeds the limit in the cases when <ref type="bibr">Buses 12,</ref><ref type="bibr">21,</ref><ref type="bibr">29,</ref><ref type="bibr">45,</ref><ref type="bibr">50,</ref><ref type="bibr">61</ref> or 64 is compromised. Especially when the RCL at Bus 12 or 29 are compromised, the apparent power of the overloaded upstream branches is well above the limit. As a result, load shedding will be inevitable in these cases.</p><p>In contrast, the cases with the proposed SOP operation model under the LAAs are shown in Fig. <ref type="figure">12</ref>. The installation  decisions and capacities of the SOPs in the network are determined according to the proposed DRCC optimization model. The results of the test show that with proper operation of the SOPs in the distribution system, the overloads of the branches under LAAs in the test is eliminated. The apparent power of all the branches in the network is constrained within the limit under the LAAs with the proposed SOP installation and operation strategies.  Tables IV and V show the operation of the SOPs with the operation model to mitigate the impacts of LAAs when the RCL at Buses 12 and 29 are compromised, respectively. The power injection and losses of the SOPs with the operation model are listed in the tables.   Tables VI and VII show the operation of the SOPs with the operation model to mitigate the impacts of LAAs when the RCL at Buses 61 and 64 are compromised, respectively. The power injection and losses of the SOPs with the operation model are listed in the tables.</p><p>In order to further demonstrate the benefits of the SOP installation in mitigating the impacts of LAAs, the distribution system reconfiguration method <ref type="bibr">[42]</ref> is also applied in the LAA scenarios. Four additional loop paths on the same connection nodes of the SOP candidates are assumed in the scenarios. The loop paths are assumed to be equipped with and normally open circuit breakers. In the cases when Bus 37, 40, 54 or 45 is compromised by the LAAs, the reconfiguration method manages to maintain the normal operation of the distribution  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F. Case Study on 141-Bus Test System</head><p>In order to further validate the proposed DRCC based SOP installation and operation model in mitigating potential LAAs, an additional case study on the 141-bus radial test system from the MATPOWER package <ref type="bibr">[37]</ref> was also performed. The EV demand data is obtained in the same way as the cases on the 69-bus system. The number of charging poles at the buses in the test system is listed in Table <ref type="table">VIII</ref>. Four potential SOP installations are considered in the test, which are supposed to be connected between Buses 59 and 105, 32 and 52, 23 and 130, 95 and 125, respectively.The key parameters in the test are the same as the values listed in the II. The SOP installation strategy in the test is shown in IX. With the installed SOPs in the network, an out-of-sample test was conducted to validate the SOP installation and sizing solutions. The result of the out-of-sample test is shown in   </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G. Discussion</head><p>As shown in the case studies, the installed SOPs can provide voltage support to the network against the LAAs. In <ref type="bibr">[43]</ref>, a robust control principle for the Volt-Var and Volt-Watt control for smart inverters in radial grid in proposed. The results in <ref type="bibr">[43]</ref> show the proposed control policy in <ref type="bibr">[43]</ref> can successfully provide voltage support to the network and keep the stability. However, the research in <ref type="bibr">[43]</ref> only focuses on the voltage problem in the grid while the network congestion is not addressed by the method, which is one of the major problems caused by LAAs. Meanwhile, the active power scheduling of the inverters in <ref type="bibr">[43]</ref> is based on and limited by the DGs, e.g., PV. However, DG may not be available or installed for all the distribution systems, and therefore it is not in the scope of this paper. Nevertheless, an optimal coordinated control of the DG inverters and SOPs in the distribution systems with DG installation will be highly beneficial to the robustness and resilience enhancement of the grid. It is a meaningful problem which requires serious study and investigation which will be carried out in future work.</p><p>In this paper, the Wasserstein distance is applied to construct the ambiguity set and provide robustness to the solution of the chance-constrained model. As shown in the results of the case studies, the proposed Wasserstein distance based DRCC model demonstrates satisfying robustness and performance compared with the generic CC model. The results of the outof-sample tests with real-world data show that the confidence level requirement is not guaranteed by the generic CC model with ambiguity of the distribution. In contrast, the proposed 1949-3053 (c) 2021 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See <ref type="url">http://www.ieee.org/publications_standards/publications/rights/index.html</ref> for more information. This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TSG.2021.3134176, IEEE Transactions on Smart Grid</p><p>Wasserstein distance based DRCC model can well maintain the confidence level required in the case studies. Generally, Wasserstein metric based model is believed to have strong outof-sample performance which has been demonstrated in the case studies. However, there are also other popular alternative methods to construct the ambiguity set for the distributionally robust optimization models, e.g., moment based and divergence based methods. In the proposed model in this paper, the moment based method will lead to a non-convex model and increase the difficulty of reaching the solution. A preliminary study has been conducted on the proposed model using the divergence based method with &#967; divergence of order 2. The result shows the divergence based method can also provide robustness of the solution against the ambiguity of distribution. However, more serious study and analysis are needed for the application of the divergence base methods, which will be done in future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. CONCLUSIONS</head><p>This paper presents a two-stage optimization framework to mitigate the impacts of the LAAs on the distribution systems by implementing the emerging back-to-back SOPs. The proposed framework includes the optimal installation and operation strategies of the SOPs for defending the distribution systems against potential LAAs. A chance-constrained optimization model is developed to meet the confidence level requirement of the system in adequately mitigating the impacts of the LAAs. In order to ensure the robustness of the proposed model against the ambiguity of the probability distribution in practice, a Wasserstein metric based DRCC model is developed. The results of the case studies demonstrate the performance of the proposed framework. With the installation of SOPs, the proposed framework is able to mitigate the impacts of the LAAs on the distribution system. By applying the DRCC optimization technique, the proposed Wasserstein distance based model manages to satisfy the confidence level requirement under the ambiguous probability distributions. The results also show the satisfying out-of-sample performance of the proposed Wasserstein distance based DRCC model.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Authorized licensed use limited to: UNIV OF WISCONSIN -MILWAUKEE. Downloaded on December 10,2021 at 22:14:13 UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
