This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Combining Trajectory Data with Analytical Lyapunov Functions for Improved Region of Attraction Estimation

Lucas Lugnani1; Morgan Jones2; Luís F. C. Alberto3; Matthew Peet4 and Daniel Dotta1 *This work is supported by the Brazilian agencies CNPQ (grant 170100/2018-9), São Paulo Research Foundation (FAPESP) (grants 2016/08645-9, 2018/07375-3, 2018/20104-9 and 2019/10033-0), Engie (grant PD-00403-0053) and NSF CMMI-1933243.1Lucas Lugnani and Daniel Dotta are with Faculty of Electrical and Computer Engineering, University of Campinas, Brazil lugnani@dsee.fee.unicamp.br; dottad@unicamp.br2Morgan Jones is with the Department of Automatic Control and Systems Engineering, University of Sheffield, UK morgan.jones@sheffield.ac.uk; 3Luís F. C. Alberto is with the São Carlos Engineering School, University of São Paulo, São Carlos, Brazil lfcalberto@usp.br4Matthew Peet is with the School for the Engineering of Matter, Transport and Energy, Arizona State University, Tempe, USA mpeet@asu.edu
Abstract

The increasing uptake of inverter based resources (IBRs) has resulted in many new challenges for power system operators around the world. The high level of complexity of IBR generators makes accurate classical model-based stability analysis a difficult task. This paper proposes a novel methodology for solving the problem of estimating the Region of Attraction (ROA) of a nonlinear system by combining classical model based methods with modern data driven methods. Our method yields certifiable inner approximations of the ROA, typical to that of model based methods, but also harnesses trajectory data to yield an improved accurate ROA estimation. The method is carried out by using analytical Lyapunov functions, such as energy functions, in combination with data that is used to fit a converse Lyapunov function. Our methodology is independent of the function fitting method used. In this work, for implementation purposes, we use Bernstein polynomials to function fit. Several numerical examples of ROA estimation are provided, including the Single Machine Infinite Bus (SMIB) system, a three machine system and the Van-der-Pol system.

I Introduction

Stability analysis is of uttermost importance for the secure planning and operation of modern power systems. Of particular interest is the Transient Angular Stability of a system, defined as the ability of the system to maintain rotor angle synchronism following a disturbance and its subsequent angle excursion [1]. Given a Stable Equilibrium Point (SEP), the Region of Attraction (ROA), defined as the set of initial conditions for which the system tends to the SEP, provides a metric of the strength of angular stability of the system. Moreover, knowledge of the ROA can be used to provide protection parameters and limits of operation that maintain the stability and safety of the system.

For general nonlinear systems, which is the case for generators connected to the grid, there does not exist an analytical expression for the ROA. In the absence of an analytical expression, there is a need for methods that can compute approximations of the ROA. Classically, methods that approximate the ROA in power systems rely on precise system models of generators and line admittances [2, 3]. However, the increasing penetration of IBRs has resulted in more complex machine models and more dynamic operating points. For such complex systems it has become increasingly intractable to use classical model-based methods to accurately approximate the ROA [4]. Fortunately, the advent of Wide Area Measurement Systems (WAMS), gathering high-frequency synchrophasor data has provided new sets of system data with minimal model dependency. Some works have already explored the use of synchrophasors for ROA estimation in the literature.

In [5], data driven ROA estimation is realized through the application of energy function analysis, using PMU measurements that monitor tie-lines of dynamic power flows. Authors from [6] propose an alternative method that uses Global Phase Portraits (GPPs) that contain the singularity points at infinity, providing bounds on the basins of attraction of attractor sets. In a similar vein to the data-driven methods proposed in this paper, authors from [7, 8, 9] use measurement data from stable trajectories to approximate converse Maximal Lyapunov Functions (LFs) and hence construct ROA estimations. Although these methodologies bring new capabilities for high dimensional stability analysis, these methods do not guarantee an inner approximation of the ROA, unlike more classical model-based methods. Notable model based methods include [10] where the stability analysis of power systems is analyzed by constructing LFs using Sum-of-Squares (SOS) programming. Since power systems have nonlinear trigonometric terms, non-automated algebraic reconfiguration is required to use SOS. Alternatively, the works of [6, 4] make analytical approaches that improve upon classical energy function based methods.

Unfortunately, it is often intractable to compute accurate ROA estimations of power systems using model based methods. On the other hand, although data based methods can provide accurate ROA estimations, they do not yield LFs and hence cannot certify inner ROA approximations. The goal of this work is to bridge the gap between the model and data based methods to yield accurate inner ROA approximations.

The main contribution of this paper, presented in Thm. 3, shows how the existence of two functions, V1V_{1} and V2V_{2}, provides a certifiable inner approximation of the ROA of a given ODE. Specifically, if V2V_{2} is a LF and V1V_{1} (not necessarily a LF) is decreasing along the solution map inside a “donut”-shaped region, {xD:γ1V1(x)γ2}\{\hskip-1.42271ptx\hskip-1.42271pt\in\hskip-1.42271ptD\hskip-1.42271pt:\hskip-1.42271pt\gamma_{1}\hskip-2.84544pt\leq\hskip-1.42271ptV_{1}(x)\hskip-2.84544pt\leq\hskip-1.42271pt\gamma_{2}\hskip-1.42271pt\}, we show that it is possible to construct an improved ROA estimation, as compared with the ROA approximation yielded by the LF, V2V_{2}, alone. For implementation, we find such a V1V_{1} by function fitting a converse LF using trajectory data.

II Notation

We denote the η>0\eta>0 neighborhood of a set SnS\subset\mathbb{R}^{n} as Bη(S):={yn:infxSxy2<η}B_{\eta}(S):=\{y\in\mathbb{R}^{n}:\inf_{x\in S}||x-y||_{2}<\eta\}, where ||||2||\cdot||_{2} is the euclidean norm. In the case S={x}S=\{x\} then Bη(x)B_{\eta}(x) becomes a ball of radius η>0\eta>0 centered at xnx\in\mathbb{R}^{n}. We denote the set of all interior points of SnS\subset\mathbb{R}^{n} by SS^{\circ}. Let C(Ω,Θ)C(\Omega,\Theta) be the set of continuous functions with domain Ωn\Omega\subset\mathbb{R}^{n} and image Θm\Theta\subset\mathbb{R}^{m}. For αn\alpha\in\mathbb{N}^{n} we denote the partial derivative Dα:=Πi=1nαixiαiD^{\alpha}:=\Pi_{i=1}^{n}\frac{\partial^{\alpha_{i}}}{\partial x_{i}^{\alpha_{i}}} where by convention if α=[0,..,0]\alpha=[0,..,0]^{\top} we denote Dαf(x):=f(x)D^{\alpha}f(x):=f(x) for any function ff. We denote the set of ii’th continuously differentiable functions by Ci(Ω,Θ):={fC(Ω,Θ):DαfC(Ω,Θ)  for all αn such that j=1nαji}C^{i}(\Omega,\Theta):=\{f\in C(\Omega,\Theta):D^{\alpha}f\in C(\Omega,\Theta)\text{ }\text{ for all }\alpha\in\mathbb{N}^{n}\text{ such that }\sum_{j=1}^{n}\alpha_{j}\leq i\}. For VC1(n,)V\in C^{1}(\mathbb{R}^{n},\mathbb{R}) we denote V:=(Vx1,.,Vxn)\nabla V:=(\frac{\partial V}{\partial x_{1}},....,\frac{\partial V}{\partial x_{n}})^{\top}. We denote the space of dd-degree polynomials p:ΩΘp:\Omega\to\Theta by 𝒫d(Ω,Θ)\mathcal{P}_{d}(\Omega,\Theta).

