Journal of Modern Power Systems and Clean Energy

ISSN 2196-5625 CN 32-1884/TK

网刊加载中。。。

使用Chrome浏览器效果最佳,继续浏览,你可能不会看到最佳的展示效果,

确定继续浏览么?

复制成功,请在其他浏览器进行阅读

A Holistic State Estimation Framework for Active Distribution Network with Battery Energy Storage System  PDF

  • Shaojian Song (Member, IEEE)
  • Huangjiao Wei
  • Yuzhang Lin (Member, IEEE)
  • Cheng Wang (Member, IEEE)
  • Antonio Gómez-Expósito (Fellow, IEEE)
School of Electrical Engineering, Guangxi University , Nanning 530004, China; Department of Electrical and Computer Engineering, University of Massachusetts, Lowell, MA 01852, USA; State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, North China Electric Power University, Beijing 102206, China; Laboratory of Engineering for Energy and Environmental Sustainability, University of Seville, Spain

Updated:2022-05-11

DOI:10.35833/MPCE.2020.000613

  • Full Text
  • Figs & Tabs
  • References
  • Authors
  • About
CITE
OUTLINE

Abstract

Battery energy storage systems (BESSs) are expected to play a crucial role in the operation and control of active distribution networks (ADNs). In this paper, a holistic state estimation framework is developed for ADNs with BESSs integrated. A dynamic equivalent model of BESS is developed, and the state transition and measurement equations are derived. Based on the equivalence between the correction stage of the iterated extended Kalman filter (IEKF) and the weighted least squares (WLS) regression, a holistic state estimation framework is proposed to capture the static state variables of ADNs and the dynamic state variables of BESSs, especially the state of charge (SOC). A bad data processing method is also presented. The simulation results show that the proposed holistic state estimation framework improves the accuracy of state estimation as well as the capability of bad data detection for both ADNs and BESSs, providing comprehensive situational awareness for the whole system.

I. Introduction

DUE to the integration of distributed generators (DGs), energy storage systems, electric vehicles, and controllable loads, distribution networks are gradually becoming active distribution networks (ADNs), where the traditional operation and control paradigm is no longer applicable [

1].

State estimation is a fundamental tool for the situational awareness of ADNs. By processing a redundant set of real-time measurements, along with information from other sources such as virtual measurements and pseudo-measurements, the operating state of the system can be reliably estimated. It is important to improve the accuracy and scope of state estimation for enabling advanced operation and control functions in ADNs.

Existing research on state estimation for distribution networks can be broadly divided into four categories: ① the consideration of different network models such as linear models, three-phase unbalanced models, and decomposed feeder models [

2]-[4]; ② the development of more efficient and accurate state estimation algorithms [5]-[7]; ③ the incorporation of new types of measurements such as the advanced metering infrastructure (AMI) and phasor measurement units (PMUs) [8]-[11]; ④ the modeling of pseudo-measurements based on historical data or forecasting techniques aimed to improve the observability and measurement redundancy [12], [13].

In ADNs, a major challenge is the intermittent and stochastic generation nature of DGs, which leads to frequent fluctuation of power flow profiles, power quality issues, and reduced system stability. Battery energy storage systems (BESSs) are one of the most promising solutions to this challenge, which are being rapidly populated in power systems around the world [

14]. The state of charge (SOC) is the essential variable to characterize the operating state of batteries, which is defined as the ratio of the remaining capacity of batteries to the total capacity [15]. The SOC is a crucial variable at both the battery level and the power grid level: ① at the BESS level, the SOC is the most important information for evaluating the status of batteries and allowing their output to be controlled smoothly and in balance [16]; ② at the ADN level, the generation dispatch and security assessment applications need to take SOC into consideration. With accurate SOC estimates, the BESS can be operated to provide frequency regulation and load shifting capabilities, among many other functions [17]. However, the SOC cannot be measured directly, and must be estimated based on measurable quantities such as voltage and current. At present, SOC estimation methods can be classified into five branches: ① traditional methods such as Coulomb counting [18]; ② adaptive filtering methods such as extended Kalman filters [19], unscented Kalman filters [20], and H∞ filters [21]; ③ nonlinear observers [22]; ④ machine learning methods such as neural networks [23], [24] and support vector machines [25]; ⑤ composite estimation methods combining two or more different estimation methods [26]. Based on SOC estimation, a number of applications in battery management have also been explored, e.g., the charging pattern optimization for charging speed [27], balancing of battery cells [28], and electricity bill savings [29]. Due to a number of challenges that have not been fully resolved such as modeling error, measurement error, computational efficiency, and online operation requirements, the SOC estimation is still a very active research area to date.

In the existing literature, the SOC estimation problem has been restricted to the BESS itself, as seen behind the point of common coupling (PCC), disregarding possible synergies and integration with the ADN state estimation. In fact, it is beneficial to bridge this gap for both ADNs and BESSs. For the ADN, grid-scale BESSs are important components to be modeled, and accurate SOC estimation of grid-scale BESSs is an important part of situational awareness required for system dispatch and control [

30], [31]. For the BESSs, the joint estimation with the power grid leads to improvement of measurement redundancy, which enhances the capabilities of SOC estimation in the presence of measurement noise, unintentional bad data, and malicious cyber attacks. Unfortunately, studies on the state estimation of ADNs and the SOC estimation of BESSs have so far been conducted by two separate technical communities. No existing work has exploited the linkage between the two estimation problems and developed a holistic estimation framework that benefits both ADNs and BESSs.

This paper is dedicated to bridging the gap between the state estimation of ADNs and the SOC estimation of grid-scale BESSs. It starts by developing models of BESS components that are suitable for state estimation. A holistic estimation framework for ADNs and BESSs is then proposed, with state variables clearly defined and state transition and measurement equations explicitly derived. The largest normalized residual (LNR) test is also applied for the identification and correction of bad data [

32]. Compared with existing literature, the main contributions of this paper are summarized as follows.

1) The operating states of ADNs and grid-scale BESSs are estimated under a holistic framework. The partial equivalence between the weighted least squares (WLS) estimator and iterated extended Kalman filter (IEKF) is exploited to fuse the dynamic estimation problem of BESSs characterized by differential equations with the static estimation problem of ADNs characterized by algebraic equations.

