원시데이터 수집 시스템
선정목록으로

Synthesis of Spatial Charging/Discharging Patterns of In-Vehicle Batteries for Provision of Ancillary Service and Mitigation of Voltage Impact

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Mizuta, Naoto
  2. Susuki, Yoshihiko
  3. Ota Yutaka
  4. Ishigame, Atsushi
DOI
10.48550/arxiv.1811.07659
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1811.07659
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W6891854991

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We develop an algorithm for synthesizing a spatial pattern of charging/discharging operations of in-vehicle batteries for provision of Ancillary Service (AS) in power distribution grids. The algorithm is based on the ODE (Ordinary Differential Equation) model of distribution voltage that has been recently introduced. In this paper, firstly, we derive analytical solutions of the ODE model for a single straight-line feeder through a partial linearization, thereby providing a physical insight to the impact of spatial EV charging/discharging to the distribution voltage. Second, based on the analytical solutions, we propose an algorithm for determining the values of charging/discharging power (active and reactive) by in-vehicle batteries in the single feeder grid, so that the power demanded as AS (e.g. a regulation signal to distribution system operator for primary frequency control reserve) is provided by EVs, and the deviation of distribution voltage from a nominal value is reduced in the grid. Effectiveness of the algorithm is established with numerical simulations on the single feeder grid and on a realistic feeder grid with multiple bifurcations.

본문 65,796자