III Stability of ODEs

Consider a dynamical system, represented by a nonlinear ordinary differential equation (ODE) of the form

x˙(t)=f(x(t)),x(0)=x0n,t[0,)\dot{x}(t)=f(x(t)),\quad x(0)=x_{0}\in\mathbb{R}^{n},\quad t\in[0,\infty) (1)

where f:nnf:\mathbb{R}^{n}\to\mathbb{R}^{n} is the vector field and x0nx_{0}\in\mathbb{R}^{n} is the initial condition. WLOG throughout this paper we will assume f(0)=0f(0)=0 so the origin is an equilibrium point; a linear coordinate transformation can always be used to shift any equilibrium point to the origin.

For simplicity in the following we assume Eq. (1) is well defined. That is there exists a unique solution map ϕfC1(n×+,n)\phi_{f}\in C^{1}(\mathbb{R}^{n}\times\mathbb{R}^{+},\mathbb{R}^{n}) that satisfies δϕf(x,t)δt=f(ϕf(x,t))\frac{\delta\phi_{f}(x,t)}{\delta t}=f(\phi_{f}(x,t)), ϕf(x,0)=x\phi_{f}(x,0)=x and ϕf(ϕf(x,t),s)=ϕf(x,t+s)\phi_{f}(\phi_{f}(x,t),s)=\phi_{f}(x,t+s). Sufficient conditions for the existence and uniqueness of a solution map, based on the smoothness properties of the vector field, can be found in standard textbooks such as [11]. Given an ODE (1), we next introduce notions of asymptotic and exponential stability that are important in showing the existence of the converse LF given later in Eq (3).

Definition 1.

The equilibrium point x=0x=0 of ODE (1) is,

  • stable if, for each ε>0\varepsilon>0, there exists δ>0\delta>0 such that

    ϕf(x,t)2<ε for all xBδ(0) and t0.\displaystyle||\phi_{f}(x,t)||_{2}<\varepsilon\text{ for all }x\in B_{\delta}(0)\text{ and }t\geq 0.
  • asymptotically stable if it is stable and there exists δ>0\delta>0 such that limtϕf(x,t)2=0 for all xBδ(0).\lim_{t\to\infty}||\phi_{f}(x,t)||_{2}=0\text{ for all }x\in B_{\delta}(0).

  • exponentially stable if there exists λ,μ>0\lambda,\mu>0 such that

    ϕf(x,t)2<μeλt||x||2 for all xBδ(0) and t0.\displaystyle||\phi_{f}(x,t)||_{2}<\mu e^{-\lambda t}||x||_{2}\text{ for all }x\in B_{\delta}(0)\text{ and }t\geq 0.

For a given asymptotically stable ODE (1) the main aim of this paper is to estimate the Region of Attraction (ROA):

ROAf:={xRn:limtϕf(x,t)2=0}.\displaystyle ROA_{f}:=\{x\in R^{n}:\lim_{t\to\infty}||\phi_{f}(x,t)||_{2}=0\}. (2)

There is no universal method for analytically solving nonlinear ODEs. Thus, over the years, arguably the most commonly used method to estimate ROAfROA_{f} is Lyapunov’s second method that indirectly estimates ROAfROA_{f} using Lyapunov Functions (LFs); functions that are globally non-negative that decrease along the solution map. The following theorem shows how the sublevel set of a LF can approximate ROAfROA_{f}. In order to present the main Lyapunov theorem used in this paper we recall the definition of an invariant set.

Definition 2.

A set SnS\subset\mathbb{R}^{n} is an invariant set of ODE (1) if for all xSx\in S we have ϕf(x,t)S\phi_{f}(x,t)\in S for all t0t\geq 0.

Theorem 1 (LaSalle’s Invariance Principle [11]).

Consider an ODE (1) defined by some vector field fC1(n,n)f\in C^{1}(\mathbb{R}^{n},\mathbb{R}^{n}). Suppose there exits VC1(D,)V\in C^{1}(D,\mathbb{R}) and a compact invariant set SDS\subseteq D such that

V(x)f(x)0 for all xS.\displaystyle\nabla V(x)^{\top}f(x)\leq 0\text{ for all }x\in S.

Let E:={xS:V(x)f(x)=0}E:=\{x\in S:\nabla V(x)^{\top}f(x)=0\}. Then for all xSx\in S and ε>0\varepsilon>0 there exists T>0T>0 such that ϕf(x,t)Bε(E)\phi_{f}(x,t)\in{B_{\varepsilon}(E)}.

Furthermore, if 0D0\in D, V(0)=0V(0)=0, V(x)>0V(x)>0 for all xD/{0}x\in D/\{0\} and ϕf(x,t)E\phi_{f}(x,t)\in E for all t0t\geq 0 iff x=0x=0 then the ODE is asymptotically stable.

Moreover, if γ>0\gamma>0 is such that {xS:V(x)γ}S\{x\in S:V(x)\leq\gamma\}\subseteq{S} then {xS:V(x)γ}ROAf\{x\in S:V(x)\leq\gamma\}\subseteq ROA_{f}.

Theorem 1 shows that for a given ODE, if we can find a LF, then we can construct an inner-approximate of the ROA of the ODE. However, this theorem does not show that there must necessarily exists a LF for a given ODE or that the ROA of the ODE can be exactly characterized by an LF.

It has been shown in [12] that for any locally exponentially stable ODE (1), there exists a bounded and continuous LF of the form,