2) For ADNs, the situational awareness of power grids is enhanced by extending the monitoring scope of state estimation from power grids to BESSs; in addition, the BESS model and measurements help improve the state estimation accuracy of the grid.

3) For BESSs, the information from the measurements of both BESSs and ADNs is fully exploited, and the increased measurement redundancy enhances the accuracy of SOC estimation and the robustness against bad data.

It will be demonstrated by simulation cases that breaking down the barrier between the two domains brings about significant benefits for both sides.

The rest of the paper is organized as follows. Section II reviews the equivalent circuit models of batteries. Section III presents Kalman filter in a WLS form. The proposed state estimation framework, including the detailed state transition equations, measurement equations, and the WLS-form IEKF, is presented in Section IV. Section V demonstrates the effectiveness of the proposed framework with simulation results. Concluding remarks are given in Section VI.

II. Battery Equivalent Circuit Models

Lithium-ion batteries with lithium-iron phosphate as cathode material are commonly used in BESSs. An actual battery bank can be represented by an equivalent battery. In turn, an accurate battery model can be used to characterize the external behavior of the battery such as current and voltage, as well as internal characteristics such as electromotive force, internal resistance, and SOC [

33]-[35]. The equivalent circuit models that are commonly used include the Rint model, the PNGV model, and the Thevenin equivalent circuit model [36], [37]. With good representation of the electrochemical polarization characteristics and concentration polarization characteristics of a BESS, the second-order Thevenin equivalent circuit model is widely used, as shown in Fig. 1. The two RC networks are used to model the two dynamic processes of internal reactions mentioned above.

Fig. 1  Second-order Thevenin equivalent model.

In Fig. 1, the subscript α identifies the state variables and measurements associated with a BESS labeled as α; Vpa,α and Vpc,α are the electrochemical polarization voltage and the concentration polarization voltage of the equivalent model, respectively; Sα is the SOC of the battery; Eba,α is the internal electromotive force of the battery, which is a function of Sα; R1,α and C1,α are the electrochemical polarization resistance and capacitance, respectively; R2,α and C2,α are the concentration polarization resistance and capacitance, respectively; R0,α is the ohmic internal resistance of the battery; Iba,α is the output current of the battery; and Vba,α is the output voltage of the battery. The associated differential equations can be derived as:

dVpa,αdt=1C1,αVpa,αR1,α-1C1,αIba,αdVpc,αdt=1C2,αVpc,αR2,α-1C2,αIba,αSα=S0,α-ηαCn,α0tIba,αdtVba,α=Eba,α-Vpa,α-Vpc,α-R0,αIba,α (1)

where S0,α is the initial value of SOC; Cn,α is the rated capacity of the battery; and ηα is the charging and discharging efficiency of the battery. The unknown parameters in the equivalent model of the battery, i.e., R0,α, R1,α, R2,α, C1,α, and C2,α, can be identified online by the recursive least square (RLS) method [

36]. The variations of the parameters are in a different time scale compared with Vpa,α, Vpc,α, and Sα. Thus, they can be considered approximately constant in relatively short operation windows.

III. WLS-form IEKF

Most applications in ADN operation are based on the steady-state analysis of the power grid. Therefore, the vast majority of ADN state estimation methods are static methods such as the WLS method, which do not account for state transitions between time instants [

2]-[6], [8]-[13]. However, for a BESS, since the SOC and the capacitor voltages are by nature the integral of current over time, a dynamic estimation method such as the IEKF method should be applied. In the holistic estimation problem for an ADN with integrated BESSs, the original forms of either the WLS method or the IEKF method will not be directly applicable. This section will briefly introduce the IEKF method used for dynamic state estimation, and the WLS method used for static state estimation. Then, it will be shown that the correction stage of the IEKF method is equivalent to a WLS estimation problem. This will pave the way for constructing a WLS-form IEKF method for estimating both the static and dynamic state variables in an ADN with BESSs.

A. IEKF Algorithm

For nonlinear dynamic systems described by differential equations, the IEKF is a commonly used algorithm for estimating state evolution. For each time step, it consists of a prediction stage and a correction stage. In the prediction stage, the state estimate in the previous time step is advanced through a predefined process model to find the “a priori state” estimate of the current time step. In the correction stage, the “a priori” state estimate is corrected by the actually collected measurements from the current time step. The time-discretized state transition and measurement equations of a nonlinear dynamic system are given by:

xt=f(xt-1,ut-1)+wt-1 (2)
zt=h(xt)+vt (3)

where the subscripts t and t-1 represent the variables at the current time step and the previous time step, respectively; x is the state vector; u is the input vector; w is the process noise vector; z is the measurement vector; v is the measurement noise vector; and f and h are the state transition function and the measurement function, respectively.

The prediction stage in the IEKF is used to obtain the “a priori” estimate, denoted by the subscript “()”, from the “a posteriori” estimate, denoted by the subscript “(+)”, from the last time step:

x̂t(-)=f(x̂t-1(+),ut-1) (4)
Pt(-)=FtPt-1FtT+Qt (5)

where the superscript  ̂ represents the estimate of a variable; F=f/x; P is the covariance matrix of the state estimate; and Q is the covariance matrix of the process noise.

When real-time measurements are actually captured, the correction stage of IEKF determines the “a posteriori” state estimate:

Kt=Pt(-)HtT(HtPt(-)HtT+Rt)-1 (6)
x̂t(+)=x̂t(-)+Kt(zt-Htx̂t(-)) (7)
Pt(+)=(I-KtHt)Pt(-) (8)

where I is the identity matrix; H=h/x; R is the covariance matrix of the measurement noise; and K is the well-known Kalman gain. It should be noted that in IEKF, the correction stage equations should be performed iteratively. After executing (6) and (7) once, one should set x̂t(-) as x̂t(+), update Ht, and execute (6) and (7) over again until x̂t(+) converges to a stable value.

B. WLS Algorithm

In the widely studied state estimation problem of the power grid, network equations are algebraic in the phasor domain. The WLS model, which minimizes the weighted sum of the measurement residuals at the current time step, is adopted. At time step t, the WLS formulation can be presented as:

x̂t=argminxt (zt-h(xt))TRt-1(zt-h(xt)) (9)