본문 펼치기
## Synthesis of Spatial Charging/Discharging Patterns of In-Vehicle Batteries for Provision of Ancillary Service and Mitigation of Voltage Impact Naoto Mizuta, Yoshihiko Susuki, Yutaka Ota, and Atsushi Ishigame <sup>_∗_</sup> November 2018 Abstract We develop an algorithm for synthesizing a spatial pattern of charging/discharging operations of in-vehicle batteries for provision of Ancillary Service (AS) in power distribution grids. The algorithm is based on the ODE (Ordinary Differential Equation) model of distribution voltage that has been recently introduced. In this paper, firstly, we derive analytical solutions of the ODE model for a single straight-line feeder through a partial linearization, thereby providing a physical insight to the impact of spatial EV charging/discharging to the distribution voltage. Second, based on the analytical solutions, we propose an algorithm for determining the values of charging/discharging power (active and reactive) by in-vehicle batteries in the single feeder grid, so that the power demanded as AS (e.g. a regulation signal to distribution system operator for primary frequency control reserve) is provided by EVs, and the deviation of distribution voltage from a nominal value is reduced in the grid. Effectiveness of the algorithm is established with numerical simulations on the single feeder grid and on a realistic feeder grid with multiple bifurcations. #### 1 Introduction Large-scale integration of Electric Vehicles (EVs) is now expected to contribute to the future power grid operation [1]. In a transmission grid, a large population of in-vehicle batteries is being investigated for the so-called Demand Response (DR) that aims to shift the peak load and to provide regulation supports for primary and secondary (load) frequency controls [2, 3]. In a distribution grid, the so-called _Distribution_ _System_ _Operator_ (DSO) [4] as a load dispatching center or aggregator is investigated for managing EVs in order to conduct the DR. The sort of these system-level ideas is generally termed as _Ancillary_ _Service_ (AS) [5] provided by EVs and has been studied by many groups of researchers: see e.g. [6, 7, 8]. The present paper addresses the provision of AS for primary frequency control reserve, called frequency response in PJM [5]. It is required to achieve fast responsiveness of several seconds to several minutes [6]. If the fast response is lacking, then some sorts of frequency reserves have to be considered as secondary reserves and not a primary one. In-vehicle batteries are capable of responding faster than synchronous generators used in large thermal power plants and are hence suitable for the frequency response. The authors of [9] report that in their experiment with three EVs in campus microgrid, the overall response delay of EVs _∗_ N. Mizuta, Y. Susuki, and A. Ishigame are with Department of Electrical and Information Systems, Osaka Prefecture University, Japan ( `susuki@eis.osakafu-u.ac.jp` ). Y. Ota is with Department of Electrical and Electronics Engineering, Tokyo City University, Japan. following a change of frequency is in the ranges of two to three seconds, which is sufficient as the requirement of primary reserve listed in [5]. Regarding this, in this paper we will propose a computationally simple method for determining the values of charging/discharging power by in-vehicle batteries in order to satisfy the power demanded as AS. There are several problems on the provision of AS by EVs. One problem is to manage the impact of charging/discharging of a large number of EVs to a distribution grid. An EV is regarded as an autonomously moving battery in the spatial domain and can conduct the charging and discharging (in principle) _anywhere_ in the grid. Thus, to maintain the nominal distribution voltage while providing the AS by EVs is a challenging subject. In fact, Clement-Nyns _et_ _al._ [10, 11] study the impact of EV charging to the distribution grid using the load-flow analysis and propose optimization-based methods for determining the timing and amount of charging power in order to reduce the voltage deviation. Also, Falahi _et_ _al._ [12] study the control of reactive power by grid-connected inverters of in-vehicle batteries for the voltage regulation and propose an optimization-based method for determining the reactive power injected to a grid from EVs in order to reduce the voltage deviation. Currently, we are developing methodology and tools for provision of AS under cooperation with an EV-sharing system, as a part of the research project “Integrated Design of Local EMSs <sup>1</sup> and their Aggregation Scenario Considering Energy Consumption Behaviors and Cooperative Use of Decentralized In-Vehicle Batteries [13].” An _EV-sharing_ _system_ has a function of tracking trajectories of EVs to allocate them upon user’s request [14, 15]. The authors of [16] propose to use the function of EV-sharing system for community-level energy management. This work opens a new possibility of integrated transportation-energy management, in which the EV-sharing system operator and DSO co-work for provision of AS. This integration is a typical System-of-Systems (SoS) application, which is addressed in the focus of this journal, and in this paper we address a design problem on the physical layer of energy transmission in the SoS. Here, in the physical layer of transportation, it is planned that a large population of shared EVs is distributed in a relatively-small area, referred to as the _Last_ _Mile_ _Transportation_ within a range of a few kilometers [15]. Thus, a large number of charging stations can be densely placed in the small area (see [17] as an ongoing project in Paris, France) and possibly causes a non-negligible voltage impact. The purpose of this paper is to develop an algorithm for synthesizing a spatial pattern of charge/discharge operations of in-vehicle batteries for not only provision of AS but also mitigation of voltage impact. This algorithm is based on the ODE (Ordinary Differential Equation) representation of distribution voltage derived recently by Chertkov _et al._ [18]. This representation keeps spatial information of balanced distribution grids and is hence direct to the synthesis of spatial pattern of charging/discharging operations. The ODE representation is exploited in [19] for assessing the impact of spatio-temporal EV charging to a distribution grid, in which practically-measured data on movements of shared EVs are used. For the above purpose, we intend a situation where a DSO works as a provider of primary frequency control reserve by coordinated use of EVs, receives a regulation signal from an upper transmission system operator, and then utilizes the algorithm for provision of AS and management of distribution voltage. The contributions of this paper are two-fold. One is to derive analytical solutions for distribution voltage for a single, straight-line feeder model. This derivation becomes possible with the ODE representation, and the derived solutions explicitly describe the position-dependent profile of voltage and thus provide a clear physical insight to the impact of spatial EV charging/discharging. The other contribution is based on the physical insight and to establish an 1Energy Management Systems ### Bank feeder line x = 0 x = L Fig. 1: Single, straight-line distribution feeder that starts at a bank, through a finite-length line with length _L_, and ends at a non-loading terminal. algorithm for determining values of charging/discharging power by in-vehicle batteries in a manner such that power demanded as AS is provided by EVs, and the deviation of distribution voltage from a nominal value is reduced. This algorithm is easy to implementation, needs no iterative computation like optimization with standard power-flow equations, and is expected to be fast and scalable in terms of the grid’s complexity. This advantage is suitable to the current motivation on providing the primary frequency control reserve from shared EVs. The algorithm proposed here is demonstrated with numerical simulations of the two models: the single feeder model and a realistic feeder model with multiple bifurcations. This paper is a substantially-enhanced version of our conference paper [20]. The algorithm in [20] was developed for synthesizing the active power only; in this paper we generalize it for synthesizing both active and reactive power. According to this, we provide new simulation results for both the single feeder model and the realistic feeder model. The latter model does not appear in [20]. The rest of the paper is organized as follows. Section 2 introduces the ODE representation of distribution voltage profile. In Section 3 we derive analytical solutions for the distribution voltage profile. In Section 4 we propose the synthesis algorithm based on the analytical solutions. The algorithm is numerically evaluated in Section 5. Section 6 concludes this paper with a brief summery and future directions. #### 2 ODE Representation of Distribution Voltage Profile First of all, we introduce the ODE representation of distribution voltage profile based on [18]. For simplicity of the introduction, we assume that no voltage regulation device such as load ratio control transformer and step voltage regulator is operated. Thus, we can consider the voltage profile starting at a distribution substation (bank) that is continuous in space (length). Note that it is possible to include the effect of such voltage regulation devices in the ODE representation: see [19]. Now consider a single, straight-line, balanced distribution feeder shown in Figure 1, starting at a bank where we introduce the origin of the onedimensional displacement (location) _x_ _∈_ R as _x_ = 0. The voltage phasor at the location _x_ is represented with _v_ ( _x_ ) exp _{_ i _θ_ ( _x_ ) _}_, where i denotes the imaginary unit, _v_ ( _x_ ) the _voltage_ _amplitude_ [V], and _θ_ ( _x_ ) the _voltage_ _phase_ [rad]. Also, as new functions in _x_, define the _power_ _transfer_ _density_ [V <sup>2</sup> _/_ km] at _x_ by _s_ ( _x_ ) := _−v_ ( _x_ ) <sup>2</sup> _dθ_ ( _x_ ) _/dx_ and the _voltage_ _gradient_ [V _/_ km] by _w_ ( _x_ ) := _dv_ ( _x_ ) _/dx_ . Thus, the four functions _θ, v, s_, and _w_ are related with the following first-order nonlinear ODE [18]: _<u>dθ</u>_ = _−_ <sup>_<u>s</u>_</sup> ( _v̸_ = 0) _,_ _dx_ _v_ <sup>2</sup> _<u>dv</u>_ = _w,_ _dx_ _<u>ds</u>_ _<u>b</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _<u>p</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _<u>−</u>_ _<u>g</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _<u>q</u>_ <u>(</u> _<u>x</u>_ <u>)</u> = _,_ _dx_ _g_ ( _x_ ) <sup>2</sup> + _b_ ( _x_ ) <sup>2</sup> (1) _<u>dw</u>_ _<u>s</u>_ <sup>2</sup> = _dx_ _v_ <sup>3</sup> _v_ <sup>_<u>x</u>_</sup> _{_ <sup><u>)</u></sup> _g_ <sup>_<u>p</u>_</sup> ( <sup><u>(</u></sup> _x_ <sup>_<u>x</u>_</sup> ) <sup><u>) +2</u></sup> + <sup>_<u>b</u>_</sup> _b_ <sup><u>(</u></sup> ( <sup>_<u>x</u>_</sup> _x_ <sup><u>)</u></sup> ) <sup>_<u>q</u>_</sup> <sup>2(</sup> _}_ <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <sup>_._</sup> _<u>dw</u>_ _vs_ <sup>23</sup> <sup>_−_</sup> <sup>_<u>g</u>_</sup> <sup><u>(</u></sup> _v_ <sup>_<u>x</u>_</sup> _{_ <sup><u>)</u></sup> _g_ <sup>_<u>p</u>_</sup> ( <sup><u>(</u></sup> _x_ <sup>_<u>x</u>_</sup> ) <sup><u>) +2</u></sup> + <sup>_<u>b</u>_</sup> _b_ <sup><u>(</u></sup> ( <sup>_<u>x</u>_</sup> _x_ <sup><u>)</u></sup> ) <sup>_<u>q</u>_</sup> <sup>2(</sup> _}_ <sup>_<u>x</u>_</sup> <sup><u>)</u></sup>                          The two functions _g_ ( _x_ ) and _b_ ( _x_ ) in (1) are the position-dependent conductance and susceptance per unit-length [S _/_ km] and assumed to be continuous in _x_ . Also, the function _p_ ( _x_ ) (or _q_ ( _x_ )) is the active (or reactive) power flowing into the feeder (note that _p_ ( _x_ ) _>_ 0 indicates the positive active-power flowing to the feeder at _x_ ). In what follows, we will call _p_ ( _x_ ) and _q_ ( _x_ ) the _power_ _density_ _functions_ in [W _/_ km] and [Var _/_ km]. Here, to solve the nonlinear ODE (1), it is necessary to determine not only the functions _g_ ( _x_ ), _b_ ( _x_ ), _p_ ( _x_ ), and _q_ ( _x_ ) but also a _boundary condition_ . Consider again the single distribution feeder in Figure 1. At the starting point _x_ = 0, due to voltage regulation at the bank, we naturally set _v_ (0) and _θ_ (0) to be constant. Throughout this paper, _v_ (0) coincides with unity in per-unit system and _θ_ (0) with zero as a reference. At the end point _x_ = _L_ (namely, no feeder and load exist at _x_ _>_ _L_ ), by supposing that the end is not loaded, we have the conditions _s_ ( _L_ ) = 0 and _w_ (0) = 0 [19]. The above boundary condition is summarized as _θ_ (0) = 0 _,_ _v_ (0) = 1 _,_ _s_ ( _L_ ) = 0 _,_ _w_ ( _L_ ) = 0 _._ (2) Note that the nonlinear ODE (1) is applicable to a distribution feeder with a bifurcation by incorporating an appropriate boundary condition [19], which will be used in Section 5.2. Static ZIP models [21] of loads can be also incorporated [19]. <sup>2</sup> Furthermore, we numerically demonstrate in [19] that the distribution voltage profiles computed with (1) and standard power-flow equations for a common feeder model are consistent. This implies that the choice of models for distribution voltage does not affect effectiveness evaluation of the proposed algorithm in Section 5. #### 3 Analytical Solutions for Distribution Voltage Profile In this section, we derive analytical solutions of the voltage amplitude _v_ and gradient _w_ in the nonlinear ODE (1). These solutions provide a clear physical insight of the distribution voltage profile and lead to the synthesis of spatial charging/discharging patterns of in-vehicle batteries in the next section. We assume in this paper that both load and EV are represented as constant power model (PQ-bus type). Conventionally, grid-connected inverters for batteries are regulated at constant active power under unity power factor (implying zero reactive power)[22]. Based on this, the proper power-flow model for batteries corresponds to PQ-bus type. Therefore, in the nonlinear ODE model, any in-vehicle battery is represented by constant power model (PQ-bus type) at the point of connection to a feeder. 2Dynamic models of loads such as induction machines can be connected to (1). In this case, the model becomes a system of partial differential equations, and thus its computation (numerical approximation of solutions of the model) should be carefully considered. Now consider a case in Figure 1 where multiple charging stations as well as constant power loads are connected. Suppose that _N_ number of stations and loads are located at _x_ = _ξi_ _∈_ (0 _, L_ ) ( _i_ = 1 _, . . ., N_ ) satisfying _ξi_ +1 _<_ _ξi_ . Then, by denoting as _Pi_ (or _Qi_ ) the active-power discharged / charged (consumed) (or the reactive-power supplied / consumed) at _x_ = _ξi_, the power density functions _p_ ( _x_ ) and _q_ ( _x_ ) are given as _N_ _i_ =1 _Qiδ_ ( _x −_ _ξi_ ) (3) _p_ ( _x_ ) = _N_ _i_ =1 _Piδ_ ( _x −_ _ξi_ ) _,_ _q_ ( _x_ ) = where _δ_ ( _x −_ _ξi_ ) is the Dirac’s delta function supported at _x_ = _ξi_ . For the current derivation, we assume that the conductance and susceptance of the feeder are constant in _x_ : _g_ ( _x_ ) = _G,_ _b_ ( _x_ ) = _B_ where _G_ and _B_ are constants. This is relevant when the single feeder is made of a common conductor. We also assume that all _v_ on the right-hand side of (1) are close to unity. Based on the two assumptions, the following approximation of the nonlinear ODE (1) is obtained: _<u>dθ</u>_ = _−s,_ _dx_ _<u>dv</u>_ = _w,_ _dx_ _<u>ds</u>_ _<u>B · p</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _<u>−</u>_ _<u>G · q</u>_ <u>(</u> _<u>x</u>_ <u>)</u> = _,_ _dx_ _G_ <sup>2</sup> + _B_ <sup>2</sup> (4) _<u>dw</u>_ = _s_ <sup>2</sup> _−_ <sup>_<u>G · p</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>B · q</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _dx_ _G_ <sup>2</sup> + _B_ <sup>2</sup> _<u>dw</u>_ <sup>_<u>x</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>B · q</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> _._ _G_ <sup>2</sup> + _B_ <sup>2</sup>                          The differential equations are linear and can be solved for _p_ ( _x_ ) and _q_ ( _x_ ) given in (3). Then, the power transfer density _s_ ( _x_ ) is derived from (2), (3), and (4) as the sum of charging (consumed) and discharging power along the portion of the feeder between _x_ and the end point as follows: _j∈Iξi_ _−_ <sup><u>1</u></sup> _Z_ <sup>2</sup> _−_ <sup><u>1</u></sup> _Z_ <sup>2</sup> _−_ <sup><u>1</u></sup> _Z_ <sup>2</sup> _j∈Ix_ ( _BPj_ _−_ _GQj_ ) _,_ _x̸_ = _ξi_ (5) _s_ ( _x_ ) =                        _j∈Iξi_ +1 ( _BPj_ _−_ _GQj_ ) _,_ _x_ = _ξi −_ 0 ( _BPj_ _−_ _GQj_ ) _,_ _x_ = _ξi_ + 0 where _Ix_ _⊆{_ 1 _,_ 2 _, . . ., N_ _}_ is the set of all indexes _i_ satisfying _x_ _<_ _ξi_ . Based on (2), (4), and (5), the voltage gradient _w_ ( _x_ ) is derived as follows: _j∈Iξi_ _j∈Ix_ <u>1</u> _Z_ <sup>4</sup> <u>1</u> _Z_ <sup>2</sup> <u>1</u> _Z_ <sup>2</sup> 0 _,_ _ξ_ 1 _< x ≤_ _L_ _j∈Ix_ ( _BPj_ _−_ _GQj_ ) <sup>2</sup> ( _x −_ _ξi_ ) + <sup><u>1</u></sup> _Z_ <sup>2</sup> ( _GPj_ + _BQj_ ) + _f_ ( _ξi_ ) _,_ _ξi_ +1 _< x < ξi_ (6) ( _GPj_ + _BQj_ ) + _f_ ( _ξi_ ) _,_ _x_ = _ξi −_ 0 _w_ ( _x_ ) =                          _j∈Iξi_ +1 ( _GPj_ + _BQj_ ) + _f_ ( _ξi_ ) _,_ _x_ = _ξi_ + 0 where _i ∈{_ 1 _, . . ., N_ _}_, _ξN_ +1 := 0, and _f_ ( _ξi_ ) := <sup><u>1</u></sup> _Z_ <sup>4</sup> _j∈Iξi_ _k∈Iξj_ +1 ( _BPk −_ _GQk_ ) <sup>2</sup> ( _ξj_ +1 _−_ _ξj_ ) _._ (7) Consequently, the voltage amplitude _v_ ( _x_ ) is derived from (4) and (6) as in (8). Here, because of _v_ ( _ξN_ +1) = _v_ (0) = 1, the term _v_ ( _ξi_ +1) on the right-hand side in (8) can be determined in a recursive manner. <u>1</u> 2 _Z_ <sup>4</sup> _j∈Ix_ _v_ ( _ξ_ 1) _,_ _ξ_ 1 _< x ≤_ _L._ ( _BPj_ _−_ _GQj_ ) <sup>2 �</sup> ( _x −_ _ξi_ ) <sup>2</sup> _−_ ( _ξi_ +1 _−_ _ξi_ ) <sup>2�</sup> _j∈Ix_ _v_ ( _x_ ) =                  + <sup><u>1</u></sup> _Z_ <sup>2</sup> ( _GPj_ + _BQj_ ) ( _x −_ _ξi_ +1) + _f_ ( _ξi_ )( _x −_ _ξi_ +1) + _v_ ( _ξi_ +1) _,_ _ξi_ +1 _≤_ _x ≤_ _ξi,_ (8) The derived analytical solutions provide physical implications for not only understanding the impact of EV charging/discharging but also synthesizing its spatial pattern for provision of AS. The voltage gradient _w_ ( _x_ ) is a piecewise affine function in _x_, implying that the charging and discharging power by EVs affects the distribution grid linearly. Also, the solutions of _w_ ( _x_ ) and _v_ ( _x_ ) include the term of _linear_ sum of charging (consumed) and discharging power, - _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>),</sup> <sup>uniquely</sup> <sup>determined</sup> <sup>by</sup> <sup>the</sup> <sup>location</sup> <sup>_x_</sup> <sup>.</sup> <sup>This</sup> <sup>clearly</sup> <sup>suggests</sup> <sup>that</sup> <sup>the</sup> voltage gradient _w_ ( _x_ ) and amplitude _v_ ( _x_ ) can be shaped with the charging and discharging power by EVs. Based on these observations, in the next section we will consider how to determine the values of charging and discharging power of in-vehicle batteries. The linear ODE (4) was derived for the single feeder with constant power model. The “constant” implies that the amount of active and reactive power consumed is not dependent on voltage, current, and time. The analytical solutions (5), (6), and (8) are thus not valid for situations in which a load is represented by static ZIP model or any dynamic model. Such situations need to be considered for evaluating the performance of AS frequency response as a controlled dynamic system [8, 25], which is our future work. #### 4 Synthesis of Charging/Discharging Pattern In this section, based on the analytical solutions and physical insight in Section 3, we develop an algorithm for synthesizing the spatial pattern of charging/discharging power of in-vehicle batteries. 4.1 Synthesis Principle Our synthesis principle is based on the physical insight derived with the analytical solutions. By definition, the zero voltage gradient _w_ ( _x_ ) = 0 implies no change of the voltage amplitude _v_ ( _x_ ). We see from (6) that _w_ ( _x_ ) is piecewise affine with respect to the position _x_, where there are multiple discontinuous points _x_ = _ξi_ due to charging (consuming) or discharging operations of EVs and loads. Here, we focus on the terms including <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> operations of EVs and loads. Here, we focus on the terms including <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> in (6) for the synthesis. It should be stated at first that the magnitude of the position ( _x_ ) dependent term in (6) is much smaller than those of the other terms in normal setting of distribution grids [20]. We thus see from (6) that if <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>is</sup> <sup>zero</sup> <sup>at</sup> <sup>_x ∈_</sup> <sup>(0</sup> <sup>_, L_</sup> <sup>),</sup> distribution grids [20]. We thus see from (6) that if <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>is</sup> <sup>zero</sup> <sup>at</sup> <sup>_x ∈_</sup> <sup>(0</sup> <sup>_, L_</sup> <sup>),</sup> then _w_ ( _x_ ) is approximately zero, that is, _v_ ( _x_ ) does not change near _x_ . Since the voltage amplitude _v_ ( _ξN_ +1 = 0) at the starting point is regulated at unity (nominal value) as shown in (8) at _i_ = _N_, shaping the voltage gradient _w_ ( _x_ ) in a recursive manner from the end point of the feeder can reduce the deviation of voltage amplitude _v_ ( _x_ ) from the nominal value. The reason of why we focus on _w_ ( _x_ ) is that by comparison with _v_ ( _x_ ), _w_ ( _x_ ) clearly shows the grid’s state, for example, loading condition, generating condition such as PV, and network topology, which will be shown in Figures 3b and 8. <sup>3</sup> Namely, the synthesis procedure is that we determine the active and reactive power supplied by EVs connected to each charging station such that <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>approaches</sup> a value around zero. In a practical charging station, the amount of charging/discharging power is limited by State-Of-Charge (SOC) of in-vehicle batteries and inverter capacity of chargers. Also, for utilization of EVs connected to a distribution feeder, the loading capacity of bank transformer can limit the amount of provision of AS. In this paper, as introduced below, the loading capacity is sufficiently larger than the amount of active power demanded as AS, and hence we do not consider the loading capacity. When the calculated value of charging/discharging power at a station exceeds the upper-limit value determined by the SOC status, the excess (or residual) power is assigned to another station on the feeder close to the bank. Here, we point out that the above procedure does not necessarily lead to the perfect provision of AS demanded as a regulation signal to DSO. Thus, the calculated charging/discharging power at each charging station is refined to achieve the perfect provision. This is conducted from the charging station closest to the bank in order. By doing this, it would happen that the value of <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>becomes</sup> <sup>far</sup> <sup>from</sup> <sup>zero.</sup> <sup>Thus,</sup> <sup>we</sup> <sup>determine</sup> <sup>the</sup> <sup>value</sup> <sup>of</sup> <sup>re-</sup> the value of <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>becomes</sup> <sup>far</sup> <sup>from</sup> <sup>zero.</sup> <sup>Thus,</sup> <sup>we</sup> <sup>determine</sup> <sup>the</sup> <sup>value</sup> <sup>of</sup> <sup>re-</sup> active power supplied by EVs such that <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>) again approaches a value around</sup> active power supplied by EVs such that <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>) again approaches a value around</sup> zero. For the compensation of reactive power, there exist authorized grid codes for the lower limit of power factor: 0 _._ 95 in Ireland and U.K.[23]; 0 _._ 9 in Japan[24]. In this paper, according to the Japanese grid code, we set the upper limit of the charging/discharging (active) power for every charging station to 90 % of the original upper limit in order to enable us to supply reactive power by all the charging stations. 4.2 Proposed Algorithm Suppose that multiple stations and loads are connected to the single feeder grid as shown in Figure 1. Before algorithm development, we summarize the input data to the algorithm as follows: _•_ _P_ ref : Active power (or value of regulation signal) demanded as AS to DSO that manages the feeder and commands EVs at charging stations to charge, discharge, or stop; _•_ _N_ sta: Total number of the charging stations; _•_ _ξ_ sta _,i_ _∈{ξ_ 1 _, . . ., ξN_ _}_ ( _i_ = 1 _, . . ., N_ sta): Location of _i_ -th charging station; _•_ <u>[</u> _<u>P</u>_ _~~i~~_ _, P i_ ]: Range of possible charging/discharging power by a group of EVs <u>(in-vehicle</u> batteries) connected to the _i_ -th station, where _<u>P</u>_ _~~i~~_ _≤_ 0 for charging and _P i_ _≥_ 0 for discharging; _•_ _N_ L: Total number of loads; _•_ _ξ_ L _j_ _∈{ξ_ 1 _, . . ., ξN_ _}_ ( _j_ = 1 _, . . ., N_ L): Location of _j_ -th load; 3Also, regarding control, this focus on _w_ has a reasonable analogy with stabilization of the motion of a mass point in a potential field. It is known in control engineering that in order to stabilize the motion asymptotically with a proportional feedback law of force, the stabilization is never achieved with the displacement of point. However, the stabilization is possible with the velocity—the time derivative of displacement. Algorithm 1 Synthesis of charging/discharging pattern (active and reactive power) of in<u>vehicle</u> <u>batteries</u> <u>for</u> <u>provision</u> <u>of</u> <u>AS</u> <u>and</u> <u>mitigation</u> <u>of</u> <u>voltage</u> <u>impact</u> 1: function main 2: _{P_ EVs _,i}i_ =1 _,...,N_ sta _←_ ACTIVE( _P_ ref ) 3: _{Q_ EVs _,i}i_ =1 _,...,N_ sta _←_ REACTIVE( _{P_ EVs _,i}i_ =1 _,...,N_ sta) 4: <u>end</u> <u>function</u> _•_ _P_ L _j_ ( _≤_ 0) ( _j_ = 1 _, . . ., N_ L): Power consumption of _j_ -th load; and _•_ _G_ and _B_ : Feeder’s conductance and susceptance per unit-length. Here, we have _N_ sta + _N_ L = _N_ and _{ξ_ sta _,_ 1 _, . . ., ξ_ sta _,N_ sta _} ∪{ξ_ L1 _, . . ., ξ_ L _,N_ L _}_ = _{ξ_ 1 _, . . ., ξN_ _}_, and we note that the indexes _i, j_ of _ξ_ sta _,i_ and _ξ_ L _j_ are chosen from the end point of the feeder to the starting one; that is, _ξ_ sta _,N_ sta and _ξ_ L _,N_ L are the nearest station and load to the bank along the feeder line. We assume that the above data on in-vehicle batteries are available in the EV-sharing system [16], and that the data on loads are available in a DSO. Since we intended the primary frequency control reserve, _P_ ref is regarded as a part of the amount of active power required for stabilization of grid frequency. Several methods for determining the value _P_ ref are reported in [8, 26]. Thus, in order to provide the AS demand power and reduce the deviation of distribution voltage, we now propose an algorithm to determine the amount <u>of</u> charging/discharging (active) power by a group of EVs at _i_ -th station, _P_ EVs _,i_ _∈_ <u>[</u> _<u>P</u>_ _~~i~~_ _, P i_ ] as well as supplying reactive power, _Q_ EVs _,i_ . This procedure is summarized in Algorithms 1, 2, and 3. Algorithm 1 consists of Algorithms 2 and 3 that determine _P_ EVs _,i_ and _Q_ EVs _,i_, respectively. Algorithm 2 describes the procedure of determining the charging/discharging power _P_ EVs _,i_ for the given regulation signal _P_ ref and is divided into the two parts. Firstly, from the end point of the feeder, the value of _P_ EVs _,i_ at _i_ -th station is calculated in a manner such that the sum <sup>�</sup> _i∈Ix_ <sup>(</sup> <sup>_GPi_</sup> <sup>+</sup> <sup>_BQi_</sup> <sup>)</sup> <sup>under</sup> <sup>_Qi_</sup> <sup>= 0</sup> <sup>approaches</sup> <sup>a</sup> <sup>value</sup> <sup>around</sup> <sup>zero.</sup> <sup>Hence,</sup> <sup>the</sup> <sup>deviation</sup> of distribution voltage from the nominal value is reduced. Here, the range [ _<u>P</u>_ _~~i~~_ _, P i_ ] of possible charging/discharging power depends on the number of EVs connected there, SOC of the corresponding batteries, inverter capacity of the battery chargers, plan and request of use of shared EVs, and so on. <u>The</u> residual of power happens when the calculated power for _i_ -th station is greater than _P i_ (see line 12 in Algorithm 2) or smaller than _<u>P</u>_ _~~i~~_ (see line 17 in Algorithm 2). This residual is incorporated for calculation of the next station, _P_ EVs _,i_ +1 (see lines 4–6 in Algorithm 2). Secondly, from the charging station closest to the bank, _P_ EVs _,i_ is refined in a manner such that the total sum of _P_ EVs _,i_ is equal to the given regulation signal _P_ ref (see lines 29–42 in Algorithm 2). Algorithm 3 follows Algorithm 2 and describes the procedure of determining the supplying reactive power _Q_ EVs _,i_ for supporting the voltage regulation above. The calculated _P_ EVs _,i_ may not be enough to setting <sup>�</sup> _<u>i∈Ix</u>_ <sup>(</sup> <sup>_GPi_</sup> <sup>+</sup> <sup>_BQi_</sup> <sup>) close to zero due to the value of regulation signal</sup> not be enough to setting <sup>�</sup> _<u>i∈Ix</u>_ <sup>(</sup> <sup>_GPi_</sup> <sup>+</sup> <sup>_BQi_</sup> <sup>) close to zero due to the value of regulation signal</sup> and the existing range [ _<u>P</u>_ _~~i~~_ _, P i_ ]. In Algorithm 3, the value of _Q_ EVs _,i_ at _i_ -th station is calculated in a manner such that the sum <sup>�</sup> _i∈Ix_ <sup>(</sup> <sup>_GPi_</sup> <sup>+</sup> <sup>_BQi_</sup> <sup>) approaches a value around zero.</sup> <sup>Thus, the</sup> in a manner such that the sum <sup>�</sup> _i∈Ix_ <sup>(</sup> <sup>_GPi_</sup> <sup>+</sup> <sup>_BQi_</sup> <sup>) approaches a value around zero.</sup> <sup>Thus, the</sup> supply of reactive power can compensate the loss of regulation effort by charging/discharging power _P_ EVs _,i_ . In this paper, according to the Japanese grid code [24], we <u>suppose</u> that the feasible range of power factor is set at [0 _._ 9 _,_ 1], and associated range <u>[</u> _<u>Qi, Qi</u>_ ] of supplying reactive power is set with the pre-calculated _P_ EVs _,i_ (see lines 10 and 11 in Algorithm 3). In the above calculation of _Q_ <u>EVs</u> _,i_, the residual of reactive power happens if the calculated reactive power is greater than _Qi_ (see line 14 in Algorithm 3) or smaller than _<u>Qi</u>_ (see line 19 in Algorithm 3). This residual is incorporated for determination of the next station, _Q_ EVs _,i_ +1 ### Bank Station4 Station3 Station2 Station1 0.5km 0km 5km Load5 Load4 Load3 Load2 Load1 Fig. 2: Single feeder model. The feeder has 4 charging stations and 5 loads located at a common interval (0 _._ 5 km). The starting and end points are assumed to have no load for simplicity of the current study. (see lines 4–6 of Algorithm 3) in the same manner as _P_ EVs _,i_ +1. Note that grid-connected inverters are conventionally initiated to provide reactive power when their regulation of active-power output is insufficient for voltage control [23]. A flow chart of initiating the supply of reactive power is decided in the grid code. In this paper, to evaluate the effectiveness of synthesized pattern of active and reactive power, we simply assume that any inverter in this paper can provide both active and reactive power in any situation. #### 5 Numerical Experiments 5.1 Single Feeder In this sub-section, we evaluate the effectiveness of the proposed algorithm with direct numerical simulations of (1) for the single feeder model in Figure 2. This feeder has loads and charging stations located at a common interval (0 _._ 5 km). We have assumed that no load exists at the end point of the feeder. The secondary voltage at the bank is regulated at 6 _._ 6 kV. The loading capacity of the bank transformer is set at 12 MVA, and the feeder’s resistance (or reactance) at 0 _._ 227 Ω _/_ km (or 0 _._ 401 Ω _/_ km). These values are based on the standard setting of medium-voltage distribution grids in Japan; the loading capacity (12 MVA) corresponds to the base power in this subsection. Thereby, we use per-unit system for numerical simulations of the single feeder model. The conductance _G_ (or susceptance _B_ ) per unit-length is calculated as 3 _._ 881 (or 6 _._ 856) in per-unit system (hence _G/B_ is about 5 _._ 661 _×_ 10 <sup>_−_</sup> <sup>1</sup> ). The total amount of the loads is set as 30 % of the loading capacity of the bank. The loads are represented as constant power model as stated above. We suppose that each EV has rated power output of 4 kW (3 _._ 3 _×_ 10 <sup>_−_</sup> <sup>4</sup> ) [10], and each station has the limit of maximum 100 <u>EVs</u> for simultaneous charging and discharging operations, implying _<u>P</u>_ _~~i~~_ = _−_ 3 _._ 3 _×_ 10 <sup>_−_</sup> <sup>2</sup> and _P i_ = 3 _._ 3 _×_ 10 <sup>_−_</sup> <sup>2</sup> . The regulation signal _P_ ref to DSO managing the single feeder with charging stations is set at 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>1</sup>, implying 10% of the loading capacity of the bank. For comparison, we consider the two cases on synthesized patterns of charging/discharging (active) power and supplying reactive power. One case is based on the proposed algorithm, and the resulting patterns on active and reactive power are normally nonuniform for every charging station. The other case considers an uniform pattern of charging/discharging power, which is equally allocated and is derived by dividing the regulation signal _P_ ref by the number of charging stations [25, 26]. Also, in the second case, we consider an uniform pattern of the supplying reactive power for every station, in which we use the common value of charging/discharging power multiplied by a constant power factor, in this paper, 0 _._ 9 [24]. In order to avoid the difficulty of numerical simulations of (1) due to the delta function 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 0 -0.002 -0.004 -0.006 -0.008 Active power Reactive power -0.010 equal _P_ & _Q_ Synthesized _P_ & _Q_ 0 1 2 3 4 5 Location [km] 0 1 2 3 4 5 Location [km] 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 1.00 0.99 0.98 equal _P_ & _Q_ Synthesized _P_ & _Q_ Active power Reactive power 0 1 2 3 4 5 Location [km] (a) Spatial patterns of active and reactive power 0.97 0 1 2 3 4 5 Location [km] (b) Spatial profiles of voltage gradient and amplitude Fig. 3: Results on the proposed algorithm for synthesizing the spatial pattern of discharging operations of in-vehicle batteries for the single feeder. In (a) the _red, solid_ lines represent spatial patterns of active power and the _blue, dotted_ lines do those of reactive power. The top of the figure (a) shows the consumption of loads (negativeness) and the uniform pattern of discharging power (positiveness) and of supplying reactive power (positiveness, too). The bottom of the figure (a) shows the consumption of loads and the synthesized pattern of discharging power and supplying reactive power based on the proposed algorithm. The figure (b) shows the numerical simulations of the nonlinear ODE (1) incorporating with the power density functions based on the figure (a). The _red, solid_ lines denote the simulation results for the uniform pattern (on the top of the figure (a)) and the _blue, dashed_ lines for the synthesized pattern (on the bottom of the figure (a)). in _p_ ( _x_ ) of (3), as in [19] we use the following coarse-graining of the function with Gaussian function: _<u>Pi</u>_ _~~√~~_ 2 _σ_ <sup>2</sup> _p_ ( _x_ ) _∼_ _N_ (9) _i_ =1 _<u>Pi</u>_ - _−_ <sup><u>(</u></sup> <sup>_<u>x −</u>_</sup> <sup>_<u>ξi</u>_</sup> <sup><u>)2</u></sup> 2 _πσ_ <sup>2</sup> <sup>exp</sup> 2 _σ_ <sup>2</sup> where we regard _x, ξi_ as scalars, and _σ_ is the standard deviation. _σ_ was fixed at 0 _._ 05 km, which was much smaller than the interval (0 _._ 5 km). The reactive-power _q_ ( _x_ ) is also treated in the same manner as _p_ ( _x_ ) above. This coarse-graining will be used for plotting the functions and spatial patterns of active and reactive power. Figure 3a shows the spatial patterns of active and reactive power that result in the power density functions _p_ ( _x_ ) and _q_ ( _x_ ). The _red, solid_ lines denote active power and the _blue, dotted_ lines do reactive power. The top of the figure (a) shows the consumption of the 5 loads (negativeness) and the uniform discharging power (positiveness) from the 4 stations, which is equally allocated, that is, derived by dividing the regulation signal _P_ ref by the number of charging stations. The uniform supplying reactive power (positiveness, that is, leadingphase) is also shown in the same figure. The bottom of the figure (a) shows the consumption of loads and the synthesized pattern of discharging power and supply reactive power based on the proposed algorithm. The total sum of the discharging power at the 4 stations is equal Tab. 1: Values of spatial patterns of the 4 charging stations in the single feeder model (a) Uniform case (on the top of Figure 3a) <u>St. 1</u> <u>St. 2</u> <u>St. 3</u> <u>St. 4</u> <u>Total</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <u>2</u> _<u>.</u>_ <u>50</u> <u>2</u> _<u>.</u>_ <u>50</u> <u>2</u> _<u>.</u>_ <u>50</u> <u>2</u> _<u>.</u>_ <u>50</u> <u>10</u> _<u>.</u>_ <u>0</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <u>1</u> _<u>.</u>_ <u>21</u> <u>1</u> _<u>.</u>_ <u>21</u> <u>1</u> _<u>.</u>_ <u>21</u> <u>1</u> _<u>.</u>_ <u>21</u> <u>–</u> (b) Proposed case (on the bottom of Figure 3a) <u>St. 1</u> <u>St. 2</u> <u>St. 3</u> <u>St. 4</u> <u>Total</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <u>1</u> _<u>.</u>_ <u>00</u> <u>3</u> _<u>.</u>_ <u>00</u> <u>3</u> _<u>.</u>_ <u>00</u> <u>3</u> _<u>.</u>_ <u>00</u> <u>10</u> _<u>.</u>_ <u>0</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <u>0</u> _<u>.</u>_ <u>48</u> <u>1</u> _<u>.</u>_ <u>45</u> <u>1</u> _<u>.</u>_ <u>45</u> <u>1</u> _<u>.</u>_ <u>45</u> <u>–</u> to _P_ ref = 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>1</sup> for both the cases, as shown in Tables 1a and 1b. This implies that the provision of active power from EVs is realized with the proposed algorithm. Figure 3b shows the numerical solutions of the nonlinear ODE (1) incorporating with the power density functions based on Figure 3a. The top of the figure (b) shows the voltage gradient for the two cases, which are the uniform pattern (on the top of Figure 3a) denoted by _red, solid_ lines and the synthesized pattern (on the bottom of Figure 3a) by _blue, dashed_ lines. The associated voltage amplitude is shown in the bottom of the figure (b). The top of the figure (b) shows that the loads and charging stations are clearly located by detecting the change points of voltage gradient by comparison with voltage amplitude in the bottom figure. By comparison of the two cases, we see that the voltage gradient becomes close to zero in the synthesized pattern, and hence the deviation of voltage amplitude from nominal is decreased. This clearly shows that the proposed algorithm is effective for the mitigation of voltage impact. The voltage amplitude in the bottom of Figure 3b is the result of synthesized pattern of discharging operations in Table 1b. based on Algorithms 1 to 3. Since the algorithms do not use any optimization, the synthesized pattern is not necessarily optimal in a suitable sense such as the _L_ 2 norm �0 _L_ <sup>_{v_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_}_</sup> <sup>2</sup> <sup>_dx_</sup> <sup>or</sup> �0 _L_ <sup>_{w_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_}_</sup> <sup>2</sup> <sup>_dx_</sup> <sup>.</sup> <sup>An</sup> <sup>iterative</sup> <sup>calculation</sup> <sup>is</sup> <sup>required</sup> for finding the optimal pattern of spatial charging/discharging. We here contend that the proposed algorithm without iteration is significant to the provision of primary frequency control reserve because its execution is terminated quickly. Indeed, for a single feeder, only three steps are executed for determining the pattern: Construction of power density function based on a load profile, (Algorithm 2) calculation of active power to achieve _P_ ref, and (Algorithm 3) calculation of reactive power. 5.2 Multiple feeders In this sub-section, we evaluate the effectiveness of the proposed algorithm for the multiple feeders shown in Figure 4. This model is based on a practical distribution grid of residential area in western Japan and is provided by a power company. It has multiple bifurcations denoted by _black_ _circles_ and 16 charging stations denoted by _circled_ _numbers_ . The sum of the lengths of all the feeders is 5 _._ 75 km. The model has one switchgear at 1 km from the bank and has no load connected to the feeder between the switchgear and the bank. We assume that the secondary voltage at the bank is regulated at 6 _._ 6 kV. The loading capacity of the bank is set at 20 MVA. The model has 232 pole transformers distributed along the feeders from the switchgear to each end. All the pole transformers are connected to a total of 4587 residential households. The residential loads used below are based on ##### Bank Switchgear ~~16~~ 5 ~~2~~ ~~1~~ 12 15 9 10 ~~14~~ 13 11 6 4 3 ~~7~~ 8 Fig. 4: Model of multiple feeders based on a practical distribution grid of residential area in Japan. The 16 charging stations are virtually installed and denoted by the _circled_ _numbers_ . 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] 4 2 0 -2 -4 Fig. 5: Spatial distribution of loads in the model of multiple feeders. The _black_ parts (negative values of density) represent the power consumption by loads via pole transformers. practical measurement at 19 o’clock in summer in Japan. <sup>4</sup> The corresponding power density function for loads as constant power model is shown in Figure 5. The function is constructed in the same way as in the single-feeder case. In the figure, the positiveness ( _black_ ) implies the discharging operation by batteries, and the negativeness ( _black_ ) does the charging operation or the power consumption by load. The _black_ part on the feeders therefore represents the locations connected to the residential loads through the pole transformers. In addition to the loads, we assume that each station has the limit of maximum 50 EVs for simultaneous charging or discharging, where each EV has the rated power output of 4 kVA (3 _._ 33 _×_ 10 <sup>_−_</sup> <sup>4</sup> in the per unit system of the multiple feeders; its base power corresponds to the loading capacity of the bank, 20 MVA). <u>This implies the range of charging/discharging power of each</u> station, _<u>P</u>_ _~~i~~_ = _−_ 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>2</sup> and _P i_ = 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>2</sup> . Also, we set the regulation signal _P_ ref to DSO managing the multiple feeders with charging stations at 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>2</sup>, implying 1% of the loading capacity of the bank. For comparison, we consider the two cases on synthesized patterns of charging/discharging (active) power and supplying reactive power. One case is based on the proposed algorithm, and the resulting patterns on active and reactive power are normally nonuniform for every charging station. The other case is the same as in Section 5.1 and considers a uniform pattern of charging/discharging power, which is equally allocated and is derived by dividing the regulation signal _P_ ref by the number of charging stations, in this model, 16. Also, in the second case, we consider an uniform pattern of the supplying reactive power for every station, in which we use the common value of charging/discharging power multiplied by a constant power factor, in this paper, 0 _._ 9 [24]. 4The detailed data on the feeders and loads could not be published following an agreement with the collaborators. Here, we summarize how to apply the proposed algorithm for the single feeder to the multiples ones. Firstly, the amount of charging/discharging (active) power is calculated for each feeder based on Algorithm 2. That is, the amount of active power is calculated such that - _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>)</sup> <sup>approaches</sup> <sup>a</sup> <sup>value</sup> <sup>around</sup> <sup>zero</sup> <sup>as</sup> <sup>shown</sup> <sup>in</sup> <sup>lines</sup> <sup>3–27</sup> <sup>of</sup> <sup>Algorithm</sup> <sup>2.</sup> For a single feeder linking two different bifurcations points, if _P_ residual is not zero at the bifurcation point close to the bank, then _P_ residual is assigned to the charging station that is the closest (along the feeder) from the bifurcation point (if exists) on the feeder linked to the bank. Secondly, from the charging station closest to the bank, _P_ EVs _,i_ is refined in a manner such that the total sum of _P_ EVs _,i_ is equal to the given regulation signal _P_ ref as shown in lines 29–42 of Algorithm 2. Finally, the compensation of reactive power is determined for each feeder based on Algorithm 3. For a single feeder linking two different bifurcations points, if _Q_ residual is not zero at the bifurcation point close to the bank, then _Q_ residual is assigned to the charging station on another feeder in the similar manner as in _P_ residual. Figure 6 shows the results on charging/discharging patterns of active power at the 16 stations. The equally allocated pattern is shown in Figure 6a, and the synthesized pattern based on the proposed algorithm is shown in Figure 6b. Since the synthesis is based on the power density function for loads in Figure 5 and the regulation signal for AS, we see in the synthesized pattern that multiple stations close to each end of the feeders exhibit the discharging operation (positive value of density). As shown below, the discharging operation is assigned such that the deviation of distribution voltage around the ends is reduced. In contrast to this, the six stations closed to the bank exhibit the charging operation in order to provide the amount of the regulation signal. In fact, the total sum of the amounts of discharging and charging power at the 16 stations is equal to the given regulation signal _P_ ref = 1 _._ 00 _×_ 10 <sup>_−_</sup> <sup>2</sup> as shown in Tables 2a and 2b. Therefore, we conclude for the model of multiple feeders that the provision of active power from EVs is realized with the proposed algorithm. Figure 7 shows the results on patterns of supplying reactive power. In the figure, the positive value ( _black_ ) represents the supply of leading-phase reactive power and the negative value ( _black_ ) does the supply of lagging-phase reactive power. The uniform supply under the equally allocated pattern is shown in Figure 7a where all the reactive power is leadingphase. The synthesized result based on the proposed algorithm is shown in Figure 7b. In the synthesized case, since the supply reactive power at each station is determined with the term <sup>�</sup> _j∈Ix_ <sup>(</sup> <sup>_GPj_</sup> <sup>+</sup> <sup>_BQj_</sup> <sup>) in (6),</sup> <sup>we see the difference of magnitudes of the supplying reactive</sup> power (although this is not vivid in Figure 7b), see Table 2b. Figure 8 shows the numerical simulations of the nonlinear ODE (1) incorporated with the power density functions based on Figures 6 and 7. The simulations for the multiple feeders with bifurcations were performed with the same scheme as in [19]. The voltage amplitude at the starting of the feeder is set to unity that is a boundary condition of (1). The voltage gradient at each open end of the feeders is set to zero that is another boundary condition. The simulations for the equally allocated pattern of active power is shown in Figure 8a. For this, we constructed the power density functions _p_ ( _x_ ) and _q_ ( _x_ ) with Figures 5, 6a, and 7a. The simulations for the synthesized patterns are shown in Figure 8b where we use _p_ ( _x_ ) and _q_ ( _x_ ) with Figures 5, 6b, and 7b. In comparison with Figure 8a, we vividly see in Figure 8b that the deviation of voltage gradient on the feeder surrounded by the _dotted_ line is greatly reduced, and thus that the voltage amplitude at each end of the feeders is increased. We conclude for the model of multiple feeders that the proposed algorithm does work for provision of AS (as in Tables 2b) and mitigation of voltage impact. 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] (a) Equally allocated _P_ 0.06 0.04 0.02 0 -0.02 -0.04 -0.06 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] (b) Synthesized _P_ 1.0 0.5 0 -0.5 -1.0 Fig. 6: Results on charging/discharging patterns at the 16 charging stations. The _black_ marks represent the discharging operation and the _black_ marks the charging operation. The _left_ figure (a) is the result on equally allocated pattern of the given regulation signal, and the _right_ figure (b) is the result on the proposed algorithm. 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] (a) Uniform _Q_ under equally allocated _P_ 0.04 0.02 0 -0.02 -0.04 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] (b) Synthesized _Q_ under synthesized _P_ 0.4 0.2 0 -0.2 -0.4 Fig. 7: Results on patterns of supply reactive power at the 16 charging stations. The _black_ marks represent the leading-phase operation and the _black_ marks the lagging-phase operation. The _left_ figure (a) is the result on the constant power-factor control under the equally allocated patten in Figure 6a. The _right_ figure (b) is the result on the proposed algorithm under the synthesized pattern in Figure 6b. #### 6 Conclusion We developed an algorithm for synthesizing the spatial pattern of charging/discharging operations of in-vehicle batteries for not only provision of AS but also mitigation of voltage impact. This algorithm is based on analysis and physical implications of the nonlinear ODE (1) for continuum representation of distribution voltage. It is easy for implementation in software and needs no iterative computation like optimization using power-flow equations, and thus is expected to be fast and scalable for large-scale applications. This is significant to the provision of primary frequency control reserve, which is the fastest responsiveness of AS. Effectiveness of the proposed algorithm was established with numerical simulations on the single feeder model and on the practical model of multiple feeders. Several remarks on the current work in this paper are presented. First, in this paper, we did not consider any voltage regulator (e.g. step voltage regulator) for the synthesis procedure. As shown in [19], since such a regulator is incorporated with the nonlinear ODE (1) by introducing a boundary condition, it is possible to use the regulator for the current synthesis purpose. Second, we assumed that the target feeder models have constant conductance and susceptance in position. This assumption can be relaxed substantially by introducing a boundary condition [19], while still applying the same analysis and algorithm as in this paper. Because the ratio of conductance and susceptance is particularly important with regard to the effectiveness of reactive-power compensation, it is necessary to appropriately determine the boundary condition at the point where the values of conductance and susceptance change. 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] 0.5 0 0.5 0 -0.5 0 0.5 1 1.5 2 2.5 Location [km] 0.5 0 -0.5 <u>0</u> <u>0.5</u> <u>1</u> <u>1.5</u> <u>2</u> <u>2.5</u> Location [km] (b) Synthesized _P_ and _Q_ -0.5 <u>0</u> <u>0.5</u> <u>1</u> <u>1.5</u> <u>2</u> <u>2.5</u> Location [km] (a) Equally allocated _P_ and uniform _Q_ 0 -0.005 -0.010 -0.015 -0.020 -0.025 1.00 0.99 0.98 0.97 0.96 0.95 0 -0.005 -0.010 -0.015 -0.020 -0.025 1.00 0.99 0.98 0.97 0.96 0.95 Fig. 8: Numerical simulations of the nonlinear ODE (1) incorporated with the power density functions based on Figures 5, 6, and 7. The voltage amplitude at the starting of the feeder is set to unity that is a boundary condition of (1). The voltage gradient at each end of the feeders is set to zero that is another boundary condition. Third, in this paper, we considered the provision of AS by in-vehicle batteries under a static situation in time. But, when we provide AS as the primary frequency control reserve, it is necessary to evaluate the algorithm under dynamic situations of voltage and frequency. Regarding this, in this paper we derived the analytical solutions for constant power model. A remaining work is to derive analytical solutions for various load models and to establish a synthesis algorithm based on them. Finally, the achievement of AS provision by EVs highly depends on their primary use for transportation. Therefore, it is important to design the integrated transportation-energy management system that can handle actual data on vehicle location obtained with GPS or predicted data. #### Acknowledgment The second author greatly appreciates Mr. Seongchoel Baek and Professor Takashi Hikihara (Kyoto University) for their contributions to the initial research before the work presented here. The authors would like to thank Mr. Shota Yumiki (Osaka Prefecture University) for valuable discussions on the work and thank anonymous reviewers for their constructive comments. #### References [1] A. Ipakchi and F. Albuyeh, “Grid of the future,” IEEE Power & Energy Mag., vol. 7, issue 2, pp. 52–62, 2009. [2] T. Sousa, H. Morais, Z. Vale, Senior, P. Faria, and J. Soares, “Intelligent energy resource management considering vehicle-to-grid: A simulated annealing approach,” IEEE Trans. on Smart Grid, vol. 3, no. 1, pp. 535–542, 2012. Tab. 2: Values of spatial patterns of the 16 charging stations in the model of multiple feeders (a) Uniform case in Figures 6a and 7a <u>St. 1</u> <u>St. 2</u> <u>St. 3</u> <u>St. 4</u> <u>St. 5</u> <u>St. 6</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>St. 7</u> <u>St. 8</u> <u>St. 9</u> <u>St. 10</u> <u>St. 11</u> <u>St. 12</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>St. 13</u> <u>St. 14</u> <u>St. 15</u> <u>St. 16</u> <u>Total</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>6</u> _<u>.</u>_ <u>25</u> <u>100</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>4</u></sup> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>3</u> _<u>.</u>_ <u>03</u> <u>–</u> (b) Synthesized case in Figures 6b and 7b <u>St. 1</u> <u>St. 2</u> <u>St. 3</u> <u>St. 4</u> <u>St. 5</u> <u>St. 6</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> _<u>−</u>_ <u>9</u> _<u>.</u>_ <u>00</u> _<u>−</u>_ <u>9</u> _<u>.</u>_ <u>00</u> _<u>−</u>_ <u>9</u> _<u>.</u>_ <u>00</u> _<u>−</u>_ <u>9</u> _<u>.</u>_ <u>00</u> _<u>−</u>_ <u>9</u> _<u>.</u>_ <u>00</u> _<u>−</u>_ <u>6</u> _<u>.</u>_ <u>33</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>3</u> _<u>.</u>_ <u>01</u> _<u>−</u>_ <u>2</u> _<u>.</u>_ <u>49</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>St. 7</u> <u>St. 8</u> <u>St. 9</u> <u>St. 10</u> <u>St. 11</u> <u>St. 12</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>3</u> _<u>.</u>_ <u>98</u> <u>2</u> _<u>.</u>_ <u>01</u> <u>7</u> _<u>.</u>_ <u>85</u> <u>9</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>94</u> <u>7</u> _<u>.</u>_ <u>81</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>4</u> _<u>.</u>_ <u>36</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>0</u> _<u>.</u>_ <u>00</u> <u>3</u> _<u>.</u>_ <u>06</u> <u>4</u> _<u>.</u>_ <u>36</u> <u>St. 13</u> <u>St. 14</u> <u>St. 15</u> <u>St. 16</u> <u>Total</u> _<u>Pi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>8</u> _<u>.</u>_ <u>34</u> <u>3</u> _<u>.</u>_ <u>39</u> <u>9</u> _<u>.</u>_ <u>00</u> <u>9</u> _<u>.</u>_ <u>00</u> <u>10</u> _<u>.</u>_ <u>0</u> _<u>Qi/</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <u>4</u> _<u>.</u>_ <u>36</u> <u>4</u> _<u>.</u>_ <u>36</u> <u>4</u> _<u>.</u>_ <u>36</u> <u>4</u> _<u>.</u>_ <u>36</u> <u>–</u> [3] C. Wu, H. Mohsenian-Rad, and J. Huang, “Vehicle-to-aggregator interaction game,” IEEE Trans. on Smart Grid, vol. 3, no. 1, pp. 535–542, 2012. [4] I. J. P. Arriaga, “The transmission of the future,” IEEE Power & Energy Mag., vol. 14, no. 4, pp. 41–53, 2016. [5] Y. G. Rebours, D. S. Kirschen, M. Trotignon, and S. Rossignol, “A survey of frequency and voltage control ancillary services–Part I: Technical features,” IEEE Trans. on Power Syst., vol. 22, no. 1, pp. 350–357, 2007. [6] W. Kempton and J. Tomic, “Vehicle-to-grid power fundamentals: Calculating capacity and net revenue,” J. Power Sources, vol. 144, no. 1, pp. 268–279, 2005. [7] J. Tomic and W. Kempton, “Using fleets of electric-drive vehicles for grid support,” J. Power Sources, vol. 168, Issue. 2, pp. 459–468, 2007. [8] Y. Ota, H. Taniguchi, T. Nakajima, K. M. Liyanage, J. Baba, and A. Yokoyama, “Autonomous distributed V2G (Vehicle-to-Grid) satisfying scheduled charging,” IEEE Trans. on Smart Grid, vol. 3, no. 1, pp. 559–564, 2012. [9] M. Marinelli, S. Martinenas, K. Knezovi´c, and P. B. Andersen, “Validating a centralized approach to primary frequency control with series-produced electric vehicles,” J. Energy Storage, vol. 7, pp. 63–73, 2016. [10] K. Clement-Nyns, E. Haesen, and J. Driesen, “The impact of charging plug-in hybrid electric vehicles on residential distribution grid,” IEEE Trans. on Power Syst., vol. 25, no. 1, pp. 371–380, 2010. [11] K. Clement-Nyns, E. Haesen, and J. Driesen, “The impact of vehicle-to-grid on the distribution grid,” Electr. Power Syst. Res., vol. 81, pp. 185–192, 2011. [12] M. Falahi, H. M. Chou, M. Ehsani, L. Xie, and K. L. Butler-Purry, “Potential power quality benefits of electric vehicles,” IEEE Trans. on Sust. Energy, vol. 4, no. 4, pp. 1016– 1023, 2016. [13] A. Itoh, A. Kawashima, T. Suzuki, S. Inagaki, and T. Yamaguchi, “Model predictive charging control of in-vehicle batteries for home energy management based on vehicle state prediction,” IEEE Trans. on Control Sys. Tech., vol. 26, issue 1, pp. 51–64, 2018. [14] P. Fairley, “Car sharing could be the EV’s killer app?,” IEEE Spectrum, vol. 50, issue. 9, pp. 14–15, 2013. [15] K. K. Tan, K. K. K. Htet, and A. S. Narayanan, “Mitigation of vehicle distribution in an EV sharing scheme for last mile transportation,” IEEE Trans. on Intelligent Transportation Syst., vol. 16, no. 5, pp. 2631–2641, 2015. [16] A. Kawashima, N. Makino, S. Inagaki, T. Suzuki, and O. Shimizu, “Simultaneous opti mization of assignment, reallocation and charging of electric vehicles in sharing services,” in Proc. IEEE 1st Conference on Control Technology and Applications, pp. 1070–1076, 2017. [17] Autolib’ Paris, https://www.autolib.eu/en/. [18] M. Chertkov, S. Backhaus, K. Turtisyn, V. Chernyak, and V. Lebedev, “Voltage collapse and ODE approach to power flows: Analysis of a feeder line with static disorder in consumption/production,” [arXiv:1106.5003,](http://arxiv.org/abs/1106.5003) 2011. [19] Y. Susuki, N. Mizuta, A. Kawashima, Y. Ota, A. Ishigame, S. Inagaki, and T. Suzuki, “A continuum approach to assessing the impact of spatio-temporal EV charging to power distribution grids,” in Proc. IEEE 20th International Conference on Intelligent Transportation Systems, pp. 2372–2377, 2017. [20] N. Mizuta, Y. Susuki, Y. Ota, and A. Ishigame, “An ODE-based design of spatial charging/discharging patterns of in-vehicle batteries for provision of ancillary service,” in Proc. IEEE 1st Conference on Control Technology and Applications, pp. 193–198, 2017. [21] J. Machowski, J.W. Bialek, and J.R. Bumby, “Power System Dynamics and Stability,” John Wiley & Sons, 1997. [22] Y. Yang, H. Wang, F. Blaabjerg, and T. Kerekes, “A Hybrid Power Control Concept for PV Inverters With Reduced Thermal Loading,” IEEE Trans. on Power Elec., vol. 29, no. 12, pp. 6271–6275, 2014. [23] A. Keane, L. F. Ochoa, E. Vittal, C. J. Dent, and G. P. Harrison, “Enhanced utilization of voltage control resources with distributed generation,” IEEE Trans. on Power Syst., vol. 26, issue 1, pp. 252–260, 2011. [24] H. Tanaka, T. Tanaka, T. Wakimoto, E. Hiraki, and M. Okamoto, “Reduced-capacity smart charger for electric vehicles on single-phase three-wire distribution feeders with reactive power control,” IEEE Trans. on Ind. Appl., vol. 51, issue 1, pp. 315–324, 2015. [25] K. Shimizu, T. Masuta, Y. Ota, and A. Yokoyama, “Load frequency control in power system using vehicle-to-grid system considering the customer convenience of electric vehicles,” in Proc. POWERCON, pp. 1–8, 2010. [26] T. Masuta and A. Yokoyama, “Supplementary load frequency control by use of a number of both electric vehicles and heat pump water heaters,” IEEE Trans. on Smart Grid, vol. 3, issue 3, pp. 1253–1262, 2012. Algorithm 2 Determination of charging/discharging (active) power 1: function ACTIVE( _P_ ref ) 2: _i ←_ 1 _, j_ _←_ 1 _, P_ residual _←_ 0 3: while _i ≤_ _N_ sta do 4: if _P_ residual _̸_ = 0 then 5: _P_ EVs _,i_ _←_ _P_ residual 6: _P_ residual _←_ 0 7: else 8: _P_ EVs _,i_ _←_ 0 9: end if 10: while _ξ_ L _j_ _> ξ_ sta _,i_ do 11: _P_ EVs _,i_ _←_ _P_ <u>EVs</u> _,i −_ _P_ L _j_ 12: if _P_ EVs _,i_ _> P i_ then 13: _P_ residual _<u>←</u>_ _<u>P</u>_ EVs _,i −_ _P i_ 14: _P_ EVs _,i_ _←_ _P i_ 15: _j_ _←_ _j_ + 1 16: break 17: else if _P_ EVs _,i_ _< P_ _~~i~~_ then 18: _P_ residual _←_ _P_ EVs _,i −_ _<u>P</u>_ _~~i~~_ 19: _P_ EVs _,i_ _←_ _<u>P</u>_ _~~i~~_ 20: _j_ _←_ _j_ + 1 21: break 22: end if 23: _j_ _←_ _j_ + 1 24: end while 25: _P_ ref _←_ _P_ ref _−_ _P_ EVs _,i_ 26: _i ←_ _i_ + 1 27: end while 28: _i ←_ _i −_ 1 29: while ( _P_ ref _̸_ = 0) _∧_ ( _i_ _<u>≥</u>_ 1) do 30: if _P_ EVs _,i_ + _P_ ref _<u>> P i</u>_ then 31: _P_ ref _←_ _P_ ref _−_ _P i_ + _P_ EVs _,i_ 32: _P_ EVs _,i_ _←_ _P i_ 33: _i ←_ _i −_ 1 34: else if _P_ EVs _,i_ + _P_ ref _< P_ _i_ then 35: _P_ ref _←_ _P_ ref _−_ _<u>P</u>_ _~~i~~_ + _P_ EVs _,i_ 36: _P_ EVs _,i_ _←_ _<u>P</u>_ _~~i~~_ 37: _i ←_ _i −_ 1 38: else 39: _P_ EVs _,i_ _←_ _P_ EVs _,i_ + _P_ ref 40: _P_ ref _←_ 0 41: end if 42: end while 43: return _P_ EVs _,i_ 44: <u>end</u> <u>function</u> <u>Algorithm</u> <u>3</u> <u>Determination</u> <u>of</u> <u>reactive</u> <u>power</u> <u>compensation</u> 1: function REACTIVE( _{P_ EVs _,i}i_ =1 _,...,N_ ) 2: _i ←_ 1 _, j_ _←_ 1 _, Q_ residual _←_ 0 3: while _i ≤_ _N_ sta do 4: if _Q_ residual _̸_ = 0 then 5: _Q_ EVs _,i_ _←_ _Q_ residual 6: _Q_ residual _←_ 0 7: else 8: _Q_ EVs _,i_ _←_ 0 9: <u>end</u> if 10: _Qi_ _←_ ~~�~~ ( _P_ EVs _,i/_ 0 _._ 9) <sup>2</sup> _−_ _P_ <sup>2</sup> EVs _,i_ ~~�~~ ( _P_ EVs _,i/_ 0 _._ 9) <sup>2</sup> _−_ _P_ <sup>2</sup> 11: _<u>Q</u>_ _~~i~~_ _←−_ _<u>Q</u>_ _~~i~~_ _←−_ EVs _,i_ 12: while _ξ_ L _j_ _> ξ_ sta _,i_ do 13: _Q_ EVs _,i_ _←_ _GB_ <sup>_−_</sup> <sup>1</sup> ( _P_ EVs _,i −_ _P_ L _j_ ) 14: if _Q_ EVs _,i_ _> Qi_ then 15: _Q_ residual _<u>←</u>_ _<u>Q</u>_ EVs _,i −_ _Qi_ 16: _Q_ EVs _,i_ _←_ _Qi_ 17: _j_ _←_ _j_ + 1 18: break 19: else if _Q_ EVs _,i_ _< Q_ _~~i~~_ then 20: _Q_ residual _←_ _Q_ EVs _,i −_ _<u>Q</u>_ _~~i~~_ 21: _Q_ EVs _,i_ _←_ _<u>Qi</u>_ 22: _j_ _←_ _j_ + 1 23: break 24: end if 25: _j_ _←_ _j_ + 1 26: end while 27: _i ←_ _i_ + 1 28: end while 29: return _Q_ EVs _,i_ 30: <u>end</u> <u>function</u>

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.