Vλ,β(x):={1exp(λ0ϕf(x,t)22β𝑑t) if xROAf1 otherwise,\displaystyle V^{*}_{\lambda,\beta}(x)\hskip-2.84544pt:=\begin{cases}\hskip-1.42271pt1\hskip-1.42271pt-\hskip-1.42271pt\exp\left(\hskip-1.42271pt-\hskip-1.42271pt\lambda\hskip-1.42271pt\int_{0}^{\infty}||\phi_{f}(x,t)||_{2}^{2\beta}dt\right)\hskip-2.84544pt\text{ if }x\in ROA_{f}\\ \hskip-1.42271pt1\text{ otherwise,}\end{cases} (3)

where λ>0\lambda>0 and β\beta\in\mathbb{N}. Moreover, for sufficiently large λ\lambda and β\beta, this converse LF, Vλ,βV^{*}_{\lambda,\beta}, is Lipschitz continuous and hence differentiable almost everywhere (by Rademacher’s theorem). The smoothness properties of this particular converse LF makes it highly suitable for function fitting. Furthermore, {xn:Vλ,β(x)<1}=ROAf\{x\in\mathbb{R}^{n}:V^{*}_{\lambda,\beta}(x)<1\}=ROA_{f}.

IV Fitting Bernstein polynomials to converse Lyapunov functions

Given an ODE (1), in this section we show that by using an ODE solver to generate trajectory data, Eq. (3) can be used to construct input-output data of a converse LF. By fitting a function to this data we can approximate this converse LF in the hope of constructing an ROA estimation.

Specifically, we fit polynomial functions to the generated input/output data of the converse LF. Although there are many ways to fit polynomials to data (each having their relative advantages and disadvantages), in this paper, we have chosen a method based on Bernstein approximations. As we will next see, Bernstein’s method for fitting polynomials to data is an optimization free approach that is guaranteed to converge uniformly.

IV-A Bernstein Approximation of Smooth Functions

We now provide a brief description of how Bernstein polynomials can approximate smooth functions. For a more in-depth overview of the field we refer to [13]. Now, recalling from Section II that we defined 𝒫d(n,)\mathcal{P}_{d}(\mathbb{R}^{n},\mathbb{R}) as the set of dd-degree polynomials we next define the Bernstein operator.

Definition 3.

We denote the degree dd\in\mathbb{N} Bernstein operator by d:C(n,)𝒫d(n,)\mathcal{B}_{d}:C(\mathbb{R}^{n},\mathbb{R})\to\mathcal{P}_{d}(\mathbb{R}^{n},\mathbb{R}) and for VC(n,)V\in C(\mathbb{R}^{n},\mathbb{R}) we define dV𝒫d(n,)\mathcal{B}_{d}V\in\mathcal{P}_{d}(\mathbb{R}^{n},\mathbb{R}) by

dV(x)\displaystyle\vskip-20.0pt\mathcal{B}_{d}V(x) :=kn=0dk1=0dV(k1/d,.,kn/d)\displaystyle:=\sum_{k_{n}=0}^{d}\cdots\sum_{k_{1}=0}^{d}V(k_{1}/d,....,k_{n}/d) (4)
×j=1n(dkj)xjkj(1xj)dkj.\displaystyle\qquad\times\prod_{j=1}^{n}{d\choose k_{j}}x_{j}^{k_{j}}(1-x_{j})^{d-k_{j}}.

Given a function VC(n,)V\in C(\mathbb{R}^{n},\mathbb{R}), we can calculate the polynomial dV\mathcal{B}_{d}V using Eq. (4) with only knowledge of the values of VV at uniformly gridded points in [0,1]n[0,1]^{n}. Thus, in order to calculate dV\mathcal{B}_{d}V it is not necessary to have an analytic expression of VV. We next recall that dVV\mathcal{B}_{d}V\to V uniformly as dd\to\infty. Moreover, although the Bernstein approximation in Eq. (4) only involves the value of the 0th0^{\prime}th differential order of VV, if VV is differentiable, then it follows that the derivative of dV\mathcal{B}_{d}V will also converge to the derivative of VV. This is a particularly useful when it comes to approximating converse LFs because we would also like our approximation to be a LF itself. Thus to make our approximation, PP, have the property that it decreases along solution trajectories, P˙(x)<0\dot{P}(x)<0, we ensure the derivative of PP also approximates the derivative of the converse LF, V˙(x)<0\dot{V}(x)<0.

Theorem 2 (Multivariate uniform approximation by Bernstein polynomials, see Theorem 4 in [13]).

Given α=(α1,,αn)n\alpha=(\alpha_{1},...,\alpha_{n})\subset\mathbb{N}^{n} suppose DαVC(n,)D^{\alpha}V\in C(\mathbb{R}^{n},\mathbb{R}) then it follows

limdsupx[0,1]n|DαdV(x)DαV(x)|=0.\displaystyle\vskip-20.0pt\lim_{d\to\infty}\sup_{x\in[0,1]^{n}}|D^{\alpha}\mathcal{B}_{d}V(x)-D^{\alpha}V(x)|=0. (5)

Theorem 2 shows that Eq. (4) can be used to approximate functions over [0,1]n[0,1]^{n}. Note, using the same methodology, we may also approximate a function, VV, over some set [a,b]n[a,b]^{n} where a<ba<b. In order to do this we first apply a linear coordinate change mapping [a,b]n[a,b]^{n} to [0,1]n[0,1]^{n}, defining V~(x):=V(x1a1b1a1,,xnanbnan)\tilde{V}(x):=V\left(\frac{x_{1}-a_{1}}{b_{1}-a_{1}},...,\frac{x_{n}-a_{n}}{b_{n}-a_{n}}\right).We then apply Eq. (4) to approximate V~(x)\tilde{V}(x) over [0,1]n[0,1]^{n}, yielding dV~\mathcal{B}_{d}\tilde{V} such that limdsupx[0,1]n|DαdV~(x)DαV~(x)|=0\lim_{d\to\infty}\sup_{x\in[0,1]^{n}}|D^{\alpha}\mathcal{B}_{d}\tilde{V}(x)-D^{\alpha}\tilde{V}(x)|=0 (by Theorem 2). Finally, we again change the coordinates, mapping [0,1]n[0,1]^{n} back to [a,b]n[a,b]^{n}, defining J(x):=dV~((b1a1)x1+a1,.,(bnan)xn+an)J(x):=\mathcal{B}_{d}\tilde{V}((b_{1}-a_{1}){x_{1}}+a_{1},....,(b_{n}-a_{n}){x_{n}}+a_{n}). It then follows that

limdsupx[a,b]n|DαJ(x)DαV(x)|\displaystyle\lim_{d\to\infty}\sup_{x\in[a,b]^{n}}|D^{\alpha}J(x)-D^{\alpha}{V}(x)| (6)
=limdsupx[0,1]n|DαJ(x1a1b1a1,,xnanbnan)DαV~(x)|\displaystyle=\hskip-2.27626pt\lim_{d\to\infty}\hskip-1.42271pt\sup_{x\in[0,1]^{n}}\hskip-1.42271pt\left|D^{\alpha}J\left(\frac{x_{1}-a_{1}}{b_{1}-a_{1}},...,\frac{x_{n}-a_{n}}{b_{n}-a_{n}}\right)\hskip-1.42271pt-\hskip-1.42271ptD^{\alpha}\tilde{V}(x)\right|
=limdsupx[0,1]n|DαdV~(x)DαV~(x)|=0.\displaystyle=\lim_{d\to\infty}\sup_{x\in[0,1]^{n}}|D^{\alpha}\mathcal{B}_{d}\tilde{V}(x)-D^{\alpha}\tilde{V}(x)|=0.

IV-B Generating Data from Converse Lyapunov Functions

Converse LFs can be approximated by polynomials using Eq. (4). However, in order to apply Eq. (4) we must know the value of the converse LF at uniformly gridded points in [a,b]n[a,b]^{n} (note approximation over [a,b]n[a,b]^{n} rather than [0,1]n[0,1]^{n} can be achieved through linear coordinate transformations, see Eq. (6)).

Given a set of initial conditions, {xi}1iN[a,b]n\{x_{i}\}_{1\leq i\leq N}\subset[a,b]^{n}, and a terminal trajectory time T>0T>0, it is possible to generate trajectory data Di,j:=ϕf(xi,(j1)Δt)2D_{i,j}:=||\phi_{f}(x_{i},(j-1)\Delta t)||_{2}, where Δt>0\Delta t>0 is some small time-step and 1jT+1Δt1\leq j\leq\frac{T+1}{\Delta t}. This can be achieved using any ODE solver, for instance, Matlab’s ODE45. Of course, in order to use an ODE solver this does require complete knowledge of the vector field, ff. In the case where the model of the system is unknown it may still be possible to generate the required trajectory data from experimental data. Through the semi-group property of solution maps, ϕf(ϕf(x,t),s)=ϕf(x,t+s)\phi_{f}(\phi_{f}(x,t),s)=\phi_{f}(x,t+s), knowledge of just a single trajectory can generate a vast number of data points. Moreover, interpolation can be used in places where there are gaps in our data knowledge.

Now, given λ>0\lambda>0, β\beta\in\mathbb{N} trajectory data, DN×(K+1)D\in\mathbb{R}^{N\times(K+1)}, for sufficiently large KK\in\mathbb{N}, we can approximate the value of the corresponding converse LF given in Eq. (3) in the following way

Vλ,β(xi)1eλW(xi),\displaystyle V^{*}_{\lambda,\beta}(x_{i})\approx 1-e^{-\lambda W(x_{i})}, (7)
where W(xi)0KΔtϕf(xi,t)22β𝑑tj=1K+1Di,j2βΔt.\displaystyle\text{ where }W(x_{i})\approx\int_{0}^{K\Delta t}||\phi_{f}(x_{i},t)||_{2}^{2\beta}dt\approx\sum_{j=1}^{K+1}D_{i,j}^{2\beta}\Delta t.

V Improving ROA Estimation with Approximated Converse Lyapunov Functions

Given an ODE defined by some vector field ff, we have shown that through applications of Eqs. (4) and (7) that it is possible to numerically a construct a Bernstein polynomial approximation, dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} for some dd\in\mathbb{N}, λ>0\lambda>0 and β\beta\in\mathbb{N}, of the converse LF, Vλ,βV^{*}_{\lambda,\beta}, given in Eq. (3). Moreover, assuming that DαVλ,βD^{\alpha}V^{*}_{\lambda,\beta} is continuous, where αn\alpha\in\mathbb{N}^{n}, Theorem 2 can be used to show that limdDαdVλ,βDαVλ,β\lim_{d\to\infty}D^{\alpha}\mathcal{B}_{d}V^{*}_{\lambda,\beta}\to D^{\alpha}V^{*}_{\lambda,\beta} uniformly in [a,b]n[a,b]^{n} (note approximation over [a,b]n[a,b]^{n} rather than [0,1]n[0,1]^{n} can be achieved through linear coordinate transformations, see Eq. (6)).