The covariance matrix of the state estimate is given by:

Pt(+)=(HtTRt-1Ht)-1Gt-1 (10)

In this estimation model, the estimates of state variables xt are determined by the measurements at the current time step zt only.

C. WLS-form IEKF Algorithm

Although the formulations of IFKF and WLS seem to be very different, there is an inherent connection between the two. In fact, it can be shown that the correction stage of IEKF, written as (6)-(8), can be converted to solving an equivalent WLS problem [

37]:

x̂t(+)=argminxt(zt-ht(xt))TRt-1(zt-ht(xt))+(x̂t(-)-xt)TPt(-)-1(x̂t(-)-xt)=argminxt(z˜t-h˜t(xt))TR˜t-1(z˜t-h˜t(xt)) (11)

where z˜t=(ztT,x̂t(-)T)T; R˜t=diag(Rt,Pt(-)); H˜tT=h˜t/xt; and h˜t(xt)=(h˜t(xt)T,xtT)T. The covariance matrix of the state estimate is given by:

Pt(+)=(H˜tTR˜t-1H˜t)-1G˜t-1 (12)

It is already proven that (7) and (8) are equivalent to (11) and (12), respectively. In other words, the correction stage of IEKF is equivalent to performing a WLS-based “static state estimation”, with the measurement vector including the actual measurements from the current time step zt, and the “a priori” state estimate x̂t(-) obtained from the prediction stage as pseudo-measurements. This equivalence property will be exploited in the development of a framework for estimating the state variables of an ADN with integrated BESSs.

IV. State Estimation of ADN with BESSs

This section develops a state estimation framework for an ADN with BESSs. The state variables that can characterize the operating state of the system will be selected, and state transition equations and measurement equations associated with available sensors in the BESS will be derived. A WLS-form IEKF method and the LNR method will be presented for state estimation and bad data processing, respectively. Before moving forward, there are two points to be made clear.

1) In literature, a large volume of research has been dedicated to addressing specific issues pertaining to ADN state estimation. For example, solutions to the unbalanced three phases can be found in [

2], [3]; solutions to the integration of diverse types of sensor measurements (supervisory control and data acquisition (SCADA), PMU, AMI, etc.) can be found in [8]-[11]; and solutions to the lack of observability or measurement redundancy can be found in [12], [13]. Obviously, these issues do not automatically disappear when it comes to the state estimation of an ADN with BESSs. However, as they have already been extensively investigated in numerous publications, it is neither possible nor necessary to reiterate all of them in this single paper. Thus, this paper is dedicated to presenting the fusion of ADN state estimation and BESS SOC estimation into one holistic paradigm, which constitutes the core innovation of the paper. Due to its generality, the proposed work can be readily combined with solutions presented in [2], [3], [8]-[13] to address the aforementioned issues in ADN state estimation as needed.

2) While the discussion focuses on distribution systems where BESSs are proliferating rapidly, the proposed estimation framework is general enough to be used for the monitoring of BESSs in transmission systems, since both the transmission system state estimation and the distribution system state estimation share the same core engine (WLS estimator based on steady-state algebraic network equations). As is evident, massive-scale BESSs have been and will continue to be deployed in transmission systems as well [

38].

A. State Transition Equations and Measurement Equations

The structure of a grid-connected BESS is illustrated in Fig. 2. The main components include the battery array, the DC/DC converter, the DC/AC inverter, and the transformer.

Fig. 2  Structure of grid-connected BESS.

Suppose the PCC of the BESS (labeled as α) is bus i of the power grid; Vi and θi are the voltage magnitude and phase angle of the PCC, respectively; Pi and Qi are the active and reactive power injected into the PCC, respectively; dα is the transformer ratio; Mα and δα are the modulation ratio and the modulation phase angle of the DC/AC converter, respectively; Eα and ξα are the output voltage magnitude and the voltage phase angle of the DC/AC converter, respectively; Vdc,α and Idc,α are the output voltage and current of the DC/DC converter, respectively; and Dα is the duty ratio of the DC/DC converter. In the state transition equations and measurement equations derived below, superscripts w, v, and z denote the process noise, measurement noise, and measured values, respectively. In the measurement equations, the time step notation (t) is dropped.

In the equivalent model of the battery, Sα, Vpa,α, and Vpc,α are selected as state variables. Equation (1) is discretized with time interval T into the state transition equations:

Vpa,α(t)=e-T/(R1,αC1,α)Vpa,α(t-1)+R1,α(1-e-T/(R1,αC1,α))Iba,α(t-1)+Vpa,αw(t-1) (13)
Vpc,α(t)=e-T/(R2,αC2,α)Vpc,α(t-1)+R2,α(1-e-T/(R2,αC2,α))Iba,α(t-1)+Vpc,αw(t-1) (14)
Sα(t)=Sα(t-1)+ηαTCn,αIba,α(t-1)+Sαw(t-1) (15)

At the same time, Vba,α and Iba,α are the measurable variables, and their measurement equations can be expressed as:

Iba,αz=Iba,α+Iba,αv (16)
Vba,αz=Eba,α(Sα)-Vpa,α-Vpc,α-R0,αIba,α+Vba,αv (17)

Next, the state transition equations and measurement equations for the power converters will be considered. The dynamics of power converters are in the time scale of microseconds, which are several orders smaller in magnitude than the time scale of the battery dynamics. Hence, the power converters can be treated as being in steady state, described by algebraic equations. Therefore, state transition equations do not apply, and only measurement equations need to be derived.

Denote the efficiency of the DC/DC converter as ηdc/dc,α, and select Vdc,α and Iba,α as state variables. The measurement equations can be derived as:

Dαz=1-Vdc,αEba,α(Sα)-Vpa,α-Vpc,α-R0,αIba,α+Dαv (18)
Vdc,αz=Vdc,α+Vdc,αv (19)
Idc,αz=ηdc/dc,αIba,αVdc,α(Eba,α(Sα)-Vpa,α-Vpc,α-R0,αIba,α)+Idc,αv (20)

Denote the efficiency of the DC/AC converter as ηdc/ac,α, and select the output voltage magnitude Eα and phase angle δα as state variables. The measurement equations are expressed as:

