Full text
Heliyon 7 (2021) e08609 Contents lists available at ScienceDirect Heliyon journal homepage: www.cell.com/heliyon Research article Resource management with kernel-based approaches for grid-connected solar photovoltaic systems V.S. Bharath Kurukurua, Ahteshamul Haquea, Mohammed Ali Khanb, Frede Blaabjergc,∗ aAdvance Power Electronics Research Lab, Department of Electrical Engineering, Jamia Millia Islamia, New Delhi, India bDepartment of Electrical Power Engineering, Faculty of Electrical Engineering and Communication, Brno University of Technology, Brno, Czech Republic cDepartment of Energy, Aalborg University, Denmark A R T I C L E I N F O A B S T R A C T Dataset link: http://sites .ieee .org /pes - testfeeders /files /2017 /08 /feeder123 .zip Keywords: Photovoltaic power Smart inverters Reactive power control Kernels Power loss Voltage regulation The increasing penetration of photovoltaic (PV) power generation into the distribution grids has resulted in frequent reverse active power flows, rapid fluctuations in voltage magnitudes, and power loss. To overcome these challenges, this paper identifies the resource management of grid-connected PV systems with active and reactive power injection capabilities using smart inverters. This approach is aimed to minimize the voltage deviations and power losses in the grid-connected systems to accommodate the high penetration of PV systems. A kernelbased approach is proposed to learn policies and evaluate the reactive power injections with smart inverters for improving grid profile, minimizing power losses, and maintaining safe operating voltage limits. The proposed approach performs inverter coordination through nonlinear control policies using anticipated scenarios for load and generation. To assess the performance of the proposed approach, numerical simulations are performed with a single-phase grid-connected PV system connected to an IEEE bus system. The results show the effectiveness of the proposed approach in minimizing power losses and achieving a good voltage regulation. 1. Introduction Photovoltaics (PV) is considered as a logical solution to handle the drawbacks in conventional generation resources due to their local availability, falling prices, and sustainability. Nevertheless, the increasing share of renewable energy sources in the network is causing serious problems for the grid, such as reverse power flow, voltage fluctuation, etc. [1]. Moreover, these problems are caused due to the remote injection of renewable energy have strained the apparent power capabilities of substation transformers [2]. Besides, the fluctuations observed at the residential PV generations bring up the issue of uncertainty in generation depending mostly on climate and geographical location of the system. This has resulted in a highly dynamic and unpredictable real power generation. Thus, to avoid these fluctuations and have a stable grid operation, voltage regulation is required. Traditionally, voltage regulation is carried out using different techniques like on-load tap changing (OLTC) in substation transformers, switching of capacitor banks, and step voltage regulators. In [3], [4], the issue of reactive power-sharing is solved via consensus-based distributed voltage control. Here, the developed voltage controller is com- *Corresponding author. E-mail address: [email protected] (F. Blaabjerg). bined with a conventional droop-based control technique for eliminating the line impedance mismatch. In [5], [6], a coordinated control strategy is proposed for reactive power injection with a grid integrated distributed generation (DG) system. This approach coordinates the DGs and controllable devices by constraining system variables under a prescribed operating condition. It is identified that these techniques critically challenge the reactive power control due to the increasing uncertainty in real power generation. Therefore, to alleviate these problems, the use of smart inverter technology with DG systems is widely adopted. Traditionally, PV systems are interfaced with inverters primarily for MPPT and DC-AC conversion, and for achieving grid integration to form a DG system. In the present day scenario, these inverters are upgraded by interfacing them with advanced communication, metering, and control functionalities [7]. These inverters provide smart multi-unit control by regulating the real power limit, achieving ramp rate for real power limit, controlling reactive power output or power factor (PF), ridethrough capability for specific grid disturbances, bi-directional power flow capability, and alternatives to conventional transfer trip schemes [7]. The use of smart inverters for reactive power control provides a fast https://doi.org/10.1016/j.heliyon.2021.e08609 Received 27 April 2021; Received in revised form 28 October 2021; Accepted 13 December 2021 2405-8440/©2021 The Author(s). Published by Elsevier Ltd. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 responding solution for various grid objectives such as power loss minimization and voltage regulation [2]. In [8], a method to compensate voltage imbalance is performed by injecting active and reactive power control through the power conditioning system of inverters. Moreover, in [9, 10, 11, 12, 13], the coordinated control schemes are proposed for conserving voltage reduction in a smart inverter. The techniques coordinated the operations of automated volt-VAR controllers and aggregated the reactive power control. Further, with the increasing penetration level of PV power into the grid more sophisticated rules for interconnection are emerging too. Intelligent solutions to the problems present in the grid harnessing the inverter control capabilities will be the key for successful implementation of large-scale PV generation in the distribution grid [14]. In [15], a hierarchical coordinated volt-VAR optimization methodology is proposed. The issue related to multiple objectives has been addressed by implementing a fuzzy decision-making method and an 𝜀-constraint method. These intelligent solutions incorporate a large range of control functions into newer PV inverter designs, which enhances the operation of the distribution grid [7]. Moreover, according to the amended IEEE 1547 standard [16], inverters are allowed to operate at non-unit PF, giving them the freedom to improve the grid voltage profile [17]. Besides, with the increasing number of inverters in the grid, it must be noted that the coordination of each inverter needs to be considered to achieve grid stability. Generally, the PV generation and instantaneous loads from any node in a typical distribution grid setup are communicated to a central utility controller [18]. This controller computes the reactive power injection set-points and communicates them to the inverters at different nodes to minimize the ohmic losses subject to voltage regulation constraints. At this instance, the utility controller has the task of identifying the optimal set-points for achieving reactive power injection for the inverters. This can be defined as an optimal power flow task, which is generally non-convex. In radial networks, this operation can be eased into a second-order cone program through polar coordinates [19], where the problem of power loss and voltage deviation minimization is solved. To alleviate the complexity of the involved optimization problems, approximate grid models have been employed in [20, 21, 22]. The reactive power control problem can be solved using centralized, decentralized, or local techniques [23, 24]. The centralized approaches need a good communication setup as global information is needed for control actions [25, 26], whereas, the decentralized methods require local or neighboring inputs for evaluating the control settings of single and unbalanced multiphase grids [27, 28]. The purely localized schemes provide reactive power support using only local measurements [29, 30]. Moreover, it is identified that the centralized schemes incur high computational complexity due to the communication of large datasets between the controller and each inverter [31]. Besides, the decentralized schemes exchange multiple communications among inverters [32, 33], and the local schemes have no guaranteed performance as the control setpoints depend only on the local inputs. This makes the system very unreliable for disturbances from other nodes. [34]. In [35, 36], the combination of central and local active/reactive power control was adapted for voltage regulation in DG systems. As seen from the prior works, most of the existing approaches either solve problems locally or centrally or through a combination of both while considering a linear decision rule on the input parameters. Besides, the control of smart inverters in the literature did not learn the input/output pairs of the inverter independently for achieving optimal power flow. Instead, they combined as a multifunction learning task by linearly relating to the optimal power flow problem. This formulation failed to yield a sparse control because of the voltage deviation at the inverter outputs. The significance of sparse control is to jointly learn the inverter rules by posing the optimal power flow problem as a multi-function learning task. This is considered as a resourceful representation of inverter control development as it saves the requirement for communication elements. In light of these issues, this paper proposes a mapping of reactive power control approaches as linear or nonlinear policies concerning their input features. It is identified that the linear policies are restricted to capturing linear relations between the features and dependent variables, and very often can only capture second-order statistical relations. Such limitations call for extensions to nonlinear and higher-order algorithms. This is achieved by adapting kernel-based learning for modelling the reactive power control policies. The major contributions of this paper are: ∙A decentralized approach is developed for evaluating the reactive power control policies for a voltage regulation constrained problem. ∙The inverter coordination is performed through nonlinear control policies designed on a slower timescale using anticipated scenarios for load and generation. ∙A kernel-based learning algorithm is utilized to evaluate the control policies on the basis of input scenario data. ∙The kernel-based policies are modeled as a nonlinear function of input feature vector making it practically feasible for achieving the performance and complexity trade-off. The remaining sections of the paper are organized as follows: Section 2discusses the grid modeling to evaluate the reactive power dispatch in a radial network. Section 3discusses various problems with the existing control models and identifies the shortcomings of different methods. The proposed kernel-based policies for reactive power control are discussed in section 4and the numerical simulations are developed in section 5. The research is finally concluded in section 6. 2. Grid modelling The grid-connected system is modeled by considering a radial singlephase grid with 𝑁+1 buses (indexed by 𝑛 =1, … , 𝑁+1), and 𝑀 branches. Generally, for a radial system with several branches 𝑀=𝑁, every bus 𝑛 =1, … , 𝑁is connected to a unique parent bus 𝜋𝑛via distribution line shown in Fig. 1. Here, an approximated linearized distribution flow (LDF) model is used to evaluate the reactive power dispatch of the inverters. The grid is modeled by the branch flow equations given as [37] 𝑠𝑛=∑ 𝑘∈𝐶𝑛 𝑆𝑘−𝑆𝑛+𝑙𝑛(𝑟𝑛+𝑗𝑥𝑛)(1) 𝑣𝑛=𝑣𝜋𝑛−2Re[(𝑟𝑛−𝑗𝑥𝑛)𝑆𝑛]+𝑙𝑛(𝑟2 𝑛+𝑥2 𝑛)(2) |||𝑆2 𝑛|||=𝑣𝜋𝑛𝑙𝑛(3) where for every line 𝑛the line impedance is 𝑧𝑛=𝑟𝑛+𝑗𝑥𝑛, 𝑙𝑛is the square of current magnitude in line 𝑛, 𝑆𝑛=𝑃𝑛+𝑗𝑄𝑛is the complex power flow from the sending bus 𝜋𝑛to bus 𝑛, 𝑠𝑛=𝑝𝑛+𝑗𝑞𝑛is the complex power injection at bus 𝑛, 𝑣𝑛is the squared voltage magnitude at bus 𝑛, 𝐶𝑛is the set of children buses for 𝑛, and the initial condition 𝑠0=∑𝑘∈𝐶0𝑆𝑘. For all nodes 𝑛 =1, … , 𝑁the real power injection is collected as a vector in p ∶= [𝑝1,…,𝑝 𝑁]T, and the reactive power injection in q ∶= [𝑞1,…,𝑞 𝑁]T, where these injections can be written as p=p 𝑔−p 𝑐(4) q=q 𝑔−q 𝑐(5) where p𝑔is the active power generation and the DG side, p𝑐is the inelastic load power, and q𝑔and q𝑐are the reactive power injections at inverter, and load, respectively. Moreover, the complex nodel injections are given by 𝑠 =𝑝 +𝑗𝑞, and the squared voltage magnitudes are stacked as 𝑣 ∶= [𝑣1,…,𝑣 𝑁]T. Besides, all lines have resistance, reactance collected together as r∶= [𝑟1,…,𝑟 𝑁]T, and 𝑥 ∶= [𝑥1,…,𝑥 𝑁]T, respectively. The real and reactive line flows are defined as P ∶= [𝑃1,…,𝑃 𝑁]T, and Q ∶= [𝑄1,…,𝑄 𝑁]T, respectively, and the complex power flows are given as S =P +𝑗Q. From (3) it is known that there exists a nonlinearity that complicates the 2
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 Fig. 1. Distribution line 𝑙𝑛from parent bus 𝜋𝑛to bus 𝑛. power flow equations for the distribution line. Hence, to overcome this, the distribution grid is often remodeled as a linear model using the linear driving force (LDF) model [37]. As the line resistance, and reactance are small and their multiplication with squared current magnitude is less for evaluating the power flow equations at a flat voltage profile, the last summands in (1) and (2) can be dropped to formulate them as a linearized model. The grid connectivity is captured in the branch-bus injection matrix 𝐴. 𝐴∈{0,±1}𝑀×(𝑁+1) and can be partitioned as 𝐴=[𝑎0𝐴]. This reduces the branch-bus injection matrix to 𝐴. 𝐴, which is an invertible square matrix 𝐹∶= 𝐴−1. Here, A follows 𝑎0+A 1=0.(6) Using this connectivity matrix, the LDF can be rewritten as 𝑠=A TS(7) Av = 2 Re [𝑑𝑔(𝑟−𝑗𝑋)𝑆]−𝑎0𝑣0(8) where 𝑣0is the squared voltage magnitude at the substation. Using (6) 𝑆can be eliminated from (7) and (8) giving the squared bus voltage magnitude for all buses 𝑛 =1, … , 𝑁as [38] v ≃ 2Rp + 2Xq + 𝑣01𝑁(9) where R∶=F Tdg(r)F (10) X∶=F Tdg(x)F (11) Since F ≥0, the matrices R, Xare also R ≥0, X ≥0. Moreover, by the properties of the matrices, it can be easily seen that Rand Xare symmetric positive definite with positive entries. Hence, bus voltages for all the buses in the grid are seen to increase if real or reactive power injections increase in the grid. Since losses have been ignored in (3), the squared voltage magnitudes are an overestimate concerning its original squared voltage magnitudes (9) with the bias depending on 𝑙′ 𝑛𝑠. But still, according to the numerical tests, the approximation errors in voltage magnitudes are seen to be less than 0.001 𝑝.𝑢. 3. Problem formulation Generally, the active and reactive power injections 𝑝, 𝑞can be decomposed into generation and inelastic load components as shown in (4) and (5). For known PV generation 𝑝𝑔 𝑛and to comply with its apparent power limit 𝑠𝑔 𝑛, the reactive power injected by inverter 𝑛is constrained through linear inequalities as ||𝑞𝑔 𝑛||≤𝑞𝑔 𝑛∶= √(𝑠𝑔 𝑛)2−(𝑝𝑔 𝑛)2.(12) Moreover, to cater to the voltage regulation in IEEE 1547 [16], a linear set of inequalities can be added. v≤v≤v(13) where v, vare set according to the regulation guidelines and are usually taken as ±(3% −5%)about the nominal value [16]. To evaluate voltage deviations at each bus in the grid, let the sum of squared voltage magnitude deviations ∑𝑁 𝑛=1 (𝑣𝑛−𝑣0)2. Using the approximation in (9), and by ignoring the inconsequential scaling factor, the squared voltage deviations are Δ𝑠(q𝑔)∶= ‖‖‖Rp+X q‖‖‖ 2 2.(14) Besides voltage deviation, the ohmic power losses are another critical quantity in the distribution grid operation. The active power losses can be expressed as 𝐿 =∑𝑁 𝑛=1 𝑟𝑛𝑙𝑛or ∑𝑁 𝑛=1 𝑟𝑛 𝑃2 𝑛+𝑄2 𝑛 𝑣𝜋𝑛 . For small voltage deviations, as advocated in [2], the power losses (𝐿)can be approximated as 𝐿=𝑣−1 0[PTdg (r)P+Q Tdg(r)Q] (15) Using (10) and ignoring the inconsequential scaling by 𝑣−1 0≃1, the power losses can be expressed as 𝐿=p TRp + qTRq (16) Since pTRp is a constant for a given set of data, the control variable qin the second summand in (16) is the function of interest. The power loss function can be expressed as 3
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 𝐿(q𝑔)∶= qTRq.(17) For a positive definite matrix R, the positive convex quadratic function of 𝐿(q𝑔)is guaranteed. The objectives of voltage deviations Δ𝑠(q𝑔)and power loss 𝐿(q𝑔)are contradicting in general. Thus, a multi-objective problem can be solved to cater to these contradictions. A convex combination of the objectives can be posed to formulate the reactive control optimization problem given as min q𝑔𝜆Δ𝑠(q𝑔)+(1−𝜆)𝐿(q𝑔)s.t.q∈(18) where the set ⊆ℝ𝑁captures the linear constraints in (12) for all 𝑛 ∈ . The voltage deviations and the ohmic losses are minimized by this formulation for different values of the parameter 𝜆 ∈[0,1], related to the apparent power limit. It should be noted that in the above expression no voltage regulation limits apply, but the voltage deviation is minimized as a function of cost. To apply the voltage regulation limit, the problem can also be formulated as min q𝑔𝐿(q𝑔)s.to q ∈ ,v∈(19) where the set ⊆ℝ𝑁captures the linear constraints in (13) for all 𝑛 ∈ . Therefore, in this formula, the ohmic losses are kept to a minimum with respect to the apparent power limit and the voltage regulation limit. 4. Methodology 4.1. Control policies To minimize net power loss and voltage drop of the network, the model should estimate the reactive power injected into each node. This injection depends on the size, layout, network topology and configuration of the inverter. In this study, the injection of reactive power 𝑞𝑔 𝑛by inverter 𝑛can be modeled as, 𝑞𝑔 𝑛(𝓏𝒾𝑛)=𝑓𝑛(𝓏𝑛)+𝑏𝑛(20) where the inputs 𝓏𝒾𝑛, 𝑓𝑛, and 𝑏𝑛correspond to the controller input vector, controller function, and intercept, respectively. Controller inputs: Vector 𝓏𝒾𝑛∈𝐼𝑛⊆ℝ𝑀𝑛is given as an input to the inverter to evaluate the reactive power injection at node 𝑛. This purely depends on its local values (𝓏𝒾𝑛∶= [𝑝𝑔 𝑛−𝑝𝑐 𝑛𝑞𝑔 𝑛𝑞𝑐 𝑛]Twhere 𝑞𝑔 𝑛∶= √(𝑠𝑔 𝑛)2−(𝑝𝑔 𝑛)2) or have few nonlocal or neighboring inputs like real power flow, squared magnitude. The entry of the local input 𝓏𝒾𝑛is arranged in the following order: the active power input at node 𝑛, the maximum possible input of reactive power at node 𝑛, and the reactive load at this node. In addition, 𝓏𝒾𝑛may be changed to comply with the management policy. This can be done by adding some important global inputs to the 𝓏𝒾𝑛vector. It has been found in the literature that adding the square of the voltage value 𝑣𝑛to 𝓏𝒾𝑛will make it difficult to analyze the stability of the resulting closed-loop control, even if 𝑓𝑛is linear [38, 39]. Since these inputs are available locally, there is a minimum burden on communication channels and the evaluation is quick. Ideally, if there are abundant communication resources, the uncertain quantities from all buses {𝑞𝑔 𝑛,𝑝 𝑐 𝑛−𝑝𝑔 𝑛,𝑞𝑐 𝑛}𝑛∈could be forwarded to all inverters. So, in this case the control input to 𝓏𝒾𝑛is equal to and greater than all inverters in the grid. Also, the input variables are very flexible and can vary depending on the available network bandwidth. Non-local and common control inputs can be added to the input vector 𝓏𝒾𝑛to study the results for the common local and global inputs of the inverter. This gives 𝓏𝒾𝑛∶= [𝑝𝑔 𝑛−𝑝𝑐 𝑛𝑞𝑔 𝑛𝑞𝑐 𝑛𝑃𝑖𝑃𝑗𝑃𝑘]T, where 𝑖, 𝑗, and 𝑘represent the line numbers, and 𝑃𝑖is the real power flow on line 𝑖. These lines are selected on the bases of the topology of each network and these inputs will be identical to each inverter. Controller function: The next step includes the control function policy 𝑓𝑛. Control functions can be evaluated as linear or non-linear policies as defined below. Using kernel-based learning theory, the reactive power control of the inverter 𝑛is assumed to be in the Reproducing kernel Hilbert space (RKHS) [40]. 𝜅𝑛∶= {𝑓𝑛(𝓏𝒾𝑛)= ∞ ∑ 𝑡=1 𝐾𝑛(𝓏𝒾𝑛,𝓏𝒾𝑛,𝑡)𝑎𝑛,𝑡,𝑎 𝑛,𝑡∈ℝ}(21) that is uniquely determined by the kernel function 𝐾𝑛∶𝐼𝑛×𝐼𝑛→ℝ. The linear policies can be implemented by evaluating a linear kernel 𝐾𝑛(𝓏𝒾𝑛,𝑡,𝓏𝒾𝑛,𝑡′)=𝓏𝒾T 𝑛,𝑡𝓏𝒾𝑛,𝑡′and the nonlinear policies can be designed by selecting a polynomial kernel 𝐾𝑛(𝓏𝒾𝑛,𝑡,𝓏𝒾𝑛,𝑡′)=(𝓏𝒾T 𝑛,𝑡𝓏𝒾𝑛,𝑡′+𝛾)𝛽, or a Gaussian kernel 𝐾𝑛(𝓏𝒾𝑛,𝑡,𝓏𝒾𝑛,𝑡′)=exp(−‖‖𝓏𝒾𝑛,𝑡 −𝓏𝒾𝑛,𝑡′‖‖2 2∕𝛾)with design parameters 𝛽and 𝛾>0, or by a linear combination of linear, polynomial, and gaussian kernels. Intercept: The control function also needs to evaluate an intercept value 𝑏𝑛∈ℝin (20). Although it could be incorporated into 𝑓𝑛by augmenting 𝓏𝒾𝑛with a constant entry of 1, it is usually kept separate to avoid its penalization through ‖𝑓‖𝜅𝑛. 4.2. Learning policies from scenarios The proposed approach deals with multiple generation units with multiple inverters that communicate with each other and communicate with the operator. In general, the process of data communication between different inverters establishes 𝑁inverter utility communication links and requires another 𝑁utility inverter communication links to communicate with the operator. This leads to traffic both between the operator and the inverter. To overcome this, operators can use a scenario sample approach. Instead of assessing the problem over a long period of time, the operator can decide to output the settings less frequently, for example every 10 minutes. After the control function and input vector are completed, the reactive power control policy (20) should be evaluated between the input data settings. Here, the 𝑛𝑡ℎ entry of q𝑔for any given scenario 𝑡can be replaced with the policy 𝑞𝑔 𝑛(𝓏𝒾𝑛,𝑡 )=𝑓𝑛(𝓏𝒾𝑛,𝑡 )+𝑏𝑛from (20). Thus, the algorithm evaluates the optimal function, and the intercept pair { 𝑓𝑛, 𝑏𝑛}𝑁 𝑛=1, which can be found via the functional minimization as min 𝑇 ∑ 𝑡=1 𝐶(y𝑡,{𝑓𝑛(𝓏𝒾𝑛,𝑡)}𝑛,b)+𝜇𝑃 ({‖‖𝑓𝑛‖‖𝜅𝑛}) (22) over {𝑓𝑛∈𝜅𝑛}𝑁 𝑛=1 ,b(23) s.to |||𝑓𝑛(𝓏𝒾𝑛,𝑡)+𝑏𝑛|||≤𝑞𝑔 𝑛,𝑡,∀𝑛, 𝑡 (24) 𝑣𝑛,𝑡 ≤𝑟𝑛(𝑝𝑔 𝑛,𝑡 −𝑝𝑐 𝑛,𝑡)+𝑥𝑛(𝑓𝑛(𝓏𝒾𝑛,𝑡)+𝑏𝑛−𝑞𝑐 𝑛,𝑡)≤𝑣𝑛,𝑡,∀𝑛, 𝑡 (25) where b ∶= [𝑏1,…,𝑏 𝑁]T, constraint (24) represents the apparent power constraint, and (25) represents the voltage regulation constraint. The regularizer 𝑃({‖‖𝑓𝑛‖‖𝜅𝑛})has been added in (22) to avoid overfitting of control policies to scenario data. The usual machine learning regression settings analyze the dependencies between feature data and target data and evaluate the closest fit. In this formulation, the network variables supplied to each controller serve as characteristic data and the reactive injection serves as the set value. Ideally, the designed function should work well with functional target pairs not found during the training or adaptation process. In a direct analogy, the control concept of an inverter is presented as a general task of adapting functions based on scenario data. Once you have designed features (policies), you can apply them to hidden feature data. The apparent power limit (24) applies to the training data, but the guidelines obtained by (22) (25) impose an apparent power limit of 𝓏𝒾𝑛,𝑡′’s with 𝑡′∉{1,…,𝑇 }because the policy was trained only on the 4
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 data up to scenario 𝑇where the limit is active. This limitation of kernelbased learning also occurs in scenario-based and random designs [41]. To overcome this limitation the reactive power evaluated at 𝑡′scenario for node 𝑛can be heuristically projected within [−𝑞−𝑔 𝑛,𝑡′,+𝑞−𝑔 𝑛,𝑡′]as [𝑞𝑔 𝑛(𝓏𝒾𝑛,𝑡′)]𝑞𝑔 𝑛,𝑡′ ∶= max {min {𝑞𝑔 𝑛(𝓏𝒾𝑛,𝑡′),𝑞𝑔 𝑛,𝑡′},−𝑞𝑔 𝑛,𝑡′}(26) Here, the optimal policies (functions) are evaluated individually for each inverter 𝑛. Therefore, the inverter policies are linked via the loss parameter 𝐿, since voltage deviation and power loss are affected by each feeder supplying reactive power. Similar multifunctional settings can be found in collaborative filtering or multitasking learning [42, 43]. In this study, a regularizer that can be divided into all inverters as shown in (27) [44] is adopted. 𝑃({‖‖𝑓𝑛‖‖𝜅𝑛}𝑁 𝑛=1)= 𝑁 ∑ 𝑛=1 ‖‖𝑓𝑛‖‖2𝜅𝑛(27) The well-known Representer Theorem [45] can be applied successively over 𝑛in (22)–(25). This ensures that 𝑓𝑛(𝓏𝒾𝑛)= T ∑ 𝑡=1 𝐾𝑛(𝓏𝒾𝑛,𝓏𝒾𝑛,𝑡)𝑎𝑛,𝑡 (28) still holds for all 𝑛. Thus, after the optimal policies are evaluated, the coefficients {𝑎𝑛,𝑡}𝑛,𝑡, the control policies { 𝑓𝑛}can be evaluated at any other point. As seen earlier, the inverter policy 𝑓𝑛over the test data {𝓏𝒾𝑛,𝑡}𝑇 𝑡=1 can be examined as f𝑛=K 𝑛 a𝑛,∀𝑛(29) where [K𝑛]𝑡,𝑡′=𝐾𝑛(𝓏𝒾𝑛,𝑡, 𝓏𝒾𝑛,𝑡′)for 𝑡, 𝑡′∈{1, … , 𝑇}, and a𝑛∶= [ 𝑎𝑛,1, … , 𝑎𝑛,𝑇 ]T. Moreover, the regularizer term, the RKHS norms can be expressed as ‖‖𝑓𝑛‖‖2𝜅𝑛= aT 𝑛K𝑛 a𝑛,∀𝑛(30) 4.3. Optimal policy Voltage Drop and Power Loss Minimization: After evaluating the control policy, it is necessary to evaluate the optimal ability to minimize voltage drop and power loss in the network. Thus, the problem of minimizing the ohmic loss in (27) and the regularizer (22) can be expressed as a linear bounded quadratic program. Lemma 1. If the data-fitting term in (22) is selected as 𝐶(y𝑡,{𝑓𝑛(𝓏𝒾𝑛,𝑡)}𝑛,b)=‖‖Cq𝑔 𝑡+y 𝑡‖‖2 2,𝑡=1,…,𝑇 (31) and the regularizing term as 𝑃({‖‖𝑓𝑛‖‖𝜅𝑛})= 𝑁 ∑ 𝑛=1 ‖‖𝑓𝑛‖‖2𝜅𝑛(32) the functional optimization in (22)–(25) can be transformed into the vector minimization min 1 𝑇(‖CQ + Y‖2 𝐹+𝜇 𝑁 ∑ 𝑛=1 aT 𝑛K𝑛a𝑛)(33) over Q ∈ ℝ𝑁×𝑇,{a𝑛∈ℝ𝑇}𝑁 𝑛=1 ,b∈ℝ𝑁(34) 𝑠.𝑡𝑜 QT=[K1a1+𝑏11,…,K𝑁a𝑁+𝑏𝑁1](35) −q𝑔 𝑛≤K𝑛a𝑛+𝑏𝑛1≤q𝑔 𝑛,∀𝑛(36) where Y ∶= [y1, … , yT]and the entries of the vector q𝑔 𝑛∶= [𝑞𝑔 𝑛,1, … , 𝑞𝑔 𝑛,𝑇 ]T have been defined in (12). Proof of Lemma 1.Based on (20), and (29), the reactive power injection of inverter 𝑛for scenarios 𝑡 =1, … , 𝑇can be expressed by the vector K𝑁a𝑁+𝑏𝑁1. Then, the apparent power constraint for inverter 𝑛and across all scenarios can be expressed as given in (36). Considering the first summand in (33) and based on the equality in (35), the 𝑡𝑡ℎ column of Qdenoted by q𝑔 𝑡contains the reactive injections from all inverters for scenario 𝑡. The squared Frobenius norm of a matrix equals the sum of the squared 𝑙2-norms of its columns, which follows ∑𝑇 𝑡=1 ‖‖Cq𝑔 𝑡+y 𝑡‖‖2 2=‖CQ + Y‖2 𝐹. Moreover, the second summand in (33) follows directly from (30). □ Power Loss Minimization under Voltage Constraints: The network implements a model to minimize power loss, taking into account the limitations of overall power and voltage regulation. This model focuses on keeping the voltage within specified limits. Therefore, after evaluating the control policy, the optimal function for minimizing the power loss associated with the constraint as described above is estimated. This problem can also be expressed in linear bounded quadratic programming. Lemma 2. If the data-fitting term in (22) is selected to minimize losses given as 𝐶(y𝑡,{𝑓𝑛(𝓏𝒾𝑛,𝑡)}𝑛,b)=‖‖‖‖R1 2(q𝑔 𝑡−q 𝑐 𝑡)‖‖‖‖ 2 2 ,𝑡=1,…,𝑇 (37) and the regularizing term as 𝑃({‖‖𝑓𝑛‖‖𝜅𝑛})= 𝑁 ∑ 𝑛=1 ‖‖𝑓𝑛‖‖2𝜅𝑛(38) the functional optimization in (22) can be transformed into the vector minimization min 1 𝑇(‖‖‖‖R1 2(Q−Q 𝑐)‖‖‖‖ 2 𝐹 +𝜇 𝑁 ∑ 𝑛=1 aT 𝑛K𝑛a𝑛)(39) over Q ∈ ℝ𝑁×𝑇,{a𝑛∈ℝ𝑇}𝑁 𝑛=1 ,b∈ℝ𝑁(40) 𝑠.𝑡𝑜 QT=[K1a1+𝑏11,…,K𝑁a𝑁+𝑏𝑁1](41) −q𝑔 𝑛≤K𝑛a𝑛+𝑏𝑛1≤q𝑔 𝑛,∀𝑛(42) V=R(P𝑔−P 𝑐)+X(Q−Q 𝑐)+𝑣01𝑁×𝑇(43) v𝑡≤v𝑡≤v𝑡,∀𝑡(44) where real and reactive power consumption vectors are stacked as columns of the 𝑁×𝑇matrix P𝑐∶= [p𝑐 1,…,p𝑐 𝑇], and Q𝑐∶= [q𝑐 1,…,q𝑐 𝑇], respectively. The voltage at each bus are stacked as columns of the 𝑁×𝑇matrix 𝑉∶= [v1,…,v𝑇]. Similarly, real power generation is P𝑔∶= [p𝑔 1,…,p𝑔 𝑇]and the entries of the vector v𝑡∶= [v1,…,v𝑁]T, v𝑡∶= [v1,…,v𝑁]T, q𝑔 𝑛∶= [q𝑔 𝑛,1,…,q𝑔 𝑛,𝑇 ]Twhere the limits for voltage regulation are defined in (13), the reactive power has been defined in (12). Proof of Lemma 2.Based on (20) and (29), the reactive power injection of inverter 𝑛for scenarios 𝑡 =1, … , 𝑇can be expressed by the vector K𝑛a𝑛+𝑏𝑛1. Then the limit of the apparent power for inverter 𝑛and all scenarios can be expressed as (42). In the LDF equation of (9), the voltage limit is expressed as (43). A linear limit is added for all 𝑁buses in all scenarios given in (44) to keep the voltage within certain limits. Considering the first term in (39) and based on the equation in (41), the 𝑡𝑡ℎ column of Qas q𝑔 𝑡contains the reactive injection from all inverters for scenario 𝑡. The square of the Frobenius norm of a matrix is equal to the sum of the squares of the 𝑙2-norm of the column which follows ∑𝑇 𝑡‖‖‖‖R1 2(q𝑔 𝑡−q 𝑐 𝑡)‖‖‖‖ 2 2 =‖‖‖‖R1 2(Q−Q 𝑐)‖‖‖‖ 2 𝐹 . Moreover, the second summand in (39) follows directly from (30). The total cost is normalized by T. □ 5
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 Fig. 2. The proposed reactive power control methodology of a grid system with PVs. 4.4. Implementing reactive control policies After setting up the type of policy and regularizer for the problem, the reactive power control policies follow four steps. In the first step, the scenario data {𝓍𝑡}𝑇 𝑡=1 is created by the operator for all the scenarios from 𝑡 =1, … , 𝑇. In the second step, the operator solves (33). In the third step, each inverter 𝑛receives the optimal policy coefficients ( a𝑛, 𝑏𝑛) and training data {𝓏𝒾𝑛,𝑡}𝑇 𝑡=1 from the operator. For the final step, each inverter 𝑛collects the new z𝑛,𝑡′and applies its projected control policy over the next 𝜏mins. [𝑞𝑔 𝑛(𝓏𝒾𝑛,𝑡′)]𝑞𝑔 𝑛,𝑡′ =[𝑇 ∑ 𝑡=1 𝐾𝑛(𝓏𝒾𝑛,𝑡′,𝓏𝒾𝑛,𝑡)𝑎𝑛,𝑡 + 𝑏𝑛]𝑞𝑔 𝑛,𝑡′ (45) Fig. 2shows the proposed methodology divided into data collection, management rule development, and work steps. While developing control rules, operators collect input data from forecasts, feeder distortions and historical data. This data is collected and sorted as {𝓍𝑡}𝑇 𝑡=1. According to (33), the operator solves the problem of minimizing a quadratic plan as a linear constraint for policy studies. In the next step, the learned parameters ( a𝑛, 𝑏𝑛)and its training data {𝓏𝒾𝑛,𝑡}𝑇 𝑡=1 are sent to each inverter 𝑛. This step is repeated every 𝜏minutes depending on the needs of the power system and the availability of communication bandwidth. It is worth mentioning that if 𝓏𝒾𝑛,𝑡 ∈ℝ𝑀𝑛, the operator needs to send (𝑀𝑛+1 )𝑇+1 data to inverter 𝑛. Besides, the number of scenarios 𝑇 affects the amount of data being communicated to each inverter. As 𝑇increases, the bandwidth must be large to send data quickly. To do this, the inverter applies the acquired control policy to the parameters of the second stage. This recalls that all the learned parameters ( a𝑛, 𝑏𝑛) and {𝓏𝒾𝑛,𝑡}𝑇 𝑡=1 are already readily available to each inverter 𝑛, and the fourth step can be iterated as compared to 𝜏minutes of collecting data. Also, for pure local control input 𝓏𝒾𝑛, control policy can be applied without additional information. In contrast, if the control inputs are not common or local, then a real-time record of inputs 𝓏𝒾𝑛,𝑡 must be sent by the operator or origin before each inverter n. Also, broadcast protocols with broadband data can reduce communication overhead when input data is shared by inverters. 5. Numerical simulation 5.1. Simulation development The rules developed for the reactive control of inverters were tested using the recommended IEEE 123 bus test feeders [46, 47] shown in Fig. 3, converted to a single-phase network using the procedure described in [48]. The node test feeder repository can be obtained from [49]. A 12.35 kV base and a 100 kVA power base was used. Residential load (actual power consumption) and PV module production data were generated based on a Gaussian mixture model for given mean and variance. The average values of actual power generation and power consumption were averaged 𝑝𝑚𝑒𝑎𝑛 𝑔=2.5 kW, and 𝑝𝑚𝑒𝑎𝑛 𝑐=10.25 kW, respectively. The variance 𝜎was varied from (0 − 20)% in steps of 10%. The reactive load (the load with reactive power) was taken at a constant lagging power factor of 0.97. Analyzes were performed for 20%, 50%, and 100% PV penetration rates. Penetration rate is the ratio of solar powered buses to the total number of buses consuming energy. To compensate for reactive power, even in the presence of peak insolation, it was assumed that the inverter was made 10% larger to give a maximum power 𝑠𝑔 𝑛=1.1𝑝𝑔 𝑛for all 𝑛. The numerical analysis test involved five circuits. i) single power factor option where the inverter does not provide reactive power support; ii) the fixed Watt-VAR management rules detailed in [2]; iii) optimal reactive power setting [26, 50]; iv) the kernel-based approach of (33) and (39) to the linear kernel; and v) Gaussian kernel approaches to (33) and (39). Kernel-based rules were learned using the load and generation data observed in the most recent 𝑇=10 scenario, and the parameters 𝜇 and 𝛾were determined via 5-fold cross-validation [51]. Controller 𝑛 was tested for 𝑇′=20 different scenarios with only the local inputs (LI) 𝓏𝒾𝑛=[𝑞𝑔 𝑛𝑝𝑐 𝑛−𝑝𝑔 𝑛𝑞𝑐 𝑛]Tfor each 𝑛, with global inputs (GI) of power flows 𝓏𝒾𝑛=[𝑞𝑔 𝑛𝑝𝑐 𝑛−𝑝𝑔 𝑛𝑞𝑐 𝑛𝑃15 𝑃16 𝑃17 ]T, where lines 15, 16 and 17 were chosen as important lines dividing the grid into three separate branches at the first level. iii) A quadratic software operator partition solver was used to solve the v) method [52]. We initially estimated the cost 𝜆Δ𝑠(q𝑔)+(1−𝜆)𝐿(q𝑔)for 𝜆 =1to minimize the voltage deviation in the problem formula in (33). The results are then evaluated to minimize power loss and regulate the bus voltage. The cost 𝐿(q𝑔)is estimated according to the description of problem (39). 5.2. Tests for voltage drop minimization To establish the problem, as shown in section 4.3, the voltage drop was minimized for the apparent power constraint as (33). Each 𝑇=10 test scenario was optimized by evaluating the optimal policy and tested against 𝑇=20 scenarios. Evaluated control policies were compared to 5regimens. Circuit comparison and lack of response control are performed for Monte Carlo simulations. In this case, we extract the input vector 𝓏𝒾𝑛from the previously described set of Gaussian distributions and then estimate the reactive power input for each circuit. At each 6
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 Fig. 3. IEEE 123bus benchmark feeder [47]. Table 1. Reactive power control for voltage drop minimization. Network Local (%) Optimal (%) Linear Gaussian Penetration (%) Variance (%) Local Inputs (%) Global Inputs (%) Local Inputs (%) Global Inputs (%) 20 10 4.47 99.51 95.93 98.895.99 99.29 20 20 74.25 99.98 96.799.31 97.77 99.42 50 20 88.46 99.99 97.74 99.66 97.95 99.62 50 20 90.92 99.99 92.12 99.593.199.56 100 20 69.65 99.99 94.67 99.16 94.86 99.25 100 20 96.35 99.99 96.12 99.197.04 99.21 start, the percentage improvement for the lack of reactive power support is estimated (q𝑔=0). improvement in cost (i)=1 𝑇 𝑇 ∑ 𝑡=1 𝐶|q𝑔=0 −𝐶|scheme(𝑖) 𝐶|q𝑔=0 × 100% (46) where 𝐶|scheme(𝑖)=(‖‖‖Rp+X q‖‖‖2|scheme(𝑖))is the cost of the optimization, 𝑖 ∈{2,3,4,5}for each scheme as listed above. It should be noted that local control can perform much worse than a circuit without reactive support [2], which only evaluates reactive power control in terms of solar cell generation and local load. Therefore, to understand this condition, the reactive power control to minimize the voltage drop Δ𝑠(𝑞𝑔)𝜆 is set to 1, and the improvement rate for the insufficient reactive power support 𝑞𝑔is regarded as 0. These results are listed in Table 1. Table 1shows that the optimal control techniques outperform the other four methods. It evaluates the reactive power control to an optimal value with all inputs on all buses. This is true because optimal control works well as it solves the problem as a whole. The downside of this method is that the policy is slow and insecure with the communication overhead that requires high bandwidth to transmit data from every node to the substation at every moment. On the other hand, since local regulations estimate reactive power supply based on local input and take into account a constant 𝑥∕𝑟ratio for all lines, local regulations cannot control reactive control very accurately, resulting in very little improvement. Further, the proposed kernel policy provides a high percentage of improvement for both linear and non-linear policies. Also, the performance is very close to the optimal rule. As shown in Table 1, adding a global input (real power flow through lines 15, 16, and 17 in Fig. 3.) to the policy results in an estimated better reactive power delivery and a higher percentage improvement than using the local input alone. The voltage drop minimization test results are shown in Fig. 4, and 5. In the Fig. 4shows the values of the log scale ‖‖‖Rp+X q‖‖‖2for each scenario. In this figure, it can be seen that local control behaves similar to or worse than the no reactive control scheme, while the linear and nonlinear policies proposed in this study behave very closely to the optimal control method. When comparing the results in Fig. 4, and Fig. 5 it is identified that with the addition of the global input data to the policy, the proposed method works much better and approaches optimal control. Adding these global inputs can increase data transfer and cyber overhead, but the increase will be small if the number of added inputs remains small. Only three features were added to this analysis, and a significant improvement in policy effectiveness was observed. Therefore, adding multiple global inputs can significantly improve the effectiveness of kernel policies. It is worth noting that the behavior of linear and nonlinear policies is very similar. These results encouraged to evaluate the power loss minimization using voltage regulation constraints, where networks are expected to behave differently for linear and non-linear policies. 7
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 Fig. 4. Reactive power control without global inputs for each scheme at 20% penetration, and 10% variance. Fig. 5. Reactive power control with global inputs for each scheme at 20% penetration, and 10% variance. 5.3. Tests for power loss minimization under voltage constraints The power loss minimization results with respect to voltage and apparent power constraints (39) are described below. Voltage violations between 3% of the base voltage value, i.e., v=0.97 p.u. and v=1.03 p.u. are allowed in this implementation. Each of the 𝑇=10test scenario was optimized by evaluating the optimal policy and tested against 𝑇=20 scenarios. The evaluated control policies were compared against the five approaches previously described. For each scenario, the average voltage drop across the feeder was estimated as Δ𝑣=‖‖‖Rp+X q‖‖‖1 𝑁(47) The average voltage drop was compared to the reactive power loss. Fig. 6shows the average voltage drop for each scheme with respect to 100% PV penetration and power loss, and 10% deviation in real power consumption. The local rule 𝜆 =0, minimizes the power loss of the voltage drop, regardless of the rule alone. However, it turns out that the voltage drop is very high, although the power loss is kept to a minimum. Therefore, local regulations cannot keep the voltage within the specified limits. Linear and nonlinear policies strictly follow the optimal control scheme. The model can violate the voltage constraints during testing because the voltage constraints are active only during the training step. As it is seen in the figure these violations are not very high on average. From Fig. 6it can be seen that for the global input, the average voltage-drop decreases and the model behaves closer to optimal. In this case, the non-linear policy provides better regulated voltage and lower power dissipation compared to the linear policy. From all the cases shown in Fig. 6, the non-linear policy has slightly more power Fig. 6. Average voltage-drop in a feeder for varying power loss under voltage constraints for different schemes at 100% penetration and 10% variance with local and global inputs. dissipation, but the voltage regulation is better compared to the linear policy. A similar trend is shown in Fig. 7, which shows the average voltage drop of each circuit for power loss, solar device generation, and actual energy consumption deviation of 10% at 50% and 20% penetration of PV modules. The figure shows that the nonlinear policy works better than the linear one. Also, the average voltage of the bus has a lower voltage deviation from the rated voltage for the non-linear policy compared to the linear policy. From the experiments and results, it is clear that local and optimal approaches solve problems locally or centrally, taking into account the linear rules of decision making on input parameters. It has also been found that using local inputs resulted in suboptimal results, whereas global inputs required complex computations. The core method developed from the distributed approach effectively evaluates reactive power control policies along with the problem of voltage regulation limiting. This makes the developed approach suitable for real-world implementation and allows you to find the right approach in terms of balance between performance and complexity. A comparative analysis of the existing flexible and developed approaches to the regulation of reactive power in distributed generation systems is presented in Table 2. 6. Conclusion This paper developed a kernel-based reactive power control approach to achieve resource management and mitigating the impacts of varying loads and high PV penetrations in the distribution grid. In the developed approach, the policies have been designed to evaluate the control set-points for different scenarios and estimation has been done for the reactive power control in real-time using inputs and outputs individually. Besides, reactive power control policies are modeled by creatively cross-pollinating ideas from machine learning and using the powerful tool of kernel-based learning, which is practically feasible. Tests have been carried out for minimization of power losses and voltage regulation on an IEEE 123 bus system modeled as a single-phase grid. Compared to the techniques in the literature, the research results depicted are flexible and of adjustable nature. Further, this method can be extended for multistage formulations, varying controller inputs, and for evaluating the combination of kernels. Declarations Author contribution statement V S Bharath Kurukuru: Conceived and designed the experiments; Performed the experiments; Wrote the paper. Ahteshamul Haque: Performed the experiments; Analyzed and interpreted the data; Wrote the 8
V.S.B.Kurukuru,A.Haque,M.A.Khanetal. Heliyon 7 (2021) e08609 Fig. 7. Average voltage-drop in a feeder for varying power loss under voltage constraints for different schemes. Table 2. Comparative analysis of flexible reactive power control approaches. Method Advantages Limitations/Drawbacks Remarks Objective functions Particle swarm optimization [14] Less convergence time, Reduced problem solution space using depth first search, and prioritized loads during load shedding. Reactive power control is not considered with the inverters in distribution generation system. The optimization problem is formulated considering tree Knapsack problem. The load priority removes the least load in the 1st stage. Least average principle to estimate the voltage deviation of selected nodes Ant search algorithm [24] Increased static stability in standalone mode operation. Models reactive power control as a linear programming optimization problem, and works only with DC load Flow. The algorithm convergence speed is increased using DC load flow approach. Load shedding is minimized during standalone operation. Adaptive optimization approach under frequency load shedding [18] The load shedding problem is formulated as a mixed integer linear programming problem. Complex power flow formulations that are not ideal for radial networks An approximation of initial group AC operational limitation is considered with the optimization model during the islanding condition. Based on location of load curtailments. Kernel-based approach [Proposed] Inverter coordination through nonlinear control policies using anticipated scenarios for load and generation. Minimizes power losses and achieves voltage regulation. Voltage control inputs are not considered for varying controller inputs with the developed approach. The proposed approach achieves desirable trade-off between reactive control performance and computational requirements Linearly-constrained quadratic program paper. Mohammed Ali Khan & Frede Blaabjerg: Analyzed and interpreted the data; Contributed reagents, materials, analysis tools or data; Wrote the paper. Funding statement This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. Data availability statement Data associated with this study has been deposited at the IEEE Power & Energy Society under the URL: http://sites .ieee .org /pes -testfeeders / files /2017 /08 /feeder123 .zip. Declaration of interests statement The authors declare no conflict of interest. Additional information No additional information is available for this paper. References [1] A. Sajadi, L. Strezoski, V. Strezoski, M. Prica, K.A. Loparo, Integration of renewable energy systems and challenges for dynamics, control, and automation of electrical power systems, Wiley Interdiscip. Rev. Energy Environ. 8(1) (2019) e321. [2] K. Turitsyn, P. Sulc, S. Backhaus, M. Chertkov, Options for control of reactive power by distributed photovoltaic generators, Proc. IEEE 99 (6) (2011) 1063–1073. [3] J. Schiffer, T. Seel, J. Raisch, T. Sezi, Voltage stability and reactive power sharing in inverter-based microgrids with consensus-based distributed voltage control, IEEE Trans. Control Syst. Technol. 24 (1) (2016) 96–109. [4] H. Zhang, S. Kim, Q. Sun, J. Zhou, Distributed adaptive virtual impedance control for accurate reactive power sharing based on consensus control in microgrids, IEEE Trans. Smart Grid 8(4) (2017) 1749–1761. [5] A. Casavola, F. Tedesco, M. Vizza, Command governor strategies for the online management of reactive power in smart grids with distributed generation, IEEE Trans. Autom. Sci. Eng. 14 (2) (2017) 449–460. [6] A. Reza Malekpour, A. Pahwa, A dynamic operational scheme for residential PV smart inverters, IEEE Trans. Smart Grid 8(5) (2017) 2258–2267. 9