Ideally, for sufficiently large dd\in\mathbb{N}, λ>0\lambda>0 and β\beta\in\mathbb{N}, our approximation, dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta}, will also be a LF over some set containing the origin; that is dVλ,β(0)=0\mathcal{B}_{d}V^{*}_{\lambda,\beta}(0)=0, dVλ,β(x)0\mathcal{B}_{d}V^{*}_{\lambda,\beta}(x)\geq 0 for all xΩ/{0}x\in\Omega/\{0\}, and dVλ,β(x)f(x)<0\nabla\mathcal{B}_{d}V^{*}_{\lambda,\beta}(x)^{\top}f(x)<0 for all xΩ/{0}x\in\Omega/\{0\}. Then Theorem 1 can be used to show that the sublevel set of dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} yields an inner approximation of the ROA of the given ODE.

Unfortunately, despite the fact dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} tends to Vλ,βV^{*}_{\lambda,\beta} as dd\to\infty and Vλ,βV^{*}_{\lambda,\beta} is a LF, dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} is not necessarily a LF. To see this we first note that, for a given x0[a,b]nx_{0}\in[a,b]^{n} if Vλ,β(x0)f(x0)<a\nabla V^{*}_{\lambda,\beta}(x_{0})^{\top}f(x_{0})<-a, where a>0a>0, it follows by Theorem 2 that there exists DD\in\mathbb{N} such that dVλ,β(x0)Vλ,β(x0)2<a2f(x0)2||\nabla\mathcal{B}_{d}V^{*}_{\lambda,\beta}(x_{0})-\nabla V^{*}_{\lambda,\beta}(x_{0})||_{2}<\frac{a}{2||f(x_{0})||_{2}} for all d>Dd>D. Thus, using the Cauchy Swarz inequality we have that for all d>Dd>D

dVλ,β(x0)f(x0)\displaystyle\nabla\mathcal{B}_{d}V^{*}_{\lambda,\beta}(x_{0})^{\top}f(x_{0}) (8)
=dVλ,β(x0)f(x0)Vλ,β(x0)f(x0)+Vλ,β(x0)f(x0)\displaystyle=\hskip-2.84544pt\nabla\hskip-1.42271pt\mathcal{B}_{d}V^{*}_{\lambda,\beta}(\hskip-0.56917ptx_{0}\hskip-0.56917pt)^{\top}\hskip-4.26773ptf(\hskip-0.56917ptx_{0}\hskip-0.56917pt)\hskip-2.84544pt-\hskip-2.84544pt\nabla\hskip-1.42271ptV^{*}_{\lambda,\beta}(\hskip-0.56917ptx_{0}\hskip-0.56917pt)^{\top}\hskip-4.26773ptf(\hskip-0.56917ptx_{0}\hskip-0.56917pt)\hskip-2.84544pt+\hskip-2.84544pt\nabla\hskip-1.42271ptV^{*}_{\lambda,\beta}(\hskip-0.56917ptx_{0}\hskip-0.56917pt)^{\top}\hskip-4.26773ptf(\hskip-0.56917ptx_{0}\hskip-0.56917pt)
dVλ,β(x0)Vλ,β(x0)2f(x0)2aa2<0.\displaystyle\leq||\nabla\hskip-1.42271pt\mathcal{B}_{d}V^{*}_{\lambda,\beta}(\hskip-0.56917ptx_{0}\hskip-0.56917pt)\hskip-1.42271pt-\hskip-1.42271pt\nabla\hskip-1.42271ptV^{*}_{\lambda,\beta}(\hskip-0.56917ptx_{0}\hskip-0.56917pt)||_{2}||f(\hskip-0.56917ptx_{0}\hskip-0.56917pt)||_{2}\hskip-1.42271pt-\hskip-1.42271pta\leq-\frac{a}{2}<0.

Eq. (8) shows that for sufficiently large dd, whenever Vλ,βV^{*}_{\lambda,\beta} is strictly decreasing along the solution map we also have that dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} is strictly decreasing along the solution map. However, at the origin Vλ,βV^{*}_{\lambda,\beta} is not strictly decreasing along the solution map, that is Vλ,β(0)f(0)=0\nabla V^{*}_{\lambda,\beta}(0)^{\top}f(0)=0. Because of this fact and the fact dVλ,β\mathcal{B}_{d}V^{*}_{\lambda,\beta} is continuous, in general for some finite dd\in\mathbb{N} our approximation will be such that that dVλ,β(x)f(x)0\nabla\mathcal{B}_{d}V^{*}_{\lambda,\beta}(x)^{\top}f(x)\geq 0 for all xx in some small neighborhood of the origin. Thus in general, for finite dd\in\mathbb{N}, it follows that we will have BdVλ,β(x)f(x)<0B_{d}V^{*}_{\lambda,\beta}(x)^{\top}f(x)<0 for all xx in some “donut shaped” region, {yn:γ1BdVλ,β(y)γ2}\{y\in\mathbb{R}^{n}:\gamma_{1}\leq B_{d}V^{*}_{\lambda,\beta}(y)\leq\gamma_{2}\} for some γ1<γ2\gamma_{1}<\gamma_{2}, as opposed to a sublevel set {yn:BdV(y)γ2}\{y\in\mathbb{R}^{n}:B_{d}V^{*}(y)\leq\gamma_{2}\}. By a similar argument, in general, we do not expect BdVλ,β(0)=0B_{d}V^{*}_{\lambda,\beta}(0)=0 for any fixed dd\in\mathbb{N} and thus in general BdVλ,βB_{d}V^{*}_{\lambda,\beta} is not a LF.