Mαz=EαVdc,α+Mαv (21)
Eαz=Eα+Eαv (22)
δαz=θi-ξα+δαv (23)

As mentioned at the beginning of this subsection, it is assumed that the PCC of the BESS is bus i of the ADN. Hence, Vi and θi can be selected as state variables, and the measurement equations can be expressed as:

Viz=Vi+Viv (24)
Pαz=Eα(gsα+gαi)-EαVi(gαicos(ξα-θi)+bαisin(ξα-θi))+Pαv (25)
Qαz=-Eα(bsα+bαi)-EαVi(gαicos(ξα-θi)-bαisin(ξα-θi))+Qαv (26)
Piz=hpi(Vi,Vj,,θi,θj,)-Eα(gsα+gαi)+EαVi(gαicos(ξα-θi)+bαisin(ξα-θi))+Piv (27)
Qiz=hqi(Vi,Vj,,θi,θj,)+Eα(bsα+bαi)+EαVi(gαicos(ξα-θi)-bαisin(ξα-θi))+Qiv (28)
0=ηdc/dc,αηdc/ac,αIba,α(Eba,α(Sα)-Vpa,α-Vpc,α-R0,αIba,α)-Eα2(gsα+gai)+EαVi(gaicos(ξα-θi)+baisin(ξα-θi))+ΔPαz (29)

where hpi() and hqi() describe the relationships between the voltage magnitudes and phase angles of the buses in the ADN and the injected active and reactive power at bus i, respectively; and gsα+jbsα and gαi+jbαi are the shunt and series admittances derived from the transformer model, respectively. Equation (29) is a virtual measurement describing the power conservation law.

In summary, in order to monitor the state of BESS α, the dynamic state variables, i.e., state variables associated with differential equations, in BESS α are defined as:

xd,α=[Sα,Vpa,α,Vpc,α]T (30)

The static state variables, i.e., state variables associated with algebraic equations only, are defined as:

xs,α=[Iba,α,Vdc,α,Eα,δα]T (31)

The overall state vector is defined as:

xα=[Sα,Vpa,α,Vpc,α,Iba,α,Vdc,α,Eα,δα]T (32)

Note that Vi and θi are left out of the list since they are state variables of the ADN.

The collective measurement vector is defined as:

zα=[Vba,αz,Iba,αz,Dαz,Vdc,αz,Idc,αz,Mαz,Eαz,δαz,Pαz,Qαz,0]T (33)

Note that Viz, Piz, and Qiz are left out of the list since they are measurements of the ADN.

For ADNs, the state variables are the voltage magnitude Vi and phase angle θi. The measurements mainly include the voltage magnitude Vi, the active and reactive power injections of each bus Pi and Qi, and the active and reactive power flows of each branch Pij and Qij. Detailed measurement equations in the power grid can be found in [

39].

The state variables in the power grid are:

xN=[V1,V2,,Vi,,θ1,θ2,,θi,]T (34)

The measurements in the power grid are:

zN=[V1,V2,,Vi,,P1,P2,,Pi,,Q1,Q2,,Qi,,Pij,,Qij,]T (35)

B. Joint State Estimation for BESSs and ADNs

For an ADN with multiple BESSs (α, β, , ζ ), one has:

z=[zα,zβ,,zζ,zN]T (36)
x=[xα,xβ,,xζ,xN]T (37)

where z and x are the collective measurement vector and the state vector of the whole system, respectively.

From the last subsection, recall that for the BESS, some of the state variables are dynamic, while others are static. In the ADN, all the state variables are static. In this paper, a WLS-form IEKF estimator will be developed to jointly estimate the dynamic and static state variables of the whole system. The state vector can be reorganized by separating the dynamic and static state variables:

x=[xd,αT,xs,αT,xd,βT,xs,βT,...,xd,ζT,xs,ζT,xNT]T=[xd,αT,xd,βT,...,xd,ζT,xs,αT,xs,ζT,...,xs,βT,xNT]T=[xdT,xsT]T (38)

The procedure for estimating the state of an ADN with BESSs are summarized as follows.

Step 1:   set time step t=0. Initialize the “a posteriori” estimate of state variables x̂t(+)=[x̂d,t(+)T,x̂s,t(+)T]T, and the covariance matrix of the “a posteriori” estimate of dynamic state variables Pd,t(+). Set the state estimate tolerance τ>0, bad data detection threshold c>0, and time window T for executing state estimation.

Step 2:   set tt+1.

Step 3:   prediction stage. Based on the state transition equations, predict the “a priori” estimate of the dynamic state variables x̂d,t(-) at time t as (39).

x̂d,t(-)=f(x̂d,t-1(+),ud,t-1(+)) (39)

where f is derived from (14)-(16). Note that these state transition equations are actually linear. Therefore, the “a priori” estimate of the dynamic state variables x̂d,t(-) is an unbiased estimate if the process noise has zero mean.

Step 4:   evaluate the covariance matrix:

Pd,t(-)=Ft-1TPd,t-1+Ft-1+Qd,t-1 (40)

Step 5:   correction stage. Solve the following WLS problem:

x̂d,t(+),x̂s,t(+)=argminxd,t,xs,t(zt-ht(xd,t,xs,t))TRt-1(zt-ht(xd,t,xs,t))+(x̂d,t--xd,t)TPd,t(-)-1(x̂d,t--xd,t)=argminxt(z˜t-h˜t(xt))TR˜t-1(z˜t-h˜t(xt)) (41)

where z˜t=[ztT,x̂d,t(-)T]T; h˜t(xt)=[(h˜t(xt))T,xd,tT]T; and R˜t=diag(Rt, Pd,t(-)). The Gauss-Newton method can be used for solving this problem, detailed as follows.

1) Set iteration number k=0. Initialize state variables xk,t=[xd,k,tT,xs,k,tT]T.

2) Evaluate the Jacobian matrix and the gain matrix as:

H˜k,t(xk,t)=h˜k,t(xk,t)xk,t (42)
G˜k,t(xk,t)=H˜k,tT(xk,t)R˜k,t-1H˜k,t(xk,t) (43)

3) Evaluate the state update vector as:

Δxk,t=(G˜k,t(xk,t))-1H˜k,tT(xk,t)Rk,t-1(z˜k,t-h˜k,t(xk,t)) (44)