Although, BdVλ,βB_{d}V^{*}_{\lambda,\beta} is not a LF, and therefore cannot certify the origin is asymptotically stable, we will next show, in Prop. 1, that functions strictly decreasing along the solution map inside some “donut shaped” region can still be used to certify that the solution map must enter some ball of radius η>0\eta>0 around the origin, Bη(0)B_{\eta}(0).

Proposition 1.

Consider an ODE (1) defined by some vector field fC1(n,n)f\in C^{1}(\mathbb{R}^{n},\mathbb{R}^{n}) and compact set DnD\subset\mathbb{R}^{n}. Suppose VC1(D,)V\in C^{1}(D,\mathbb{R}), γ1<γ2\gamma_{1}<\gamma_{2} and η,ε,a>0\eta,\varepsilon,a>0 are such that

  • Bε({yD:V(y)γ1})Bη(0)B_{\varepsilon}(\{y\in D:V(y)\leq\gamma_{1}\})\subset B_{\eta}(0).

  • {yD:V(y)γ2}D\{y\in D:V(y)\leq\gamma_{2}\}\subset{D^{\circ}}

  • For all xD/{yD:V(y)γ1}x\in D/\{y\in D:V(y)\leq\gamma_{1}\} we have that

    V(x)f(x)<a<0.\nabla V(x)^{\top}f(x)<-a<0. (9)

Then it follows that for any x{yD:V(y)γ2}/Bη(0)x\in\{y\in D:V(y)\leq\gamma_{2}\}/B_{\eta}(0) there exists T>0T>0 such that

ϕf(x,T)Bη(0).\phi_{f}(x,T)\in B_{\eta}(0). (10)
Proof.

Let S:={yD:V(y)γ2}S:=\{y\in D:V(y)\leq\gamma_{2}\} and V~(x):=ρ(V(x))\tilde{V}(x):=\rho(V(x)) where ρ\rho is an infinitely smooth function defined by,

ρ(x):={exp(1(γ1x)2) for x>γ1,0 otherwise.\displaystyle\rho(x):=\begin{cases}\exp\left(\frac{-1}{(\gamma_{1}-x)^{2}}\right)\text{ for }x>\gamma_{1},\\ 0\text{ otherwise.}\end{cases}\vskip-25.0pt

Now, it is clear that V~(x)=0\tilde{V}(x)=0 for all x{yD:V(y)γ1}x\in\{y\in D:V(y)\leq\gamma_{1}\} and hence V~(x)f(x)=0\nabla\tilde{V}(x)^{\top}f(x)=0 for all x{yD:V(y)γ1}x\in\{y\in D:V(y)\leq\gamma_{1}\}. On the other hand, for xS/Dx\in S/D we have that

V~(x)f(x)=2ρ(V(x))V(x)f(x)(V(x)γ1)3<0.\displaystyle\nabla\tilde{V}(x)^{\top}f(x)=\frac{2\rho(V(x))\nabla V(x)^{\top}f(x)}{(V(x)-\gamma_{1})^{3}}<0.\vskip-25.0pt

Therefore, V~(x)f(x)0\nabla\tilde{V}(x)^{\top}f(x)\leq 0 for all xSx\in S. Moreover, since SDS\subset D^{\circ} and V(ϕf(x,t))V(\phi_{f}(x,t)) is strictly decreasing on D\partial D it follows that SS is an invariant set. We are now in a position to apply Thm. 1 for V~\tilde{V}.

Let E:={yD:V~(x)f(x)=0}E:=\{y\in D:\nabla\tilde{V}(x)^{\top}f(x)=0\}. Clearly from the definition of ρ\rho it follows that E={yD:V(x)γ1}E=\{y\in D:{V}(x)\leq\gamma_{1}\} and hence Bε(E)Bη(0)B_{\varepsilon}(E)\subset B_{\eta}(0).

Now, for xSx\in S and δ<ε\delta<\varepsilon by Thm. 1 there exists T>0T>0 such that ϕf(x,T)Bδ(E)Bε(E)Bη(0)\phi_{f}(x,T)\in B_{\delta}(E)\subset B_{\varepsilon}(E)\subset B_{\eta}(0). \blacksquare

In Prop. 1 we have proposed conditions, based on some function we denote here as V1V_{1}, that certify that the solution map of a given ODE must enter some ball, Bη(0)B_{\eta}(0). Recall that V1V_{1} can be found by approximating a converse LF by Bernstein polynomials.

We next show that if there exists a LF, V2V_{2}, that certifies that Bη(0)B_{\eta}(0) is an asymptotically stable set, then V1V_{1} and V2V_{2} can be used together to provide an improved inner approximation of the ROA of the given ODE.

Theorem 3.

Consider an ODE (1) defined by some vector field fC1(n,n)f\in C^{1}(\mathbb{R}^{n},\mathbb{R}^{n}) and compact set DnD\subset\mathbb{R}^{n}. Suppose there exists V1,V2C1(D,)V_{1},V_{2}\in C^{1}(D,\mathbb{R}), γ1<γ2\gamma_{1}<\gamma_{2} and η,ε,a>0\eta,\varepsilon,a>0 are such that

  • Bε({yD:V(y)γ1})Bη(0)B_{\varepsilon}(\{y\in D:V(y)\leq\gamma_{1}\})\subset B_{\eta}(0).

  • {yD:V(y)γ2}D\{y\in D:V(y)\leq\gamma_{2}\}\subset{D^{\circ}}

  • For all xD/{yD:V(y)γ1}x\in D/\{y\in D:V(y)\leq\gamma_{1}\} we have that

    V(x)f(x)<a<0.\nabla V(x)^{\top}f(x)<-a<0. (11)

Moreover, suppose 0D0\in D and for some γ3>0\gamma_{3}>0 V2V_{2} satisfies

  • V2(0)=0V_{2}(0)=0 and V2(x)>0V_{2}(x)>0 for all xD/{0}x\in D/\{0\}.

  • V2(x)f(x)0\nabla V_{2}(x)^{\top}f(x)\leq 0 for all xDx\in D.

  • ϕf(x,t){xD:V2(x)f(x)=0} for t0 iff x=0.\phi_{f}(x,t)\hskip-3.41418pt\in\hskip-2.84544pt\{x\hskip-1.42271pt\in\hskip-1.42271ptD\hskip-1.42271pt:\hskip-1.42271pt\nabla V_{2}(x)^{\top}\hskip-2.84544ptf(x)\hskip-1.42271pt=\hskip-1.42271pt0\}\hskip-1.9919pt\text{ for }\hskip-1.42271ptt\hskip-1.42271pt\geq\hskip-1.42271pt0\hskip-1.42271pt\text{ iff }\hskip-1.42271ptx\hskip-1.42271pt=\hskip-1.42271pt0.

  • Bη(0){yD:V2(y)γ3}DB_{\eta}(0)\subseteq\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq D^{\circ}.

Then {yD:V1(y)γ2}{yD:V2(y)γ3}ROAf\{y\in D:V_{1}(y)\leq\gamma_{2}\}\cup\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f}.