4) Update the state estimate vector by:

xk+1,t=xk,t+Δxk,t (45)

5) If ||Δxk,t||>τ, set kk+1, and return to 2); otherwise, set x̂t(+)=xk,t and H˜t=H˜k,t, and proceed to Step 6. The “a posteriori” estimate of all state variables x̂t(+) is an unbiased estimate if the measurement error has zero mean.

Step 6:   evaluate the covariance matrix of the state estimate as:

Pt(+)=(H˜tTR˜t-1H˜t)-1G˜t-1 (46)

The covariance matrix of the “a posteriori” estimate of dynamic state variables, which is needed to perform prediction in the next time step, can be obtained by extracting the diagonal block of Pt(+) corresponding to the dynamic state variables Pd,t(+).

Step 7:   identify and correct bad data by performing the LNR test.

1) The value of the normalized residual is obtained by:

r˜tN=(diag(Ω˜t))-12r˜t (47)

where Ω˜t=R˜t-H˜t(x̂t(+))(H˜tT(x̂t(+))R˜t-1H˜t(x̂t(+)))-1H˜tT(x̂t(+)) is the residual covariance matrix; and r˜t=z˜t-h˜t(x̂t(+)) is the residual vector.

2) Find the measurement corresponding to the LNR as:

u=argminj{r˜t,jN} (48)

where r˜t,jN is the jth entry of vector r˜tN.

3) If |r˜t,uN|>c, correct the corresponding measurement by (49) and return to Step 5. Otherwise, process to Step 8.

z˜t,uz˜t,u-R˜t,uuΩ˜t,uur˜t,u (49)

where z˜t,u, R˜t,uu, Ω˜t,uu, and r˜t,u are the elements of z˜t, R˜t, Ω˜t, and r˜t, respectively.

Step 8:   return to Step 2 if t < T; otherwise, terminate the procedure.

In reality, the covariance matrices for process noise and measurement noise Qt and Rt can be assigned based on the confidence on battery models and the accuracy classes of sensors. If they are difficult to determine, adaptive estimation methods can be applied to obtain optimal values of Qt and Rt that yield high estimation accuracy [

40], [41]. It should also be noted that the uncertainty resulting from long-term phenomenon such as capacity decreases due to aging, existing capacity prediction works can be applied in parallel to the proposed work to form a complete monitoring solution over the battery life [42]-[44].

Remark 1: in this procedure, only the dynamic state variables are involved in the prediction stage, i.e., Step 3, and both the dynamic and static state variables are involved in the correction stage, i.e., Step 5.

Remark 2: in the correction stage, the “a priori” estimates of the dynamic states acts as if they are additional pseudo-measurements, providing extra information in addition to the actually collected real-time measurements.

Remark 3: in the WLS-form correction stage, the inverse of the gain matrix G˜t-1 is the covariance matrix of the state estimate. Therefore, it can be used to extract the covariance of the “a posteriori” estimate of the dynamic state variables.

Remark 4: thanks to the correction stage, the LNR test can be performed to detect and identify the bad data.

V. Case Study

In order to verify the effectiveness of the proposed framework, the IEEE 33-bus test system is used for simulation. The system topology and measurement configuration are shown in Fig. 3, where “N” denotes the real and reactive power injections and “PF” denotes the real and reactive branch flows. In addition, the voltages at buses 1, 2, 4, 15, 21 are also measured. Two BESSs, denoted as α and β, are connected to buses 14 and 26, respectively. While a distribution system is chosen for case study, it should be noted that the general WLS-form IEKF estimation framework is applicable to transmission systems as well. The maximum power output and energy storage capacity are 0.18 MW and 800 Ah, respectively. A nine-order polynomial is used to represent the relation between the SOC and the internal electromotive force, Eba(S). Both the BESSs operate in the discharging mode with an initial SOC of 0.7. The efficiencies of the DC/DC converter and DC/AC converter are 95% and 96%, respectively. The discharging current is 400 A, and the discharging voltage is 450 V. The output voltage magnitude of the DC/DC converter is 600 V, and the input voltage magnitude of the DC/AC converter is 99.44 V.

Fig. 3  IEEE 33-bus test system with BESSs.

A. State Estimation in Presence of Random Noise

In order to compare the accuracy of the proposed holistic estimation framework with the conventional siloed frameworks of BESS SOC estimation and ADN state estimation, the process noise and measurement noise obeying Gaussian distributions are introduced. The process noise may come from inaccurate modeling or small disturbances that the model cannot account for in reality, and its magnitude is typically much lower than that of measurement noise. Results are averaged over 20 executions and 1500 s in each simulation case.

1) Improvement for BESS SOC Estimation

For the BESS, the comparison between the root mean square errors (RMSEs) of the SOC estimation results using the proposed holistic estimation framework and the conventional BESS SOC estimation framework [

19] under various noise conditions is shown in Table I. In the table, SD stands for standard deviation, and RMSE stands for root mean square error. Note that the simulated noise conditions range from the typical SCADA measurement accuracy level to the typical pseudo-measurement accuracy level in the ADN. Under various conditions, the proposed holistic estimation framework achieves higher accuracy for the SOC estimate than the conventional BESS SOC estimation framework where the battery model is isolated from the grid model. This improvement meets the expectation since the joint modeling and estimation of the BESS and the power grid improve the measurement redundancy, which leads to better filtering effect of IEKF.

TABLE I  SOC Estimation Results Using Proposed Holistic Estimation Framework and Conventional Isolated Battery Model

SD of process noise

(BESS) (%/s)

SD of measurement noise (P, Q in ADN) (%)SD of measurement noise (BESS; V in ADN) (%)

RMSE of SOC estimate

(isolated)

RMSE of SOC estimate (holistic)
0.005 1 0.1 1.15×10-5 9.09×10-6
0.015 3 0.3 2.28×10-5 1.78×10-5
0.025 5 0.5 4.85×10-5 3.91×10-5
0.035 7 0.7 6.15×10-5 5.90×10-5
0.045 9 0.9 9.34×10-5 8.25×10-5

2) Improvement for ADN State Estimation

For the ADN, simulation results in two different noise scenarios are presented, as specified in Table II.