Proof.

By Theorem 1 it follows that {yD:V2(y)γ3}ROAf\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f}.

If x{yD:V1(y)γ2}x\in\{y\in D:V_{1}(y)\leq\gamma_{2}\} then by Prop. 1 there exists T>0T>0 such that

z:=ϕf(x,T)Bη(0){yD:V2(y)γ3}.z:=\phi_{f}(x,T)\in B_{\eta}(0)\subseteq\{y\in D:V_{2}(y)\leq\gamma_{3}\}. (12)

Since {yD:V2(y)γ3}ROAf\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f} it follows that limtϕf(z,t)2=0\lim_{t\to\infty}||\phi_{f}(z,t)||_{2}=0. Therefore, using the semi-group properties of solution maps we have that

limtϕf(x,t)2=limtϕf(ϕf(x,T),tT)2\displaystyle\lim_{t\to\infty}||\phi_{f}(x,t)||_{2}=\lim_{t\to\infty}||\phi_{f}(\phi_{f}(x,T),t-T)||_{2}
=limtϕf(z,tT)2=limsϕf(z,s)2=0,\displaystyle\quad=\lim_{t\to\infty}||\phi_{f}(z,t-T)||_{2}=\lim_{s\to\infty}||\phi_{f}(z,s)||_{2}=0,

implying xROAfx\in ROA_{f}. Because the same argument can be used for any x{yD:V1(y)γ2}x\in\{y\in D:V_{1}(y)\leq\gamma_{2}\} it follows that {yD:V1(y)γ2}ROAf\{y\in D:V_{1}(y)\leq\gamma_{2}\}\subseteq ROA_{f}.

Since {yD:V2(y)γ3}ROAf\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f} and {yD:V1(y)γ2}ROAf\{y\in D:V_{1}(y)\leq\gamma_{2}\}\subseteq ROA_{f} it follows {yD:V1(y)γ2}{yD:V2(y)γ3}ROAf\{y\in D:V_{1}(y)\leq\gamma_{2}\}\cup\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f}. \blacksquare

Practical Implementation of Theorem 3
Thm. 3 shows how two functions, V1V_{1} and V2V_{2}, can be used to produce an inner approximation of the ROA of a given ODE. The function, V2V_{2}, is a classical LF (positive semidefinite and decreasing along trajectories) but provides a poor estimation of the ROA, {yD:V2(y)γ3}ROAf\{y\in D:V_{2}(y)\leq\gamma_{3}\}\subseteq ROA_{f}. On the other hand, V1V_{1} need not be a classical LF as there is no requirement that V2(0)=0V_{2}(0)=0 or V2(x)f(x)0\nabla V_{2}(x)^{\top}f(x)\leq 0 near the origin, making the computational search for a candidate V1V_{1} amenable to data based methods. Whereas, the computational search for a candidate V2V_{2} is redistricted to model based methods (energy functions or Sum-of-Squares programming).

In this paper we compute a candidate V1V_{1} by fitting a Bernstein polynomial to a converse LF (Section IV). We compute candidate a V2V_{2} using several methods including:

  • Linearizing the system and then computing a quadratic LF by solving the resulting Linear Matrix Inequalities (LMIs) (see Subsection VI-A).

  • Using energy functions (see Subsection VI-B).

  • Using Sum-of-Square (SOS) programming (see Subsection VI-D).

Now, for a given ODE defined by a vector field ff and candidate functions, V1V_{1} and V2V_{2}, we next outline how to compute η,γ1,γ2,γ3\eta,\gamma_{1},\gamma_{2},\gamma_{3}\in\mathbb{R} from Thm. 3 to estimate ROAfROA_{f}.
Step 1: Compute the largest ROA estimation yielded by the LF V2V_{2} using Thm. 1. This amounts to finding {xD:V2(x)γ3}ROAf\{x\in D:V_{2}(x)\leq\gamma^{*}_{3}\}\subseteq ROA_{f} where

γ3argsupγ{γ} such that {xD:V2(x)γ}SV2,\displaystyle\gamma^{*}_{3}\hskip-1.42271pt\in\hskip-1.42271pt\arg\sup_{\gamma\in\mathbb{R}}\{\gamma\}\hskip-1.42271pt\text{ such that }\hskip-1.42271pt\{\hskip-1.42271ptx\hskip-1.42271pt\in\hskip-1.42271ptD\hskip-1.42271pt:\hskip-1.42271ptV_{2}(x)\hskip-1.42271pt\leq\hskip-1.42271pt\gamma\}\hskip-1.42271pt\subseteq\hskip-1.42271ptS_{V_{2}}, (13)

and SV2:={xD:V2(x)>0}{xD:V2(x)Tf(x)0}S_{V_{2}}:=\{x\in D:V_{2}(x)>0\}\cap\{x\in D:\nabla V_{2}(x)^{T}f(x)\leq 0\}.
Step 2: Find the largest ball that is certified to be contained inside the ROA. That is, solve

ηargsupη>0{η} such that Bη(0){xD:V2(x)γ3}\displaystyle\eta^{*}\in\arg\sup_{\eta>0}\{\eta\}\text{ such that }B_{\eta}(0)\subseteq\{x\hskip-1.42271pt\in\hskip-1.42271ptD:V_{2}(x)\hskip-1.42271pt\leq\hskip-1.42271pt\gamma^{*}_{3}\} (14)

Step 3: Find largest sublevel set of V1V_{1} contained in Bη(0)B_{\eta}(0). That is, solve

γ1argsupγ>0{γ} such that {xD:V1(x)<γ}Bη(0).\displaystyle\gamma_{1}^{*}\in\arg\sup_{\gamma>0}\{\gamma\}\text{ such that }\{x\hskip-1.42271pt\in\hskip-1.42271ptD:V_{1}(x)\hskip-1.42271pt<\hskip-1.42271pt\gamma\}\hskip-1.42271pt\subset\hskip-1.42271ptB_{\eta}(0). (15)

Step 4: Find the largest ”donut shaped” set such that V1V_{1} is decreasing. That is, solve

γ2argsupγ{γ} such that\displaystyle\gamma_{2}^{*}\in\arg\sup_{\gamma\in\mathbb{R}}\{\gamma\}\text{ such that } (16)
{xD:γ1V1(x)γ}{xD:V1(x)f(x)<0}.\displaystyle\{\hskip-1.42271ptx\hskip-1.42271pt\in\hskip-1.42271ptD:\gamma_{1}^{*}\leq\hskip-1.42271ptV_{1}(x)\hskip-1.42271pt\leq\gamma\hskip-1.42271pt\}\subseteq\{\hskip-1.42271ptx\hskip-1.42271pt\in\hskip-1.42271ptD:\nabla V_{1}(x)^{\top}f(x)\hskip-1.42271pt<\hskip-1.42271pt0\hskip-1.42271pt\}.