TABLE II  Standard Deviations of Noise in Two Scenarios
ScenarioSD of process noise (BESS) (%/s)SD of measurement noise (BESS) (%)SD of measurement noise (V in ADN) (%)

SD of measurement noise

(P, Q in ADN) (%)

1 0.005 0.1 0.5 5
2 0.045 0.9 0.5 5

1) In scenario 1, the measurement noise of the BESS is significantly lower than the measurement noise of the ADN voltages (0.1% versus 0.5%).

2) In scenario 2, the measurement noise of the BESS is significantly higher than that of the ADN voltages (0.9% versus 0.5%).

The MAEs of voltage estimates in these two scenarios are shown in Figs. 4 and 5, respectively. For the two scenarios, the following observations are obtained.

Fig. 4  MAEs of voltage estimates of IEEE 33-bus system in scenario 1.

Fig. 5  MAEs of voltage estimates of IEEE 33-bus system in scenario 2.

1) For scenario 1, the proposed holistic estimation yields significantly more accurate results compared with the conventional BESS SOC estimation and ADN state estimation. This is easily understood from the fact that the BESS measurements have higher accuracy than the ADN measurements, and the incorporation of BESS measurements helps improve the accuracy of ADN state estimation.

2) For scenario 2, it is discovered that the proposed holistic estimation also outperforms the conventional BESS SOC estimation and ADN state estimation for a vast majority of buses. This is particularly interesting, since the BESS measurements have lower accuracy than the ADN measurements, and it is not intuitive to understand how the BESS measurements can still enhance the ADN state estimation. The reason is that the BESS SOC estimation contains state transition equations, which fuse information from measurements at different time instants. Since the measurement noise is centered around zero, its effects tend to be smoothed out, yielding a smooth state estimate trajectory with small errors. In contrast, when the BESS SOC estimation is not incorporated, no state transition equations are involved in the ADN state estimation, and the estimation processes for each time instant are completely separate. In that case, no smoothing effect can be achieved.

Based on the results presented above, it can be concluded that the proposed holistic estimation brings mutual benefits for both the accuracy of ADN state estimation and the accuracy of BESS SOC estimation.

B. State Estimation in Presence of Bad Data

In order to verify the bad data processing capability of the proposed holistic estimation, several artificial bad data are introduced, and the LNR-based bad data processing approach is performed. Specifically, bad data are introduced into the battery output current of BESS α (Iba,α), the voltage at bus 21 of the ADN (V21), and the active power injectes into bus 25 of the ADN (P25), respectively. The introduced error magnitudes and time intervals are shown in Table III. In addition to the bad data, the noise of 0.005%/s in state evolution, 1% in power measurements, 0.1% in voltage measurements and BESS SOC measurements, are introduced simultaneously.

Table III  Introduced Erroneous Values and Time Intervals
MeasurementTrue value (p.u.)Erroneous value (p.u.)Time interval (s)
Iba,α 0.7596 1.5240 400-600
V21 0.9935 1.3388 800-1000
P25 -0.0420 -0.0830 1200-1400

For the BESS, the trajectories of the estimated output currents and SOCs of the BESS α with and without the bad data processing are shown in Figs. 6 and 7, respectively. Between 400 s and 600 s, the measured output current of the battery is erroneous. Without the bad data processing, the output current cannot be effectively estimated, and since the change of the SOC is the integral of the output current, the estimated SOC will deviate from the true value. In contrast, when the bad data processing is preformed, the output current can be corrected and the trajectory of the SOC estimate will remain close to the true trajectory. From the presented results, two observations are particularly noticeable.

Fig. 6  Estimated battery output currents of BESS α in the presence of bad data.

Fig. 7  Estimated SOCs of BESS α in the presence of bad data.

1) The battery output/input current is a crucial variable for BESS SOC estimation. Bad data in the output current measurement will result in the deviation of the SOC estimate from the true trajectory, and this impact will persist even after the bad data are cleared for a long time.

2) The bad data identification and correction capability for the output current of a battery is achieved by the proposed holistic state estimation. It provides the measurement redundancy necessary for carrying out the bad data processing. If the BESS SOC estimation is isolated from the ADN state estimation as is conventionally done, it would not be possible to identify and correct errors in the output current, thus the SOC estimate would be left vulnerable.

For the ADN, the estimated voltage at bus 25 is shown in Fig. 8. Without bad data processing, large deviations from the true values can be observed in the results. When the bad data processing is performed, the impacts of the errors in the measurements of both the BESS SOC estimation and ADN state estimation are eliminated, and the estimated values keep track of the true state trajectory effectively.

Fig. 8  Estimated voltage at bus 25 in the presence of bad data.

C. Computational Efficiency

The proposed holistic state estimation is implemented in MATLAB 2018a environment, and tested on a personal computer with a 4-core 2.5 GHz CPU and 16 GB RAM. Over 1500 time steps of the simulation, the average computational time taken by each time step is 0.083 s. For the purposes of ADN and BESS monitoring and control, the required frequency of algorithm execution will be in the time scale of seconds or lower, so the proposed framework can readily satisfy real-time application requirements.

VI. Conclusion

In this paper, a holistic framework for the state estimation of ADN with BESSs is proposed. Based on the developed BESS model, the state transition and measurement equations of the grid-connected BESS are derived, and a holistic state estimation and bad data processing formulation is presented for capturing the operating states of both the ADN and BESS.

The simulation results show that the proposed framework achieves significantly higher estimation accuracy compared with performing state estimation for the power grid and SOC estimation for the battery separately. In addition, the proposed framework enables bad data identification and correction for the BESS SOC estimation. It is found that the gross error in the output current measurement of a BESS has crucial and persistent impact on SOC estimate. By performing bad data identification and correction, the effect of bad data can be effectively eliminated.

The proposed framework is expected to enhance the situational awareness and facilitate the development of reliable and economic ADN operation paradigm with full exploitation of BESS capabilities. In future work, the proposed framework will be further extended to provide a holistic situational awareness solution to integrated and renewable energy systems [

45], [46].

References

1

A. K. Marvasti, Y. Fu, S. DorMohammadi et al., “Optimal operation of active distribution grids: a system of systems framework,” IEEE Transactions on Smart Grid, vol. 5, no. 3, pp. 1228-1237, May 2014. [Baidu Scholar] 

2

M. C. de Almeida and L. F. Ochoa, “An improved three-phase AMB distribution system state estimator,” IEEE Transactions on Power Systems, vol. 32, no. 2, pp. 1463-1473, Mar. 2017. [Baidu Scholar] 

3

Y. Liu, J. Li, and L. Wu, “State estimation of three-phase four-conductor distribution systems with real-time data from selective smart meters,” IEEE Transactions on Power Systems, vol. 34, no. 4, pp. 2632-2643, Jul. 2019. [Baidu Scholar] 

4

M. E. Baran and A. W. Kelley, “A branch-current-based state estimation method for distribution systems,” IEEE Transactions on Power Systems, vol. 10, no. 1, pp. 483-491, Feb. 1995. [Baidu Scholar] 

5

C. Gomez-Quiles, A. Gomez-Exposito, and A. de la Villa Jaen, “State estimation for smart distribution substations,” IEEE Transactions on Smart Grid, vol. 3, no. 2, pp. 986-995, Jun. 2012. [Baidu Scholar] 

6

D. A. Haughton and G. T. Heydt, “A linear state estimation formulation for smart distribution systems,” IEEE Transactions on Power Systems, vol. 28, no. 2, pp. 1187-1195, May 2013. [Baidu Scholar] 

7

R. Huang, G. Cokkinides, C. Hedrington et al., “Distribution system distributed quasi-dynamic state estimator,” IEEE Transactions on Smart Grid, vol. 7, no. 6, pp. 2761-2770, Nov. 2016. [Baidu Scholar] 

8

S. Prasad and D. M. V. Kumar, “Trade-offs in PMU and IED deployment for active distribution state estimation using multi-objective evolutionary algorithm,” IEEE Transactions on Instrumentation and Measurement, vol. 67, no. 6, pp. 1298-1307, Jun. 2018. [Baidu Scholar] 

9

P. A. Pegoraro, A. Meloni, L. Atzori et al., “PMU-based distribution system state estimation with adaptive accuracy exploiting local decision metrics and IoT paradigm,” IEEE Transactions on Instrumentation and Measurement, vol. 66, no. 4, pp. 704-714, Apr. 2017. [Baidu Scholar] 

10

A. Alimardani, F. Therrien, D. Atanackovic et al., “Distribution system state estimation based on nonsynchronized smart meters,” IEEE Transactions on Smart Grid, vol. 6, no. 6, pp. 2919-2928, Nov. 2015. [Baidu Scholar] 

11

A. Gómez-Expósito, C. Gómez-Quiles, and I. Džafić, “State estimation in two time scales for smart distribution systems,” IEEE Transactions on Smart Grid, vol. 6, no. 1, pp. 421-430, Jan. 2015. [Baidu Scholar] 

12

A. Angioni, T. Schlösser, F. Ponci et al., “Impact of pseudo-measurements from new power profiles on state estimation in low-voltage grids,” IEEE Transactions on Instrumentation and Measurement, vol. 65, no. 1, pp. 70-77, Jan. 2016. [Baidu Scholar] 

13

Y. Huang, Q. Xu, C. Hu et al., “Probabilistic state estimation approach for AC/MTDC distribution system using deep belief network with non-Gaussian uncertainties,” IEEE Sensors Journal, vol. 19, no. 20, pp. 9422-9430, Oct. 2019. [Baidu Scholar] 

14

M. T. Lawder, B. Suthar, P. W. C. Northrop et al., “Battery energy storage system (BESS) and battery management system (BMS) for grid-scale applications,” Proceedings of the IEEE, vol. 102, no. 6, pp. 1014-1030, Jun. 2014. [Baidu Scholar] 

15

Z. Wei, C. Zou, F. Leng et al., “Online model identification and state-of-charge estimate for lithium-ion battery with a recursive total least squares-based observer,” IEEE Transactions on Industrial Electronics, vol. 65, no. 2, pp. 1336-1346, Feb. 2018. [Baidu Scholar] 

16

L. Maharjan, S. Inoue, H. Akagi et al., “State-of-charge (SOC)-balancing control of a battery energy storage system based on a cascade PWM converter,” IEEE Transactions on Power Electronics, vol. 24, no. 6, pp. 1628-1636, Jun. 2009. [Baidu Scholar] 

17

M. H. K. Tushar, A. W. Zeineddine, and C. Assi, “Demand-side management by regulating charging and discharging of the EV, ESS, and utilizing renewable energy,” IEEE Transactions on Industrial Informatics, vol. 14, no. 1, pp. 117-126, Jan. 2018. [Baidu Scholar] 

18

S. Piller, M. Perrin, and A. Jossen, “Methods for state-of-charge determination and their applications,” Journal of Power Sources, vol. 96, no. 1, pp. 113-120, Jun. 2001. [Baidu Scholar] 

19

Z. Chen, Y. Fu, and C. Mi, “State of charge estimation of lithium-ion batteries in electric drive vehicles using extended Kalman filtering,” IEEE Transactions on Vehicular Technology, vol. 62, no. 3, pp. 1020-1030, Mar. 2013. [Baidu Scholar] 

20

M. Partovibakhsh and G. Liu, “An adaptive unscented Kalman filtering approach for online estimation of model parameters and state-of-charge of lithium-ion batteries for autonomous mobile robots,” IEEE Transactions on Control Systems Technology, vol. 23, no. 1, pp. 357-363, Jan. 2015. [Baidu Scholar] 

21

C. Chen, R. Xiong, and W. Shen, “A lithium-ion battery-in-the-loop approach to test and validate multiscale dual H infinity filters for state-of-charge and capacity estimation,” IEEE Transactions on Power Electronics, vol. 33, no. 1, pp. 332-342, Jan. 2018. [Baidu Scholar] 

22

W. Cai and J. Wang, “Estimation of battery state-of-charge for electric vehicles using an MCMC-based auxiliary particle filter,” in Proceedings of American Control Conference (ACC), Boston, USA, Jul. 2016, pp. 4018-4021. [Baidu Scholar] 

23

M. A. Hannan, M. S. H. Lipu, A. Hussain et al., “Neural network approach for estimating state of charge of lithium-ion battery using backtracking search algorithm,” IEEE Access, vol. 6, pp. 10069-10079, Jan. 2018. [Baidu Scholar] 