Opts. (13), (14) (15) and (16) are all set containment problems that can be solved using Putinar’s Positivstellensatz to formulate auxiliary Sum-of-Squares optimization problems (possibly using algebriac constraints to enforce non-polynomial terms such as in [10]). Alternatively, for two and three dimensional systems we can solve these Opts graphically by preforming bisection on η,γ1,γ2,γ3\eta,\gamma_{1},\gamma_{2},\gamma_{3}\in\mathbb{R}, plotting and verifying the set containment’s hold. In the same way we can attempt to approximately solve these Opts for higher dimensional systems by plotting slices of the state space and graphically certifying the set containments.

Refer to caption
(a) The Van der Pol system
Refer to caption
(b) The SMIB system
Refer to caption
(c) A two machine system
Refer to caption
(d) IEEE three machine system
Figure 1: Our estimations of the ROA of several systems, given by the union of the region contained inside the black (V1V_{1}) and blue (V2V_{2}) curves. The dotted line corresponds to the boundary of the 0-sublevel set of the derivative of V1V_{1} along the solution map.

VI Numerical Examples

We next present several numerical examples demonstrating how Thm. 3 can be used to yield accurate ROA approximations of nonlinear ODEs. For each numerical example we compute V1V_{1} and V2V_{2}, from Thm. 3, by respectively fitting Bernstein polynomials to the converse LF given in Eq. (3) (using Eqs. (4), (6) and (7)) and either using an energy function or an analytical LF (found previously in the literature).

To demonstrate the accuracy of our approximations of the ROA we will carry out extensive Monte Carlo simulations of the solution map to estimate the stable and unstable regions in each figure. Although this Monte Carlo method can estimate the ROA well it does not account for simulation error or provide a LF and hence cannot provide a certified ROA inner approximation.

VI-A Estimating the ROA of the Van der Pol system

Consider the reverse time Van der Pol oscillator defined by the vector field:

fVDP(x)=[x2x1x2(1x12)]\displaystyle f_{VDP}(x)=\begin{bmatrix}-x_{2}\\ x_{1}-x_{2}(1-x_{1}^{2})\end{bmatrix} (17)

The following quadratic LF was found in [11]: VVDP(x)=xPxV_{VDP}(x)=x^{\top}Px, where P=[1.50.50.51]P=\begin{bmatrix}1.5&-0.5\\ -0.5&1\end{bmatrix}.

We now fit the converse LF, Vλ,βV^{*}_{\lambda,\beta} (given in Eq. (3)), for λ=3\lambda=3 and β=1\beta=1 by a degree 7575 Bernstein polynomial over the set D=[2,2]×[2.7,2.7]D=[-2,2]\times[-2.7,2.7]. In Fig. 1(a) we have plotted our estimation of the ROA achieved using this fitted Bernstein polynomial as V1V_{1} and VVDPV_{VDP} as V2V_{2} in Thm. 3. The black and blue curves correspond to the boundaries of {xD:V1(x)<0.74}\{x\in D:V_{1}(x)<0.74\} and {xD:V2(x)<2.25}\{x\in D:V_{2}(x)<2.25\} respectively.

VI-B Estimating the ROA of the Single Machine Infinite Bus (SMIB) system

The SMIB system can be modeled by an ODE (1) with the following vector field:

fSMIB(x):=[x2(1/2H)(PmEEBXeqsin(x1+δep)Dx2)],f_{SMIB}(x)\hskip-1.9919pt:=\hskip-1.9919pt\begin{bmatrix}x_{2}\\ (1/2H)({P_{m}\hskip-1.42271pt-\hskip-1.42271pt\frac{E^{\prime}E_{B}}{X_{eq}}sin(x_{1}\hskip-1.42271pt+\hskip-1.42271pt\delta_{ep})\hskip-1.42271pt-\hskip-1.42271pt{D}x_{2}})\end{bmatrix}\hskip-1.9919pt,

where H=0.0106s2/radH=0.0106s^{2}/rad, Xeq=0.28puX_{eq}=0.28pu, Pm=1puP_{m}=1pu, EB=1puE_{B}=1pu, E=1.21puE^{\prime}=1.21pu, D=0.03D=0.03. It is shown in [14] that the energy of the SMIB system can be expressed as the following function

VE(x):=Pmx1+EEBXeq(cos(δep)cos(x1+δep))+Hx22.\displaystyle V_{E}(x)\hskip-2.84544pt:=\hskip-2.84544pt-P_{m}x_{1}\hskip-2.84544pt+\hskip-2.84544pt\frac{E^{\prime}E_{B}}{X_{eq}}(\cos(\delta_{ep})\hskip-2.84544pt-\hskip-2.84544pt\cos(x_{1}\hskip-2.84544pt+\hskip-2.84544pt\delta_{ep}))\hskip-2.84544pt+\hskip-2.84544ptHx_{2}^{2}.

By graphically solving Opt. (13) for V2=VEV_{2}=V_{E} and f=fSMIBf=f_{SMIB}, we find γ3=5.722\gamma^{*}_{3}=5.722. The boundary of {xn:VE(x)γ3}\{x\in\mathbb{R}^{n}:V_{E}(x)\leq\gamma^{*}_{3}\} is given as the blue curve in Fig. 1(b)

We find a candidate V1V_{1} function of Thm. 3 by fitting a degree 6060 Bernstein polynomial to the converse LF, Vλ,βV^{*}_{\lambda,\beta} (given in Eq. (3)), for λ=10\lambda=10 and β=1\beta=1 over the set D=[0.75π,π]×[30,30]D=[-0.75\pi,\pi]\times[-30,30].

We have plotted the boundary of {yD:V1(y)0.68}\{y\in D:V_{1}(y)\leq 0.68\} as the black curve in Fig. 1(b). These sublevel sets are such that Thm. 3 shows {yD:V1(y)0.68}{yD:V2(y)5.722}ROAfSMIB\{y\in D:V_{1}(y)\leq 0.68\}\cup\{y\in D:V_{2}(y)\leq 5.722\}\subseteq ROA_{f_{SMIB}}, providing an inner approximation of ROAfSMIBROA_{f_{SMIB}}. Moreover, we have plotted the boundary of the set {yD:V1(y)fSMIB(y)0}\{y\in D:\nabla V_{1}(y)^{\top}f_{SMIB}(y)\leq 0\} as the dotted black line. Showing V1(y)fSMIB(y)\nabla V_{1}(y)^{\top}f_{SMIB}(y) may not be negative around a neighborhood of the origin as expected from Sec. V.

Using both V1V_{1} and V2V_{2} we have improved the inner approximation of ROAfSMIBROA_{f_{SMIB}} as compared to the approximation of yielded by the energy function, V2V_{2}, alone.

VI-C Estimating the ROA of a two-machine versus infinite bus system

Consider the following four dimensional power system model found in [15, 10] that represents a two-machine versus infinite bus system which can be modeled by an ODE (1) with the following vector field:

fTMIB(x)=[f1(x),f2(x),f3(x),f4(x)],\displaystyle f_{TMIB}(x)=\begin{bmatrix}f_{1}(x),f_{2}(x),f_{3}(x),f_{4}(x)\end{bmatrix}^{\top}, (18)