24

F. Feng, S. Teng, K. Liu et al., “Co-estimation of lithium-ion battery state of charge and state of temperature based on a hybrid electrochemical-thermal-neural-network model,” Journal of Power Sources, vol. 455, p. 227935, Apr. 2020. [Baidu Scholar] 

25

J. C. Á. Antón, P. J. G. Nieto, C. B. Viejo et al., “Support vector machines used to estimate the battery state of charge,” IEEE Transactions on Power Electronics, vol. 28, no. 12, pp. 5919-5926, Dec. 2013. [Baidu Scholar] 

26

M. Charkhgard and M. Farrokhi, “State-of-charge estimation for lithium-ion batteries using neural networks and EKF,” IEEE Transactions on Industrial Electronics, vol. 57, no. 12, pp. 4178-4187, Dec. 2010. [Baidu Scholar] 

27

K. Liu, C. Zou, K. Li et al., “Charging pattern optimization for lithium-ion batteries with an electrothermal-aging model,” IEEE Transactions on Industrial Informatics, vol. 14, no. 12, pp. 5463-5474, Dec. 2018. [Baidu Scholar] 

28

Q. Ouyang, Z. Wang, K. Liu et al., “Optimal charging control for lithium-ion battery packs: a distributed average tracking approach,” IEEE Transactions on Industrial Informatics, vol. 16, no. 5, pp. 3430-3438, May 2020. [Baidu Scholar] 

29

D. Rosewater, R. Baldick, and S. Santoso, “Risk-averse model predictive control design for battery energy storage systems,” IEEE Transactions on Smart Grid, vol. 11, no. 3, pp. 2014-2022, May 2020. [Baidu Scholar] 

30

W. Cao and H. Wang, “An improved corrective security constrained OPF with distributed energy storage,” IEEE Transactions on Power Systems, vol. 31, no. 2, pp. 1537-1545, Mar. 2016. [Baidu Scholar] 

31

N. Padmanabhan, M. Ahmed, and K. Bhattacharya, “Battery energy storage systems in energy and reserve markets,” IEEE Transactions on Power Systems, vol. 35, no. 1, pp. 215-226, Jan. 2020. [Baidu Scholar] 

32

Y. Lin and A. Abur, “A highly efficient bad data identification approach for very large scale power systems,” IEEE Transactions on Power Systems, vol. 33, no. 6, pp. 5979-5989, Nov. 2018. [Baidu Scholar] 

33

M. Chen and G. A. Rincon-Mora, “Accurate electrical battery model capable of predicting runtime and I-V performance,” IEEE Transactions on Energy Conversion, vol, 21, no. 2, pp. 504-511, Jun. 2006. [Baidu Scholar] 

34

H. Dai, X. Wei, and Z. Sun, “Model based SOC estimation for high-power Li-ion battery packs used on FCHVs,” High Technology Letters, vol. 13, no. 3, pp. 322-326, Sept. 2007. [Baidu Scholar] 

35

A. Hentunen, T. Lehmuspelto, and J. Suomela, “Time-domain parameter extraction method for Thévenin-equivalent circuit battery models,” IEEE Transactions Energy Conversion, vol. 29, no. 3, pp. 558-566, Sept. 2014. [Baidu Scholar] 

36

Q. Song, Y. Mi, and W. Lai, “A novel variable forgetting factor recursive least square algorithm to improve the anti-interference ability of battery model parameters identification,” IEEE Access, vol. 7, pp. 61548-61557, Mar. 2019. [Baidu Scholar] 

37

H. W. Sorenson, “Least-squares estimation: from Gauss to Kalman,” IEEE Spectrum, vol. 7, no. 7, pp. 63-68, Jul. 1970. [Baidu Scholar] 

38

U.S. Energy Information Administration. (2020, Apr.). Battery energy storage in the United States: an update on market trends. [Online]. Available: https://www.eia.gov/analysis/studies/electricity/batterystorage/pdf/battery_storage.pdf [Baidu Scholar] 

39

A. Abur and A. Gómez-Expósito, Power System State Estimation: Theory and Implementation. New York: Marcel Dekker, 2004. [Baidu Scholar] 

40

H. He, R. Xiong, X. Zhang et al., “State-of-charge estimation of the lithium-ion battery using an adaptive extended Kalman filter based on an improved Thevenin model,” IEEE Transactions on Vehicular Technology, vol. 60, no. 4, pp. 1461-1469, May 2011. [Baidu Scholar] 

41

F. Sun, X. Hu, Y. Zou et al., “Adaptive unscented Kalman filtering for state of charge estimation of a lithium-ion battery for electric vehicles,” Energy, vol. 36, no. 5, pp. 3531-3540, May 2011. [Baidu Scholar] 

42

K. Liu, Y. Li, X. Hu et al., “Gaussian process regression with automatic relevance determination kernel for calendar aging prediction of lithium-ion batteries,” IEEE Transactions on Industrial Informatics, vol. 16, no. 6, pp. 3767-3777, Jun. 2020. [Baidu Scholar] 

43

K. Liu, X. Hu, Z. Wei et al., “Modified Gaussian process regression models for cyclic capacity prediction of lithium-ion batteries,” IEEE Transactions on Transportation Electrification, vol. 5, no. 4, pp. 1225-1236, Dec. 2019. [Baidu Scholar] 

44

K. Liu, Y. Shang, Q. Ouyang et al., “A data-driven approach with uncertainty quantification for predicting future capacities and remaining useful life of lithium-ion battery,” IEEE Transactions on Industrial Electronics, vol. 68, no. 4, pp. 3170-3180, Apr. 2021. [Baidu Scholar] 

45

Z. Fang, Y. Lin, S. Song et al., “State estimation for situational awareness of active distribution system with photovoltaic power plants,” IEEE Transactions on Smart Grid, vol. 12, no. 1, pp. 239-250, Jan. 2021. [Baidu Scholar] 

46

Y. Chen, Y. Yao, and Y. Lin, “Dynamic state estimation for integrated electricity-gas systems based on Kalman filter,” CSEE Journal of Power and Energy Systems. doi: 10.17775/CSEEJPES.2020.02050 [Baidu Scholar]