where f1(x)=x2f_{1}(x)=x_{2}, f2(x)=33.58491.8868cos(x1x3)5.283cos(x1)16.9811sin(x1x3)59.6226sin(x1)1.8868x2f_{2}(x)=33.5849-1.8868\cos(x_{1}-x_{3})-5.283\cos(x_{1})-16.9811\sin(x_{1}-x_{3})-59.6226\sin(x_{1})-1.8868x_{2}, f3(x)=x4f_{3}(x)=x_{4} and f4(x)=11.3924sin(x1x3)1.2658cos(x1x3)3.2278cos(x3)1.2658x499.3671sin(x3)+48.481f_{4}(x)=11.3924\sin(x_{1}-x_{3})-1.2658\cos(x_{1}-x_{3})-3.2278\cos(x_{3})-1.2658x_{4}-99.3671\sin(x_{3})+48.481. The point xSEP:=[0.468,0,0.463,0]4x_{SEP}:=[0.468,0,0.463,0]^{\top}\in\mathbb{R}^{4} is a stable equilibrium point of Eq. (18). Using a change of variables x~=xxSEP\tilde{x}=x-x_{SEP} we map the equilibrium point to the origin.

We now fit the converse LF, Vλ,βV^{*}_{\lambda,\beta} (given in Eq. (3)), for λ=1\lambda=1 and β=1\beta=1 by a degree 2020 Bernstein polynomial over the set [2,2]×[3,3]×[2,2]×[3,3][-2,2]\times[-3,3]\times[-2,2]\times[-3,3]. Fig. 1(c) shows a slice of the state space when x2=x4=0x_{2}=x_{4}=0 depicting the sublevel set of this Bernstein polynomial along with the ROA estimation found in [10]. By using Thm. 3 we are able to certify an improved ROA estimation (the union of the sublevel sets in Fig. 1(c)).

VI-D Estimating the ROA of a three-machine system

Consider the following four dimensional power system model found in [16] (Page 144) that represents a three-machine system with machine number 3 as swing bus (reference of the system) and can be modeled by an ODE (1) with the following vector field:

f3MS(x)\displaystyle f_{3MS}(x) (19)
=[x2sin(x1)0.5sin(x1x3)0.4x2x40.5sin(x3)0.5sin(x3x1)0.5x4+0.05]\displaystyle=\begin{bmatrix}x_{2}\\ -\sin(x_{1})-0.5\sin(x_{1}-x_{3})-0.4x_{2}\\ x_{4}\\ -0.5\sin(x_{3})-0.5\sin(x_{3}-x_{1})-0.5x_{4}+0.05\end{bmatrix}

The point xSEP:=[0.02001,0,0.06003,0]4x_{SEP}:=[0.02001,0,0.06003,0]^{\top}\in\mathbb{R}^{4} is a stable equilibrium point of Eq. (19). Using a change of variables x~=xxSEP\tilde{x}=x-x_{SEP} we map the equilibrium point to the origin. The ROA of this system has previously been estimated using energy functions in [16]. A more accurate ROA estimation was found in [10] using Sum-of-Squares to find a LF. We now use the LF found in [10] as V2V_{2} in Thm. 3 and compute a V1V_{1} by fitting a degree 2020 Bernstein polynomial to the converse LF, Vλ,βV^{*}_{\lambda,\beta} (given in Eq. (3)), for λ=1\lambda=1 and β=1\beta=1 over the set [4,4]×[0.75,0.75]×[4,4]×[0.75,0.75][-4,4]\times[-0.75,0.75]\times[-4,4]\times[-0.75,0.75]. Fig. 1(d) shows a slice of the state space when x2=x4=0x_{2}=x_{4}=0 and depicts the best ROA estimation found in [10] along with a sublevel set of the resulting fitted Bernstein polynomial. Thm. 3 can be used to certify the union of these sublevel sets are inside the ROA, providing an improved ROA estimation.

VII Conclusion

This work proposes a novel methodology for ROA estimation using an approximated converse Lyapunov function, derived from trajectory data, together with an analytical Lyapunov function. The method yields a certifiable inner ROA estimation. Numerical examples demonstrate that the proposed method is able to expand ROA approximations found using analytical Lyapunov functions derived elsewhere in the literature. This method is not limited to the converse Lyapunov function fitting technique implemented, Bernstein polynomial approximations. Function fitting techniques that are better suited for high dimensional problems will be explored in future work.

References

  • [1] P. Kundur, N. J. Balu, and M. G. Lauby, Power system stability and control. McGraw-hill New York, 1994, vol. 7.
  • [2] Y.-H. Moon, B.-K. Choi, and T.-H. Roh, “Estimating the domain of attraction for power systems via a group of damping-reflected energy functions,” Automatica, vol. 36, no. 3, pp. 419–425, 2000.
  • [3] L. Jin, H. Liu, R. Kumar, J. D. Mc Calley, N. Elia, and V. Ajjarapu, “Power system transient stability design using reachability based stability-region computation,” in Proceedings of the 37th Annual North American Power Symposium, 2005. IEEE, 2005, pp. 338–343.
  • [4] Z. Shuai, C. Shen, X. Liu, Z. Li, and s. John Shen, “Transient angle stability of virtual synchronous generators using lyapunov’s direct method,” IEEE Transactions on Smart Grid, vol. 10, no. 4, pp. 4648–4661, July 2019.
  • [5] J. H. Chow, A. Chakrabortty, M. Arcak, B. Bhargava, and A. Salazar, “Synchronized phasor data based energy function analysis of dominant power transfer paths in large power systems,” IEEE Transactions on Power Systems, vol. 22, no. 2, pp. 727–734, May 2007.
  • [6] M. Ma, W. Jie, Z. Wang, and M. W. Khan, “Global geometric structure of the transient stability regions of power systems,” IEEE Transactions on Power Systems, pp. 1–1, 2019.
  • [7] C. Zhai and H. D. Nguyen, “Estimating the region of attraction for power systems using gaussian process and converse lyapunov function,” IEEE Transactions on Control Systems Technology, 2021.
  • [8] B. K. Colbert and M. M. Peet, “Using trajectory measurements to estimate the region of attraction of nonlinear systems,” in 2018 IEEE Conference on Decision and Control (CDC). IEEE, 2018.
  • [9] B. Lai, T. Cunis, and L. Burlion, “Nonlinear trajectory based region of attraction estimation for aircraft dynamics analysis,” in AIAA Scitech 2021 Forum, 2021, p. 0253.
  • [10] M. Anghel, F. Milano, and A. Papachristodoulou, “Algorithmic construction of lyapunov functions for power system stability analysis,” IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 60, no. 9, 2013.
  • [11] H. K. Khalil, Nonlinear systems. Prentice hall, 2002.
  • [12] M. Jones and M. M. Peet, “Converse lyapunov functions and converging inner approximations to maximal regions of attraction of nonlinear systems,” arXiv preprint arXiv:2103.12825, 2021.
  • [13] A. Y. Veretennikov and E. Veretennikova, “On partial derivatives of multivariate bernstein polynomials,” Siberian Advances in Mathematics, vol. 26, no. 4, 2016.
  • [14] J. Chow and J. J. Sanchez-Gasca, Power System Modeling, Computation, and Control. JohnWiley & Sons Ltd, 2020.
  • [15] N. Bretas and L. Alberto, “Lyapunov function for power systems with transfer conductances: extension of the invariance principle,” IEEE Transactions on Power Systems, vol. 18, no. 2, p. 769–777, May 2003.
  • [16] H.-D. Chiang, Direct methods for stability analysis of electric power systems: theoretical foundation, BCU methodologies, and applications. John Wiley & Sons, 2011.