Introduction
Artificial Intelligence (AI) data centers represent a new class of dynamic loads on the power grid. GPU clusters supporting large-scale training and inference cycle through computational phases with distinct, approximately constant power demands, producing facility-level swings of tens to hundreds of megawatts [1 ] . These transitions can also induce frequency and voltage disturbances at the interconnection level [2 ] . With US datacenter demand projected to reach hundreds of gigawatts by 2030 [2 ] , understanding the stability implications of these fast, repeated transitions is becoming increasingly important. Existing work has focused primarily on aggregate load modeling, demand response, capacity planning, and voltage regulation [2 , 3 , 4 ] . In contrast, the stability implications of GPU-induced switching, where each computational mode produces a distinct load level and power-system equilibrium, remain largely unexplored. This gap is particularly relevant given ERCOT’s recent open-source dynamic EMT model for AI datacenter loads, which captures converter dynamics, UPS mode transitions, and disturbance ride-through behavior [5 ] .
Under the DC power-flow approximation and standard models of synchronous generators, grid-forming inverters, and grid-following resources, a transmission network with co-located AI data centers can be modeled as a switched affine differential-algebraic equation (DAE) [6 , 7 , 8 ] . Algebraic constraints enforce bus-level active-power balance, while workload transitions generate mode-dependent affine terms and, consequently, distinct equilibria and consistency spaces. Existing stability theory for switched DAEs largely assumes a common equilibrium or invariant set across modes [9 , 10 , 11 , 12 ] . Reachability-based results for switched affine ODEs can accommodate multiple equilibria [13 ] , but do not account for the algebraic constraints of DAEs. Thus, despite the growing use of switched-system methods in power systems [14 , 15 , 16 ] , stability theory for switched affine DAEs with mode-dependent equilibria and consistency spaces remains largely undeveloped.
Motivated by the preceding discussion, this paper develops two complementary stability frameworks for AI datacenter workloads in power transmission systems. AI training, where computational modes follow a deterministic, possibly aperiodic sequence, is modeled as a deterministic hybrid system [17 ] under average dwell-time switching. AI inference, where mode transitions are driven by unpredictable request arrivals, is modeled as a stochastic hybrid system [18 ] with mode-dependent dwell times. Stability and recurrence properties of these systems are studied using Lyapunov and Foster–Lyapunov methods, respectively. Specifically, the following are the main contributions of this paper:
We develop a model of transmission systems with co-located AI data centers as switched affine DAEs with a common system matrix and mode-dependent affine terms, inducing parallel consistency spaces. For sufficiently slow switching, we explicitly characterize the “practically” stable ω \omega ω -limit set of this system.
We develop a hybrid Lyapunov framework establishing (practical) stability under a slow average dwell-time condition on the switching, including an explicit K L \mathcal{KL} K L bound that accounts for switching-induced state resets. These results extend switched DAE stability analysis beyond the common-equilibrium setting.
For stochastic inference workloads, we establish uniform global recurrence in probability using Foster–Lyapunov methods, with the recurrent set determined by the inter-equilibrium distances.
We validate the framework on the IEEE 39-bus transmission network using high-fidelity electromagnetic transient simulations, showing that the switched-DAE model captures the fast converter and switching dynamics induced by AI data centers.
The rest of this paper is organized as follows: § 2 presents the preliminaries. Section III introduces a DAE model of the power transmission system. Section IV studies stability under training workloads. § 5 focuses on inference workloads, and finally § 6 ends with the conclusions.
Preliminaries
Notation
We use R n \mathbb{R}^{n} R n to denote the n n n -dimensional Euclidean space, Z ≥ 0 \mathbb{Z}_{\ge0} Z ≥ 0 for the set of nonnegative integers, and R ≥ 0 \mathbb{R}_{\ge0} R ≥ 0 for the set of nonnegative real numbers. We denote the Euclidean norm of x ∈ R n x \in\mathbb{R}^{n} x ∈ R n by ∣ x ∣ |x| ∣ x ∣ . Given x ∈ R n x \in\mathbb{R}^{n} x ∈ R n and a non-empty closed set A ⊂ R n \mathcal{A} \subset\mathbb{R}^{n} A ⊂ R n , the distance of x x x to A \mathcal{A} A is given by ∣ x ∣ A : = inf y ∈ A ∣ x − y ∣ |x|_{\mathcal{A}} := \inf_{y \in\mathcal{A}} |x-y| ∣ x ∣ A := inf y ∈ A ∣ x − y ∣ . Given r > 0 r > 0 r > 0 , the set { x ∈ R n : ∣ x ∣ ≤ r } \{x \in\mathbb{R}^{n} : |x| \le r\} { x ∈ R n : ∣ x ∣ ≤ r } is denoted by r B r\mathbb{B} r B . For a closed set S S S and ϵ > 0 \epsilon> 0 ϵ > 0 , S + ϵ B S + \epsilon\mathbb{B} S + ϵ B and S + ϵ B ‾ S + \epsilon\overline{\mathbb{B}} S + ϵ B denote, respectively, { x ∈ R n : ∣ x ∣ S ≤ ϵ } \{x \in\mathbb{R}^{n} : |x|_{S} \le\epsilon\} { x ∈ R n : ∣ x ∣ S ≤ ϵ } , and { x ∈ R n : ∣ x ∣ S < ϵ } \{x \in\mathbb{R}^{n} : |x|_{S} < \epsilon\} { x ∈ R n : ∣ x ∣ S < ϵ } . Given a matrix A ∈ R n × m A \in\mathbb{R}^{n \times m} A ∈ R n × m , we use ∣ A ∣ |A| ∣ A ∣ to denote the induced matrix norm of A A A , defined as ∣ A ∣ : = sup x ∈ B ∣ A x ∣ |A| := \sup_{x \in\mathbb{B} } |Ax| ∣ A ∣ := sup x ∈ B ∣ A x ∣ . Given two vectors u , v u,v u , v , their concatenation [ u T v T ] T [u^{\mathsf T}\ v^{\mathsf T}]^{\mathsf T} [ u T v T ] T is denoted as ( u , v ) (u,v) ( u , v ) . The closure of a set S ⊂ R n S \subset\mathbb{R}^{n} S ⊂ R n is denoted by S ‾ \overline{S} S . The closure of the convex hull of S S S is denoted as co ‾ S \overline{\operatorname{co}}\,S co S . For a symmetric matrix P P P , let λ min ( P ) \lambda_{\min}(P) λ m i n ( P ) denote the minimum eigenvalue. We define λ max \lambda_{\max} λ m a x analogously. A set-valued mapping M : R p ⇉ R n M : \mathbb{R}^{p} \rightrightarrows\mathbb{R}^{n} M : R p ⇉ R n is outer semicontinuous (OSC) at z z z if for each sequence { z i , s i } → ( z , s ) ∈ R p × R n \{z_i,s_i\} \to(z,s) \in\mathbb{R}^{p} \times\mathbb{R}^{n} { z i , s i } → ( z , s ) ∈ R p × R n satisfying s i ∈ M ( z i ) s_i \in M(z_i) s i ∈ M ( z i ) for all i ∈ Z ≥ 0 i \in\mathbb{Z}_{\ge0} i ∈ Z ≥ 0 , we have s ∈ M ( z ) s \in M(z) s ∈ M ( z ) . A mapping M M M is locally bounded (LB) at z z z if there exists an open neighborhood N z ⊂ R p N_z \subset\mathbb{R}^{p} N z ⊂ R p of z z z such that M ( N z ) M(N_z) M ( N z ) is bounded. A function α : R ≥ 0 → R ≥ 0 \alpha: \mathbb{R}_{\ge0} \to\mathbb{R}_{\ge0} α : R ≥ 0 → R ≥ 0 is said to be of class K \mathcal{K} K if it is zero at zero, continuous, and strictly increasing. It is said to be of class K ∞ \mathcal{K}_{\infty} K ∞ if it is of class K \mathcal{K} K and unbounded. It is said to be of class G ∞ \mathcal{G}_{\infty} G ∞ if it is continuous, non-decreasing, and unbounded. A function β : R ≥ 0 → R ≥ 0 \beta: \mathbb{R}_{\ge0} \to\mathbb{R}_{\ge0} β : R ≥ 0 → R ≥ 0 is of class K L \mathcal{KL} K L if β ( ⋅ , t ) \beta(\cdot,t) β ( ⋅ , t ) is of class K \mathcal{K} K for each fixed t ≥ 0 t \ge0 t ≥ 0 and t ↦ β ( r , t ) t \mapsto\beta(r,t) t ↦ β ( r , t ) is non-increasing and lim t → ∞ β ( r , t ) = 0 \lim_{t\to\infty}\beta(r,t)=0 lim t → ∞ β ( r , t ) = 0 for each fixed r ≥ 0 r \ge0 r ≥ 0 . Given a closed set A \mathcal{A} A , ρ : R n → R ≥ 0 \rho: \mathbb{R}^{n} \to\mathbb{R}_{\ge0} ρ : R n → R ≥ 0 is of class P D ( A ) \mathcal{PD}(\mathcal{A}) PD ( A ) if it is continuous and for each δ > 0 \delta> 0 δ > 0 and Δ > 0 \Delta> 0 Δ > 0 there exists ρ ˉ > 0 \bar{\rho} > 0 ρ ˉ > 0 such that ρ ( x ) ≥ ρ ˉ \rho(x) \ge\bar{\rho} ρ ( x ) ≥ ρ ˉ for all x ∈ ( A + Δ B ) \ ( A + δ B ) x \in(\mathcal{A}+\Delta\mathbb{B})\backslash(\mathcal{A}+\delta\mathbb{B}) x ∈ ( A + Δ B ) \ ( A + δ B ) . When A \mathcal{A} A is compact, this condition reduces to the condition ρ ( x ) > 0 \rho(x)>0 ρ ( x ) > 0 for all x ∈ R n \ A x \in\mathbb{R}^{n}\backslash\mathcal{A} x ∈ R n \ A . Given the open set O ⊂ R n \mathcal{O}\subset\mathbb{R}^{n} O ⊂ R n , ρ : R n → R ≥ 0 \rho:\mathbb{R}^{n}\to\mathbb{R}_{\ge0} ρ : R n → R ≥ 0 is of class P D ( O ) \mathcal{PD}(\mathcal{O}) PD ( O ) if it is continuous and there exists a closed set A \mathcal{A} A and ϵ > 0 \epsilon>0 ϵ > 0 such that A + ϵ B ⊂ O \mathcal{A}+\epsilon\mathbb{B}\subset\mathcal{O} A + ϵ B ⊂ O and ρ ∈ P D ( A ) \rho\in\mathcal{PD}(\mathcal{A}) ρ ∈ PD ( A ) .
Stochastic Hybrid Dynamical Systems
Following the formalism of [18 ] , a stochastic hybrid dynamical system (SHDS) is characterized by the dynamics
ξ ∈ C , ξ ˙ ∈ F ( ξ ) , ξ ∈ D , ξ + ∈ G ( ξ , v ) , v ∼ μ (1) \begin{aligned}
\xi&\in C, & \dot{\xi} &\in F(\xi), \\
\xi&\in D, & \xi^{+} &\in G(\xi,v), \quad v\sim\mu \tag*{(1)}
\end{aligned} ξ ξ ∈ C , ∈ D , ξ ˙ ξ + ∈ F ( ξ ) , ∈ G ( ξ , v ) , v ∼ μ (1)
where C , D ⊂ R n C,D\subset\mathbb{R}^{n} C , D ⊂ R n are the flow and jump sets, respectively, F : R n ⇉ R n F:\mathbb{R}^{n}\rightrightarrows\mathbb{R}^{n} F : R n ⇉ R n is the flow map, G : R n × R m ⇉ R n G:\mathbb{R}^{n}\times\mathbb{R}^{m}\rightrightarrows\mathbb{R}^{n} G : R n × R m ⇉ R n is the jump map, and μ \mu μ is a probability distribution associated to a sequence of independent, identically distributed (i.i.d.) random inputs { v i } i ≥ 1 \{v_i\}_{i\ge1} { v i } i ≥ 1 , defined on a probability space ( Ω , F , P ) (\Omega,\mathcal{F},\mathbb{P}) ( Ω , F , P ) . In this paper, we consider SHDS with stochasticity entering only through the jumps. Namely, whenever x ∈ D x\in D x ∈ D and a jump occurs, the post-jump value of x x x is drawn from G ( x , v i ) G(x,v_i) G ( x , v i ) with v i ∼ μ v_i\sim\mu v i ∼ μ . Since system (2) combines continuous-time and discrete-time dynamics, for each sample path its solutions ξ ( t , j ) \xi(t,j) ξ ( t , j ) are parametrized by a continuous-time index t ∈ R ≥ 0 t\in\mathbb{R}_{\ge0} t ∈ R ≥ 0 , which increases continuously during the flows (2a), and a discrete-time index j j j , which increases by one during the jumps (2b). Therefore, solutions ξ ( t , j ) \xi(t,j) ξ ( t , j ) to system (2) evolve on stochastic hybrid time domains (SHTDs), denoted as dom ( ξ ) \operatorname{dom}(\xi) dom ( ξ ) . For the precise definition of a random solution in H s \mathcal{H}_{s} H s , including the pathwise feasibility and causal-measurability requirements with respect to the filtration generated by { v i } \{v_i\} { v i } , we refer the readers to [18 Sec. 2.2] .
The probabilistic stability properties of H s \mathcal{H}_{s} H s are studied using the following definition, borrowed from [18 Sec. 2.3] :
Definition 1. A closed set A ⊂ R n \mathcal{A} \subset\mathbb{R}^{n} A ⊂ R n is said to be uniformly globally asymptotically stable in probability (UGASp _{p} p ) for H s \mathcal{H}_{s} H s if it is both uniformly globally stable in probability and uniformly globally attractive in probability. Uniform global stability in probability requires that for every ϵ > 0 \epsilon> 0 ϵ > 0 and ϱ > 0 \varrho> 0 ϱ > 0 there exists δ > 0 \delta> 0 δ > 0 such that every random solution x x x with ∣ x ( 0 , 0 ) ∣ A ≤ δ |x(0,0)|_{\mathcal{A}} \leq\delta ∣ x ( 0 , 0 ) ∣ A ≤ δ satisfies x ( t , j ) ∈ A + ϵ B x(t,j) \in\mathcal{A} + \epsilon\mathbb{B} x ( t , j ) ∈ A + ϵ B for all ( t , j ) (t,j) ( t , j ) in its hybrid time domain, with probability at least 1 − ϱ 1-\varrho 1 − ϱ . Uniform global attractivity in probability requires that for every ϵ > 0 \epsilon> 0 ϵ > 0 , ϱ > 0 \varrho> 0 ϱ > 0 , and R > 0 R > 0 R > 0 there exists s ≥ 0 s \geq0 s ≥ 0 such that every random solution x x x with ∣ x ( 0 , 0 ) ∣ A ≤ R |x(0,0)|_{\mathcal{A}} \leq R ∣ x ( 0 , 0 ) ∣ A ≤ R satisfies x ( t , j ) ∈ A + ϵ B x(t,j) \in\mathcal{A} + \epsilon\mathbb{B} x ( t , j ) ∈ A + ϵ B for all ( t , j ) (t,j) ( t , j ) in its domain with t + j ≥ s t+j \geq s t + j ≥ s , with probability at least 1 − ϱ 1-\varrho 1 − ϱ .
In some cases, we consider set recurrence ([18 Sec. 2.4] ) rather than stability:
Definition 2. Let O ⊂ R n \mathcal{O} \subset\mathbb{R}^{n} O ⊂ R n be an open set. The set O \mathcal{O} O is said to be uniformly globally recurrent (UGR) for ( C , F , D , G , μ ) (C,F,D,G,\mu) ( C , F , D , G , μ ) if for every ϱ > 0 \varrho> 0 ϱ > 0 and R > 0 R > 0 R > 0 there exists s ≥ 0 s \geq0 s ≥ 0 such that every random solution x x x with ∣ x ( 0 , 0 ) ∣ ≤ R |x(0,0)| \leq R ∣ x ( 0 , 0 ) ∣ ≤ R satisfies the following with probability at least 1 − ϱ 1-\varrho 1 − ϱ : either the hybrid time domain of x x x contains no ( t , j ) (t,j) ( t , j ) with t + j ≥ s t+j \geq s t + j ≥ s , or there exists ( t , j ) (t,j) ( t , j ) in the domain of x x x with t + j ≤ s t+j \leq s t + j ≤ s such that x ( t , j ) ∈ O x(t,j) \in\mathcal{O} x ( t , j ) ∈ O .
For the case when G G G does not depend on a random input, system (1) becomes a deterministic hybrid system of the form [17 Ch. 2] :
ξ ∈ C , ξ ˙ ∈ F ( ξ ) , ξ ∈ D , ξ + ∈ G ( ξ ) . \begin{aligned}
\xi&\in C,\qquad\dot{\xi}\in F(\xi), \\
\xi&\in D,\qquad\xi^{+}\in G(\xi).
\end{aligned} ξ ξ ∈ C , ξ ˙ ∈ F ( ξ ) , ∈ D , ξ + ∈ G ( ξ ) .
For these systems, we use the following stability notions:
Definition 3. The set A \mathcal{A} A is uniformly globally asymptotically stable (UGAS) for system (2) if there exists β ∈ K L \beta\in\mathcal{K}\mathcal{L} β ∈ K L such that any solution ξ \xi ξ satisfies ∣ ξ ( t , j ) ∣ A ≤ β ( ∣ ξ ( 0 , 0 ) ∣ A , t + j ) |\xi(t,j)|_{\mathcal{A}} \leq\beta(|\xi(0,0)|_{\mathcal{A}},t+j) ∣ ξ ( t , j ) ∣ A ≤ β ( ∣ ξ ( 0 , 0 ) ∣ A , t + j ) , for all ( t , j ) ∈ dom ( ξ ) (t,j) \in\operatorname{dom}(\xi) ( t , j ) ∈ dom ( ξ ) .
The following definition is instrumental for the stability analysis of HDS that depend on a small parameter ϵ \epsilon ϵ .
Definition 4. The set A \mathcal{A} A is semi-globally practically asymptotically stable (SGPAS) for an ϵ \epsilon ϵ -parameterized HDS H ϵ \mathcal{H}_{\epsilon} H ϵ as ϵ → 0 \epsilon\to0 ϵ → 0 if there exists β ∈ K L \beta\in\mathcal{K}\mathcal{L} β ∈ K L and for each μ , ν > 0 \mu,\nu> 0 μ , ν > 0 there exists a ϵ ∗ > 0 \epsilon^{*} > 0 ϵ ∗ > 0 such that, for each ϵ ∈ ( 0 , ϵ ∗ ) \epsilon\in(0,\epsilon^{*}) ϵ ∈ ( 0 , ϵ ∗ ) , any solution ξ \xi ξ with ∣ ξ ( 0 , 0 ) ∣ A ≤ μ |\xi(0,0)|_{\mathcal{A}} \leq\mu ∣ ξ ( 0 , 0 ) ∣ A ≤ μ also satisfies ∣ ξ ( t , j ) ∣ A ≤ β ( ∣ ξ ( 0 , 0 ) ∣ A , t + j ) + ν |\xi(t,j)|_{\mathcal{A}} \leq\beta(|\xi(0,0)|_{\mathcal{A}},t+j)+\nu ∣ ξ ( t , j ) ∣ A ≤ β ( ∣ ξ ( 0 , 0 ) ∣ A , t + j ) + ν , for all ( t , j ) ∈ dom ( ξ ) (t,j) \in\operatorname{dom}(\xi) ( t , j ) ∈ dom ( ξ ) .
Power Transmission System with AI Datacenter Loads
We consider a power transmission system characterized by a set of buses N = { 1 , … , N } \mathcal{N}=\{1,\ldots,N\} N = { 1 , … , N } and a set of lines E ⊂ N × N \mathcal{E}\subset\mathcal{N}\times\mathcal{N} E ⊂ N × N . The buses are partitioned into synchronous generator (SG) buses G \mathcal{G} G , grid forming (GFM) inverter-based resources (IBR) buses I \mathcal{I} I , grid following (GFL) IBR buses F \mathcal{F} F , and load buses L \mathcal{L} L . The subset L d c ⊆ L \mathcal{L}_{dc}\subseteq\mathcal{L} L d c ⊆ L hosts a collection of AI training data centers. We use L 0 : = L ∖ L d c \mathcal{L}_{0}:=\mathcal{L}\setminus\mathcal{L}_{dc} L 0 := L ∖ L d c for the set of conventional load buses without data centers.
Each bus n ∈ L d c n\in\mathcal{L}_{dc} n ∈ L d c is paired with a campus GFM bus n ′ ∈ I d c ⊆ I n'\in\mathcal{I}_{dc}\subseteq\mathcal{I} n ′ ∈ I d c ⊆ I . For each bus i ∈ N i\in\mathcal{N} i ∈ N , we denote its set of neighboring buses by N i : = { j ∈ N : ( i , j ) ∈ E } \mathcal{N}_{i}:=\{j\in\mathcal{N}:(i,j)\in\mathcal{E}\} N i := { j ∈ N : ( i , j ) ∈ E } . Let δ b u s = [ δ 1 , … , δ N ] T ∈ R N \delta_{\mathrm{bus}}=[\delta_{1},\ldots,\delta_{N}]^{\mathsf{T}}\in\mathbb{R}^{N} δ bus = [ δ 1 , … , δ N ] T ∈ R N denote the vector of voltage phase angles in a synchronous reference frame. We choose bus N N N as the angular reference and use the relative-angle coordinates θ = [ δ 1 − δ N , … , δ N − 1 − δ N ] T ∈ R N − 1 \theta=[\delta_{1}-\delta_{N},\ldots,\delta_{N-1}-\delta_{N}]^{\mathsf{T}}\in\mathbb{R}^{N-1} θ = [ δ 1 − δ N , … , δ N − 1 − δ N ] T ∈ R N − 1 . At each dynamic bus n ∈ G ∪ I n\in\mathcal{G}\cup\mathcal{I} n ∈ G ∪ I , ω n : = δ ˙ n \omega_{n}:=\dot{\delta}_{n} ω n := δ ˙ n denotes the angular-frequency deviation from nominal frequency. The variables ω n \omega_{n} ω n at the algebraic buses are the quasi-steady frequency estimates defined by the frequency divider below; collect all of these variables in ω = [ ω 1 , … , ω N ] T \omega=[\omega_{1},\ldots,\omega_{N}]^{\mathsf{T}} ω = [ ω 1 , … , ω N ] T .
Power Flow and DC Approximation:
We assume fixed voltage magnitudes, negligible line resistances, and sufficiently small voltage-angle differences, so that the network is represented by a DC power-flow model. Under this approximation, the active-power injection at bus i i i is given by p i ( θ ) = ∑ j ∈ N i b i j ( θ i − θ j ) p_{i}(\theta)=\sum_{j\in\mathcal{N}_{i}}b_{ij}(\theta_{i}-\theta_{j}) p i ( θ ) = ∑ j ∈ N i b ij ( θ i − θ j ) , where b i j = 1 / x i j > 0 b_{ij}=1/x_{ij}>0 b ij = 1/ x ij > 0 denotes the line susceptance of the line associated with the edge ( i , j ) ∈ E (i,j)\in\mathcal{E} ( i , j ) ∈ E , with the convention θ N = 0 \theta_{N}=0 θ N = 0 . Stacking the vector of active power injections p ( θ ) = [ p 1 ( θ ) , … , p N ( θ ) ] T p(\theta)=[p_{1}(\theta),\ldots,p_{N}(\theta)]^{\mathsf{T}} p ( θ ) = [ p 1 ( θ ) , … , p N ( θ ) ] T , the DC power-flow approximation can be compactly written as p ( θ ) = B ‾ θ p(\theta)=\overline{B}\theta p ( θ ) = B θ with B ‾ = B I 0 \overline{B}=B\mathcal{I}_{0} B = B I 0 , where B ∈ R N × N B\in\mathbb{R}^{N\times N} B ∈ R N × N is the susceptance Laplacian and I 0 = [ I N − 1 0 ] T ∈ R N × ( N − 1 ) \mathcal{I}_{0}=[I_{N-1}\ 0]^{\mathsf{T}}\in\mathbb{R}^{N\times(N-1)} I 0 = [ I N − 1 0 ] T ∈ R N × ( N − 1 ) embeds the reduced angle vector into the full N N N -bus angle vector with the reference-bus angle set to zero. For compactness, we define selector matrices S G ∈ { 0 , 1 } N × ∣ G ∣ \mathcal{S}_{\mathcal{G}}\in\{0,1\}^{N\times|\mathcal{G}|} S G ∈ { 0 , 1 } N × ∣ G ∣ , S I ∈ { 0 , 1 } N × ∣ I ∣ \mathcal{S}_{\mathcal{I}}\in\{0,1\}^{N\times|\mathcal{I}|} S I ∈ { 0 , 1 } N × ∣ I ∣ , S F ∈ { 0 , 1 } N × ∣ F ∣ \mathcal{S}_{\mathcal{F}}\in\{0,1\}^{N\times|\mathcal{F}|} S F ∈ { 0 , 1 } N × ∣ F ∣ , and S L ∈ { 0 , 1 } N × ∣ L ∣ \mathcal{S}_{\mathcal{L}}\in\{0,1\}^{N\times|\mathcal{L}|} S L ∈ { 0 , 1 } N × ∣ L ∣ to extract bus-specific variables from full N N N -bus vectors. We use S L 0 \mathcal{S}_{\mathcal{L}_{0}} S L 0 and S L d c \mathcal{S}_{\mathcal{L}_{dc}} S L d c for the two subsets of L \mathcal{L} L , and, without loss of generality, order the load-bus selector as S L = [ S L 0 S L d c ] \mathcal{S}_{\mathcal{L}}=[\mathcal{S}_{\mathcal{L}_{0}}\ \mathcal{S}_{\mathcal{L}_{dc}}] S L = [ S L 0 S L d c ] . Therefore, we set ω G : = S G T ω \omega_{\mathcal{G}}:=\mathcal{S}_{\mathcal{G}}^{\mathsf{T}}\omega ω G := S G T ω and define the vectors ω I \omega_{\mathcal{I}} ω I , ω F \omega_{\mathcal{F}} ω F , and ω L \omega_{\mathcal{L}} ω L analogously. Consistently with the ordering used below, define S I G : = [ S I S G ] \mathcal{S}_{I\mathcal{G}}:=[\mathcal{S}_{I}\ \mathcal{S}_{G}] S I G := [ S I S G ] and ω I G : = [ ω I T ω G T ] T = S I G ω \omega_{\mathcal{I}\mathcal{G}}:=[\omega_{\mathcal{I}}^{\mathsf{T}}\ \omega_{\mathcal{G}}^{\mathsf{T}}]^{\mathsf{T}}=\mathcal{S}_{\mathcal{I}\mathcal{G}}\omega ω I G := [ ω I T ω G T ] T = S I G ω .
Let m : = ∣ G ∣ + ∣ I ∣ m:=|\mathcal{G}|+|\mathcal{I}| m := ∣ G ∣ + ∣ I ∣ . Since the reference bus belongs to G ∪ I \mathcal{G}\cup\mathcal{I} G ∪ I , define S ~ G I ∈ { 0 , 1 } ( N − 1 ) × ( m − 1 ) \widetilde{\mathcal{S}}_{\mathcal{G}\mathcal{I}}\in\{0,1\}^{(N-1)\times(m-1)} S G I ∈ { 0 , 1 } ( N − 1 ) × ( m − 1 ) to select the reduced-angle coordinates associated with ( G ∪ I ) ∖ { N } (\mathcal{G}\cup\mathcal{I})\setminus\{N\} ( G ∪ I ) ∖ { N } , and define S ~ F : = I 0 T S F ∈ { 0 , 1 } ( N − 1 ) × ∣ F ∣ \widetilde{\mathcal{S}}_{\mathcal{F}}:=\mathcal{I}_{0}^{\mathsf{T}}\mathcal{S}_{\mathcal{F}}\in\{0,1\}^{(N-1)\times|\mathcal{F}|} S F := I 0 T S F ∈ { 0 , 1 } ( N − 1 ) × ∣ F ∣ and S ~ L : = I 0 T S L ∈ { 0 , 1 } ( N − 1 ) × ∣ L ∣ \widetilde{\mathcal{S}}_{\mathcal{L}}:=\mathcal{I}_{0}^{\mathsf{T}}\mathcal{S}_{\mathcal{L}}\in\{0,1\}^{(N-1)\times|\mathcal{L}|} S L := I 0 T S L ∈ { 0 , 1 } ( N − 1 ) × ∣ L ∣ . Thus, ω G I : = S ~ G I T θ \omega_{\mathcal{G}\mathcal{I}}:=\widetilde{\mathcal{S}}_{\mathcal{G}\mathcal{I}}^{\mathsf{T}}\theta ω G I := S G I T θ , θ F : = S ~ F T θ \theta_{\mathcal{F}}:=\widetilde{\mathcal{S}}_{\mathcal{F}}^{\mathsf{T}}\theta θ F := S F T θ , and θ L : = S ~ L T θ \theta_{\mathcal{L}}:=\widetilde{\mathcal{S}}_{\mathcal{L}}^{\mathsf{T}}\theta θ L := S L T θ select the nonreference G ∪ I \mathcal{G}\cup\mathcal{I} G ∪ I buses from full bus vectors, and let e N ∈ R N e_{N}\in\mathbb{R}^{N} e N ∈ R N denote the N N N th canonical vector. The matrices R I : = ( S G I 0 ) T S I − 1 m − 1 e N T S I \mathcal{R}_{\mathcal{I}}:=(\mathcal{S}_{\mathcal{G}\mathcal{I}}^{0})^{\mathsf{T}}\mathcal{S}_{\mathcal{I}}-\mathbf{1}_{m-1}e_{N}^{\mathsf{T}}\mathcal{S}_{\mathcal{I}} R I := ( S G I 0 ) T S I − 1 m − 1 e N T S I and R G : = ( S G I 0 ) T S G − 1 m − 1 e N T S G \mathcal{R}_{\mathcal{G}}:=(\mathcal{S}_{\mathcal{G}\mathcal{I}}^{0})^{\mathsf{T}}\mathcal{S}_{\mathcal{G}}-\mathbf{1}_{m-1}e_{N}^{\mathsf{T}}\mathcal{S}_{\mathcal{G}} R G := ( S G I 0 ) T S G − 1 m − 1 e N T S G give the relative-angle kinematics θ ˙ I = R I ω I + R I ω G \dot{\theta}_{\mathcal{I}}=\mathcal{R}_{\mathcal{I}}\omega_{\mathcal{I}}+\mathcal{R}_{\mathcal{I}}\omega_{\mathcal{G}} θ ˙ I = R I ω I + R I ω G . Finally, set S I F : = [ S F S L ] \mathcal{S}_{\mathcal{I}\mathcal{F}}:=[\mathcal{S}_{\mathcal{F}}\ \mathcal{S}_{\mathcal{L}}] S I F := [ S F S L ] . The following assumption is standard:
Assumption 1. The network ( N , E ) (\mathcal{N},\mathcal{E}) ( N , E ) is undirected and connected. Moreover, G ∪ I ≠ ∅ \mathcal{G}\cup\mathcal{I}\neq\emptyset G ∪ I = ∅ , and bus N ∈ G ∪ I N\in\mathcal{G}\cup\mathcal{I} N ∈ G ∪ I .
Models of the Devices
The dynamics of each synchronous generator n ∈ G n \in\mathcal{G} n ∈ G are approximated by the following turbine-governor model [19 ] :
δ ˙ n = ω n , \dot{\delta}_n = \omega_n, δ ˙ n = ω n ,
M n ω ˙ n = − D n ω n + p m , n − p ℓ , n − p n ( θ ) , M_n\dot{\omega}_n = -D_n\omega_n + p_{m,n} - p_{\ell,n} - p_n(\theta), M n ω ˙ n = − D n ω n + p m , n − p ℓ , n − p n ( θ ) ,
τ n p ˙ m , n = − p m , n − R n − 1 ω n + p n r e f . \tau_n\dot{p}_{m,n} = -p_{m,n} - R_n^{-1}\omega_n + p_n^{\mathrm{ref}}. τ n p ˙ m , n = − p m , n − R n − 1 ω n + p n ref .
where M n > 0 M_n > 0 M n > 0 and D n > 0 D_n > 0 D n > 0 denote the inertia and damping coefficients, respectively. The variable p m , n p_{m,n} p m , n represents the turbine mechanical power, and p ℓ , n p_{\ell,n} p ℓ , n the local load. Finally, τ n > 0 \tau_n > 0 τ n > 0 denotes the turbine time constant, R n > 0 R_n > 0 R n > 0 denotes the frequency–power droop coefficient, R n − 1 R_n^{-1} R n − 1 denotes its inverse, and p n r e f p_n^{\mathrm{ref}} p n ref denotes the active power reference.
The dynamics of the GFM buses n ∈ I n \in\mathcal{I} n ∈ I are modeled by the following equations:
δ ˙ n = ω n , M n ω ˙ n = − D n ω n + p n r e f − p ℓ , n − p n ( θ ) , \dot{\delta}_n = \omega_n,\qquad M_n\dot{\omega}_n = -D_n\omega_n + p_n^{\mathrm{ref}} - p_{\ell,n} - p_n(\theta), δ ˙ n = ω n , M n ω ˙ n = − D n ω n + p n ref − p ℓ , n − p n ( θ ) ,
with virtual inertia and damping parameters M n > 0 M_n > 0 M n > 0 and D n > 0 D_n > 0 D n > 0 , respectively [20 ] .
On the other hand, since the phase-locked loops (PLL) dynamics of the GFL IBRs are significantly faster than electromechanical timescales, the behavior of the GFL buses n ∈ F n \in\mathcal{F} n ∈ F can be characterized by the following algebraic equations:
0 = p n r e f − K n ω n − p ℓ , n − p n ( θ ) , 0 = p_n^{\mathrm{ref}} - K_n\omega_n - p_{\ell,n} - p_n(\theta), 0 = p n ref − K n ω n − p ℓ , n − p n ( θ ) ,
where K n ≥ 0 K_n \ge0 K n ≥ 0 is the GFL frequency-response coefficient. Similarly, the conventional load buses n ∈ L 0 n \in\mathcal{L}_0 n ∈ L 0 are modeled by the algebraic equation 0 = − p ℓ , n − p n ( θ ) 0 = -p_{\ell,n} - p_n(\theta) 0 = − p ℓ , n − p n ( θ ) .
Models of the Datacenter Loads:
To model the loads of the data centers, we let each n ∈ L d c n \in\mathcal{L}_{dc} n ∈ L d c host a cluster of graphics processing units (GPUs) cycling through one of two mode sets depending on whether training or inference workloads are being considered. For training , we consider the following set of modes:
Q t r : = { f w , b w , a r , i d } (2) \mathcal{Q}_{\mathrm{tr}} := \{\mathrm{fw},\ \mathrm{bw},\ \mathrm{ar},\ \mathrm{id}\} \tag*{(2)} Q tr := { fw , bw , ar , id } (2)
corresponding to forward pass , backward pass , activation recompute , and idle modes of the training phase [1 , 21 ] :
Forward pass (fw): the input batch is propagated layer-by-layer through the network to compute activations, drawing power p d c f w p_{dc}^{\mathrm{fw}} p d c fw .
Backward pass (bw): gradients are propagated layer-by-layer back through the network via backpropagation, drawing power p d c b w p_{dc}^{\mathrm{bw}} p d c bw .
Activation recompute (ar): activations discarded during the forward pass are recomputed on demand to reduce memory footprint, drawing power p d c a r p_{dc}^{\mathrm{ar}} p d c ar [22 Section 4.3] .
Idle (id): the cluster awaits the next batch or optimizer step, drawing baseline power p d c i d p_{dc}^{\mathrm{id}} p d c id .
For the operating regime considered in this paper, we assume that the training-mode power draws satisfy p d c f w > p d c b w > p d c a r > p d c i d > 0 p_{dc}^{\mathrm{fw}} > p_{dc}^{\mathrm{bw}} > p_{dc}^{\mathrm{ar}} > p_{dc}^{\mathrm{id}} > 0 p d c fw > p d c bw > p d c ar > p d c id > 0 .
On the other hand, during inference , each user request drives the cluster of GPUs through three distinct phases:
Prefill (pre): all prompt tokens are processed in a single forward pass, drawing peak power p d c p r e p_{dc}^{\mathrm{pre}} p d c pre [21], [23, Sec. 2.1].
Decode (dec): tokens are generated autoregressively, drawing the moderate power level p d c d e c p_{dc}^{\mathrm{dec}} p d c dec [21], [23, Sec. 2.1].
Idle (id): the cluster awaits the next request, drawing baseline power p d c i d p_{dc}^{\mathrm{id}} p d c id .
This leads to the mode set
Q i n : = { p r e , d e c , i d } (3) \mathcal{Q}_{\mathrm{in}} := \{\mathrm{pre},\mathrm{dec},\mathrm{id}\} \tag*{(3)} Q in := { pre , dec , id } (3)
For the operating regime considered in this paper, we assume that p d c p r e > p d c d e c > p d c i d > 0 p_{dc}^{\mathrm{pre}} > p_{dc}^{\mathrm{dec}} > p_{dc}^{\mathrm{id}} > 0 p d c pre > p d c dec > p d c id > 0 . As in the training phase, each per-mode power level is treated as constant under the modeling assumption that within-mode fluctuations at millisecond time scales have a negligible effect on the electromechanical response of interest. The empirical studies performed in [24 Section 4.2] and [25, Figure 3 report stable per-mode power signatures across model families and insensitivity of decode power to GPU frequency across five model sizes, supporting the use of a constant p d c d e c p_{dc}^{\mathrm{dec}} p d c dec at the electromechanical timescale.
For both training and inference workloads, the active power drawn per mode is well approximated by a constant [1 , 21 ] for training and [24 , 25 ] for inference. Hence, the active-power balance at the bus n ∈ L d c n \in\mathcal{L}_{dc} n ∈ L d c under the mode q q q is given by:
0 = − p d c , n q − K d c , n ω n d c − p n ( θ ) , (4) 0 = -p_{dc,n}^{q} - K_{dc,n}\omega_{n}^{dc} - p_n(\theta), \tag*{(4)} 0 = − p d c , n q − K d c , n ω n d c − p n ( θ ) , (4)
where p d c , n q > 0 p_{dc,n}^{q} > 0 p d c , n q > 0 denotes the total demand at bus n n n in mode q q q (including any constant co-located demand), K d c , n ≥ 0 K_{dc,n} \ge0 K d c , n ≥ 0 is a constant frequency-response coefficient, and ω n d c \omega_n^{dc} ω n d c is the local frequency, defined below. When ∣ L d c ∣ > 1 |\mathcal{L}_{dc}| > 1 ∣ L d c ∣ > 1 , the single variable q q q represents a common aggregate mode and therefore imposes synchronous mode switching across the modeled data centers. Independent switching can instead be represented, for workload type w ∈ { t r , i n } w \in\{\mathrm{tr},\mathrm{in}\} w ∈ { tr , in } , by taking the hybrid mode in the product set Q w ∣ L d c ∣ \mathcal{Q}_{w}^{|\mathcal{L}_{dc}|} Q w ∣ L d c ∣ .
Frequency Divider:
To relate the frequencies of GFL IBR and datacenter buses to those of the remaining buses, we use the frequency-divider approach [26 ] . Since GFL dynamics are much faster than electromechanical timescales, their frequencies are approximated as algebraic functions of the swing-bus frequencies. Define the row selectors
C F : = [ I ∣ F ∣ 0 ∣ F ∣ × ∣ L ∣ ] , C d c : = [ 0 ∣ L d c ∣ × ∣ F ∣ S L d c S L C ] . C_{\mathcal{F}} := [I_{|\mathcal{F}|}\ \ 0_{|\mathcal{F}|\times|\mathcal{L}|}],\qquad
C_{dc} := [0_{|\mathcal{L}_{dc}|\times|\mathcal{F}|}\ \ S_{\mathcal{L}_{dc}}\ \ S_{\mathcal{L}_{\mathcal{C}}}]. C F := [ I ∣ F ∣ 0 ∣ F ∣ × ∣ L ∣ ] , C d c := [ 0 ∣ L d c ∣ × ∣ F ∣ S L d c S L C ] .
Under Assumption 1, the grounded Laplacian L F \mathcal{L}_{\mathcal{F}} L F is positive definite. Hence, the full frequency-divider matrix
H ^ : = − ( S C F T B S C F ) − 1 S C F T B S I G = [ H ^ I H ^ G ] (5) \widehat{H} := -(S_{\mathcal{C}\mathcal{F}}^{\mathsf{T}}BS_{\mathcal{C}\mathcal{F}})^{-1}S_{\mathcal{C}\mathcal{F}}^{\mathsf{T}}BS_{\mathcal{I}\mathcal{G}} = [\widehat{H}_{\mathcal{I}}\ \ \widehat{H}_{\mathcal{G}}] \tag*{(5)} H := − ( S C F T B S C F ) − 1 S C F T B S I G = [ H I H G ] (5)
is well defined [27 Sec. 7A] and maps the I ∪ G \mathcal{I} \cup\mathcal{G} I ∪ G frequencies to all F ∪ L \mathcal{F} \cup\mathcal{L} F ∪ L bus frequencies. In particular, define H : = C F H ^ = [ H I H G ] H := C_{\mathcal{F}}\widehat{H} = [H_{\mathcal{I}}H_{\mathcal{G}}] H := C F H = [ H I H G ] and H d c : = C d c H ^ = [ H I d c H G d c ] H^{dc} := C_{dc}\widehat{H} = [H_{\mathcal{I}}^{dc}H_{\mathcal{G}}^{dc}] H d c := C d c H = [ H I d c H G d c ] . Then, @references大小规律 ω F = H I ω I + H G ω G \omega_F = H_I\omega_I + H_G\omega_G ω F = H I ω I + H G ω G and ω d c : = [ ω n d c ] n ∈ L d c = H I d c ω I + H G d c ω G \omega_{\mathrm{dc}} := [\omega_n^{\mathrm{dc}}]_{n\in\mathcal{L}_{\mathrm{dc}}} = H_I^{\mathrm{dc}}\omega_I + H_G^{\mathrm{dc}}\omega_G ω dc := [ ω n dc ] n ∈ L dc = H I dc ω I + H G dc ω G . We retain ω F \omega_F ω F and ω d c \omega_{\mathrm{dc}} ω dc as explicit algebraic states.
Switched Affine DAE Model:
Let ξ d = ( θ G I ⊤ , ω I ⊤ , ω G ⊤ , p m , G ⊤ ) ⊤ \xi_d = (\theta_{G\mathcal{I}}^\top,\omega_{\mathcal{I}}^\top,\omega_G^\top,p_{m,G}^\top)^\top ξ d = ( θ G I ⊤ , ω I ⊤ , ω G ⊤ , p m , G ⊤ ) ⊤ and ξ a = ( θ F , θ L , ω F ⊤ , ω d c ⊤ ) ⊤ \xi_a = (\theta_{\mathcal{F}},\theta_{\mathcal{L}},\omega_F^\top,\omega_{\mathrm{dc}}^\top)^\top ξ a = ( θ F , θ L , ω F ⊤ , ω dc ⊤ ) ⊤ , and ξ = [ ξ d ⊤ ξ a ⊤ ] ⊤ \xi= [\xi_d^\top\ \xi_a^\top]^\top ξ = [ ξ d ⊤ ξ a ⊤ ] ⊤ . Its differential and algebraic dimensions are n d = ( m − 1 ) + ∣ I ∣ + 2 ∣ G ∣ n_d=(m-1)+|\mathcal{I}|+2|\mathcal{G}| n d = ( m − 1 ) + ∣ I ∣ + 2∣ G ∣ and n a = 2 ∣ F ∣ + ∣ L ∣ + ∣ L d c ∣ n_a=2|\mathcal{F}|+|\mathcal{L}|+|\mathcal{L}_{\mathrm{dc}}| n a = 2∣ F ∣ + ∣ L ∣ + ∣ L dc ∣ , respectively. Using (6), the overall dynamics of the system are given by the following DAE:
E ξ ˙ = A ξ + b q , E = blkdiag ( I n d , 0 n a × n a ) , (6) E\dot{\xi}=A\xi+b_q,\qquad E=\operatorname{blkdiag}(I_{n_d},0_{n_a\times n_a}), \tag*{(6)} E ξ ˙ = A ξ + b q , E = blkdiag ( I n d , 0 n a × n a ) , (6)
with block matrix A = [ A 11 A 12 A 21 A 22 ] A=\begin{bmatrix}A_{11}&A_{12}\\A_{21}&A_{22}\end{bmatrix} A = [ A 11 A 21 A 12 A 22 ] given by
A 11 = [ 0 R I R G 0 − M I − 1 S I ⊤ B ˉ S ˉ G I − M I − 1 D I 0 0 − M G − 1 S G ⊤ B ˉ S ˉ G I 0 − M G − 1 D G M G − 1 0 0 − T G − 1 R G − T G − 1 ] (7) A_{11}=
\begin{bmatrix}
0 & R_{\mathcal{I}} & R_{\mathcal{G}} & 0\\
-M_{\mathcal{I}}^{-1}S_{\mathcal{I}}^\top\bar{B}\bar{S}_{\mathcal{G}\mathcal{I}} & -M_{\mathcal{I}}^{-1}D_{\mathcal{I}} & 0 & 0\\
-M_{\mathcal{G}}^{-1}S_{\mathcal{G}}^\top\bar{B}\bar{S}_{\mathcal{G}\mathcal{I}} & 0 & -M_{\mathcal{G}}^{-1}D_{\mathcal{G}} & M_{\mathcal{G}}^{-1}\\
0 & 0 & -T_{\mathcal{G}}^{-1}R_{\mathcal{G}} & -T_{\mathcal{G}}^{-1}
\end{bmatrix} \tag*{(7)} A 11 = 0 − M I − 1 S I ⊤ B ˉ S ˉ G I − M G − 1 S G ⊤ B ˉ S ˉ G I 0 R I − M I − 1 D I 0 0 R G 0 − M G − 1 D G − T G − 1 R G 0 0 M G − 1 − T G − 1 (7)
A 12 = [ 0 0 0 0 − M I − 1 S I ⊤ B ˉ S ˉ F − M I − 1 S I ⊤ B ˉ S ˉ L 0 0 − M G − 1 S G ⊤ B ˉ S ˉ F − M G − 1 S G ⊤ B ˉ S ˉ L 0 0 0 0 0 0 ] (8) A_{12}=
\begin{bmatrix}
0 & 0 & 0 & 0\\
-M_{\mathcal{I}}^{-1}S_{\mathcal{I}}^\top\bar{B}\bar{S}_{\mathcal{F}} & -M_{\mathcal{I}}^{-1}S_{\mathcal{I}}^\top\bar{B}\bar{S}_{\mathcal{L}} & 0 & 0\\
-M_{\mathcal{G}}^{-1}S_{\mathcal{G}}^\top\bar{B}\bar{S}_{\mathcal{F}} & -M_{\mathcal{G}}^{-1}S_{\mathcal{G}}^\top\bar{B}\bar{S}_{\mathcal{L}} & 0 & 0\\
0 & 0 & 0 & 0
\end{bmatrix} \tag*{(8)} A 12 = 0 − M I − 1 S I ⊤ B ˉ S ˉ F − M G − 1 S G ⊤ B ˉ S ˉ F 0 0 − M I − 1 S I ⊤ B ˉ S ˉ L − M G − 1 S G ⊤ B ˉ S ˉ L 0 0 0 0 0 0 0 0 0 (8)
A 21 = [ − S F ⊤ B ˉ S ˉ G I 0 0 0 − S L 0 ⊤ B ˉ S ˉ G I 0 0 0 − S L d c ⊤ B ˉ S ˉ G I 0 0 0 0 − H I − H G 0 0 − H I d c − H G d c 0 ] (9) A_{21}=
\begin{bmatrix}
-S_{\mathcal{F}}^\top\bar{B}\bar{S}_{\mathcal{G}\mathcal{I}} & 0 & 0 & 0\\
-S_{\mathcal{L}_0}^\top\bar{B}\bar{S}_{\mathcal{G}\mathcal{I}} & 0 & 0 & 0\\
-S_{\mathcal{L}_{\mathrm{dc}}}^\top\bar{B}\bar{S}_{\mathcal{G}\mathcal{I}} & 0 & 0 & 0\\
0 & -H_{\mathcal{I}} & -H_{\mathcal{G}} & 0\\
0 & -H_{\mathcal{I}}^{\mathrm{dc}} & -H_{\mathcal{G}}^{\mathrm{dc}} & 0
\end{bmatrix} \tag*{(9)} A 21 = − S F ⊤ B ˉ S ˉ G I − S L 0 ⊤ B ˉ S ˉ G I − S L dc ⊤ B ˉ S ˉ G I 0 0 0 0 0 − H I − H I dc 0 0 0 − H G − H G dc 0 0 0 0 0 (9)
A 22 = [ − S F ⊤ B ˉ S ˉ F − S F ⊤ B ˉ S ˉ L − K F 0 − S L 0 ⊤ B ˉ S ˉ F − S L 0 ⊤ B ˉ S ˉ L 0 0 − S L d c ⊤ B ˉ S ˉ F − S L d c ⊤ B ˉ S ˉ L 0 − K d c 0 0 I ∣ F ∣ 0 0 0 0 I ∣ L d c ∣ ] (10) A_{22}=
\begin{bmatrix}
-S_{\mathcal{F}}^\top\bar{B}\bar{S}_{\mathcal{F}} & -S_{\mathcal{F}}^\top\bar{B}\bar{S}_{\mathcal{L}} & -K_{\mathcal{F}} & 0\\
-S_{\mathcal{L}_0}^\top\bar{B}\bar{S}_{\mathcal{F}} & -S_{\mathcal{L}_0}^\top\bar{B}\bar{S}_{\mathcal{L}} & 0 & 0\\
-S_{\mathcal{L}_{\mathrm{dc}}}^\top\bar{B}\bar{S}_{\mathcal{F}} & -S_{\mathcal{L}_{\mathrm{dc}}}^\top\bar{B}\bar{S}_{\mathcal{L}} & 0 & -K_{\mathrm{dc}}\\
0 & 0 & I_{|\mathcal{F}|} & 0\\
0 & 0 & 0 & I_{|\mathcal{L}_{\mathrm{dc}}|}
\end{bmatrix} \tag*{(10)} A 22 = − S F ⊤ B ˉ S ˉ F − S L 0 ⊤ B ˉ S ˉ F − S L dc ⊤ B ˉ S ˉ F 0 0 − S F ⊤ B ˉ S ˉ L − S L 0 ⊤ B ˉ S ˉ L − S L dc ⊤ B ˉ S ˉ L 0 0 − K F 0 0 I ∣ F ∣ 0 0 0 − K dc 0 I ∣ L dc ∣ (10)
and b q = [ b d ⊤ ( b a q ) ⊤ ] ⊤ b_q=[b_d^\top\ (b_a^q)^\top]^\top b q = [ b d ⊤ ( b a q ) ⊤ ] ⊤ , where
b d = [ 0 m − 1 M I − 1 ( p I r e f − p ℓ , I ) − M G − 1 p ℓ , G − T G − 1 p G r e f ] , b a q = [ p F r e f − p ℓ , F − p ℓ , L 0 − p d c q 0 ∣ F ∣ 0 ∣ L d c ∣ ] . (11) b_d=
\begin{bmatrix}
0_{m-1}\\
M_{\mathcal{I}}^{-1}(p_{\mathcal{I}}^{\mathrm{ref}}-p_{\ell,\mathcal{I}})\\
-M_{\mathcal{G}}^{-1}p_{\ell,\mathcal{G}}\\
-T_{\mathcal{G}}^{-1}p_{\mathcal{G}}^{\mathrm{ref}}
\end{bmatrix},
\qquad
b_a^q=
\begin{bmatrix}
p_{\mathcal{F}}^{\mathrm{ref}}-p_{\ell,\mathcal{F}}\\
-p_{\ell,\mathcal{L}_0}\\
-p_{\mathrm{dc}}^q\\
0_{|\mathcal{F}|}\\
0_{|\mathcal{L}_{\mathrm{dc}}|}
\end{bmatrix}. \tag*{(11)} b d = 0 m − 1 M I − 1 ( p I ref − p ℓ , I ) − M G − 1 p ℓ , G − T G − 1 p G ref , b a q = p F ref − p ℓ , F − p ℓ , L 0 − p dc q 0 ∣ F ∣ 0 ∣ L dc ∣ . (11)
Here M I = diag ( M i ) i ∈ I M_{\mathcal{I}}=\operatorname{diag}(M_i)_{i\in\mathcal{I}} M I = diag ( M i ) i ∈ I and D I = diag ( D i ) i ∈ I D_{\mathcal{I}}=\operatorname{diag}(D_i)_{i\in\mathcal{I}} D I = diag ( D i ) i ∈ I are constant diagonal matrices. The remaining matrices are M G = diag ( M n ) n ∈ G M_{\mathcal{G}}=\operatorname{diag}(M_n)_{n\in\mathcal{G}} M G = diag ( M n ) n ∈ G , D G = diag ( D n ) n ∈ G D_{\mathcal{G}}=\operatorname{diag}(D_n)_{n\in\mathcal{G}} D G = diag ( D n ) n ∈ G , T G = diag ( τ n ) n ∈ G T_{\mathcal{G}}=\operatorname{diag}(\tau_n)_{n\in\mathcal{G}} T G = diag ( τ n ) n ∈ G , R G = diag ( R n ) n ∈ G R_{\mathcal{G}}=\operatorname{diag}(R_n)_{n\in\mathcal{G}} R G = diag ( R n ) n ∈ G , K F = diag ( K n ) n ∈ F K_{\mathcal{F}}=\operatorname{diag}(K_n)_{n\in\mathcal{F}} K F = diag ( K n ) n ∈ F , K d c = diag ( K d c , n ) n ∈ L d c K_{\mathrm{dc}}=\operatorname{diag}(K_{\mathrm{dc},n})_{n\in\mathcal{L}_{\mathrm{dc}}} K dc = diag ( K dc , n ) n ∈ L dc . The last two are the frequency-sensitivity matrices. The vector p d c q p_{\mathrm{dc}}^q p dc q stacks p d c , n q p_{\mathrm{dc},n}^q p dc , n q over n ∈ L d c n\in\mathcal{L}_{\mathrm{dc}} n ∈ L dc . For each applicable bus set X \mathcal{X} X , p ℓ , X p_{\ell,\mathcal{X}} p ℓ , X and p X r e f p_{\mathcal{X}}^{\mathrm{ref}} p X ref denote the corresponding stacked local loads and power references. The differential affine term b d b_d b d is constant, collecting power references scaled by the constant matrices M I − 1 M_{\mathcal{I}}^{-1} M I − 1 , M G − 1 M_{\mathcal{G}}^{-1} M G − 1 , and T G − 1 T_{\mathcal{G}}^{-1} T G − 1 . On the other hand, the algebraic affine term b a q b_a^q b a q carries − p d c q -p_{\mathrm{dc}}^q − p dc q in the datacenter power-balance rows, with remaining entries determined by constant references. Assumption 1 also guarantees that A 22 A_{22} A 22 is nonsingular as shown in [27 ] . Furthermore, A A A is nonsingular; to see this, the first block row of A ξ = 0 A\xi=0 A ξ = 0 implies
that all I ∪ G \mathcal{I}\cup\mathcal{G} I ∪ G frequencies have a common value c c c . Since H ~ 1 = 1 \tilde{H}\mathbf{1}=\mathbf{1} H ~ 1 = 1 (which follows from B 1 = 0 B\mathbf{1}=0 B 1 = 0 ), the divider equations give ω F = c 1 \omega_F=c\mathbf{1} ω F = c 1 and ω d c = c 1 \omega_{\mathrm{dc}}=c\mathbf{1} ω dc = c 1 . The governor equations give p m , G = − R G − 1 c 1 p_{m,\mathcal{G}}=-R_{\mathcal{G}}^{-1}c\mathbf{1} p m , G = − R G − 1 c 1 . Summing the homogeneous power-balance equations over all buses and using 1 ⊤ B = 0 \mathbf{1}^\top B=0 1 ⊤ B = 0 yields
( 1 ⊤ D I 1 + 1 ⊤ ( D G + R G − 1 ) 1 + 1 ⊤ K F 1 + 1 ⊤ K d c 1 ) c = 0. \left(\mathbf{1}^\top D_{\mathcal{I}}\mathbf{1}+\mathbf{1}^\top(D_{\mathcal{G}}+R_{\mathcal{G}}^{-1})\mathbf{1}+\mathbf{1}^\top K_{\mathcal{F}}\mathbf{1}+\mathbf{1}^\top K_{\mathrm{dc}}\mathbf{1}\right)c=0. ( 1 ⊤ D I 1 + 1 ⊤ ( D G + R G − 1 ) 1 + 1 ⊤ K F 1 + 1 ⊤ K dc 1 ) c = 0.
Thus c = 0 c=0 c = 0 ; the bus injections, relative angles, and mechanical-power states are subsequently zero. Hence the power-system DAE is regular, has differentiation index one, and has a unique equilibrium in every mode.
Switching Signals:
In (7), the mode q ∈ Q : = Q t r ∪ Q i n q\in\mathcal{Q}:=\mathcal{Q}_{\mathrm{tr}}\cup\mathcal{Q}_{\mathrm{in}} q ∈ Q := Q tr ∪ Q in represents training or inference workloads. In both cases, the active mode is determined by a right-continuous, piecewise-constant switching signal t ↦ σ ( t ) t\mapsto\sigma(t) t ↦ σ ( t ) , subject to different conditions for training and inference:
(a) Training Workloads: The class of switching signals σ t r : R ≥ 0 → Q t r \sigma_{\mathrm{tr}}:\mathbb{R}_{\geq0}\to\mathcal{Q}_{\mathrm{tr}} σ tr : R ≥ 0 → Q tr used in training workloads is denoted by S t r \mathcal{S}_{\mathrm{tr}} S tr . Since switching patterns in AI training workloads are approximately deterministic, but not necessarily periodic [1 ] , we assume only a mild average dwell-time bound on the number of mode transitions N σ ( t 1 , t 2 ) N_{\sigma}(t_1,t_2) N σ ( t 1 , t 2 ) that can occur over any finite time interval [ t 1 , t 2 ] [t_1,t_2] [ t 1 , t 2 ] . In particular, a signal σ t r ∈ S t r \sigma_{\mathrm{tr}}\in\mathcal{S}_{\mathrm{tr}} σ tr ∈ S tr is said to satisfy the average dwell-time (ADT) bound if for any two times t 2 ≥ t 1 ≥ 0 t_2\geq t_1\geq0 t 2 ≥ t 1 ≥ 0 in the domain of σ t r \sigma_{\mathrm{tr}} σ tr we have
N σ ( t 1 , t 2 ) ≤ N 0 + t 2 − t 1 τ d , N 0 ≥ 1 , τ d > 0. (12) N_{\sigma}(t_1,t_2)\leq N_0+\frac{t_2-t_1}{\tau_d},\qquad N_0\geq1,\ \tau_d>0. \tag*{(12)} N σ ( t 1 , t 2 ) ≤ N 0 + τ d t 2 − t 1 , N 0 ≥ 1 , τ d > 0. (12)
Signals in S t r \mathcal{S}_{\mathrm{tr}} S tr may be aperiodic, allow arbitrary mode ordering, and permit finitely many consecutive switches, capturing the variable durations and occasional switch-ing bursts observed in training workloads; see, e.g., [28 Figures 1, 5, 6] .
(b) Inference Workloads: The class of switching signals σ i n : R ≥ 0 → Q i n \sigma_{\mathrm{in}}:\mathbb{R}_{\geq0}\to\mathcal{Q}_{\mathrm{in}} σ in : R ≥ 0 → Q in modeling inference workloads is denoted by S i n \mathcal{S}_{\mathrm{in}} S in . In contrast to training workloads, inference workloads are driven by user requests, whose timing is inherently stochastic [29 , 30 ] . Motivated by this behavior, we model signals in S i n \mathcal{S}_{\mathrm{in}} S in as stochastic switching signals, with each mode q ∈ Q i n q\in\mathcal{Q}_{\mathrm{in}} q ∈ Q in assigned a probability distribution governing its dwell time. The stochastic assumptions underlying this model are detailed in Section V.
In the next section, we focus on the stability analysis of system (7) for training workloads subject to switching signals belonging to S t r \mathcal{S}_{\mathrm{tr}} S tr . The analysis for inference workloads with switching signals in S i n \mathcal{S}_{\mathrm{in}} S in is deferred to Section V.
Stability Analysis under Training Workloads: Deterministic Hybrid Systems
To study the regularity and stability properties of the power transmission dynamics (7) under training workloads, we first reformulate the system as a deterministic hybrid dynamical system of the form (2) with Q i n = ∅ \mathcal{Q}_{\mathrm{in}}=\varnothing Q in = ∅ . In particular, for the purpose of generality, we consider a generalized model of (7), given by the following switched affine DAE:
E q ξ ˙ = A q ξ + b q , (13) E_q\dot{\xi}=A_q\xi+b_q, \tag*{(13)} E q ξ ˙ = A q ξ + b q , (13)
where q ∈ Q t r : = { 1 , … , l } q\in\mathcal{Q}_{\mathrm{tr}}:=\{1,\ldots,l\} q ∈ Q tr := { 1 , … , l } denotes the current mode of the system, A q ∈ R n × n A_q\in\mathbb{R}^{n\times n} A q ∈ R n × n , E q ∈ R n × n E_q\in\mathbb{R}^{n\times n} E q ∈ R n × n , b q ∈ R n b_q\in\mathbb{R}^n b q ∈ R n , and ξ ∈ R n \xi\in\mathbb{R}^n ξ ∈ R n . We make the following regularity assumption on system (10):
Assumption 2. For each mode q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , the matrix A q A_q A q is invertible.
Under Assumption 2, for each fixed mode q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , system (10) has a unique equilibrium point given by ξ q ∗ = − A q − 1 b q \xi_q^*=-A_q^{-1}b_q ξ q ∗ = − A q − 1 b q . Additionally, under Assumptions 2 and 3, and the average dwell-time switching bound (9), the switched DAE (10) can be represented as the following hybrid dynamical system H \mathcal{H} H with data ( C , F , D , G ) (C,F,D,G) ( C , F , D , G ) and state vector x = ( ξ , q , τ ) x=(\xi,q,\tau) x = ( ξ , q , τ ) :
\begin{bmatrix}
\dot{\xi}\\
\dot{q}\\
\dot{\tau}
\end{bmatrix}
\in F(x):=
\begin{bmatrix}
\Pi_q^{\mathrm{diff}}(A_q\xi+b_q)\\
0\\
[0,\frac{1}{\tau_d}]
\end{bmatrix},\quad x\in C \tag*{(14)}\end{bmatrix}
\begin{bmatrix}
\xi^+\\
q^+\\
\tau^+
\end{bmatrix}
\in G(x):=
\left\{
\begin{bmatrix}
\Pi_z\xi\\
z\\
\tau-1
\end{bmatrix}:z\in\mathcal{Q}_{\mathrm{tr}}\setminus\{q\}
\right\},\quad x\in D \tag*{(15)}\end{bmatrix}
where Π q d i f f \Pi_q^{\mathrm{diff}} Π q diff is the differential projector and Π z \Pi_z Π z is the affine consistency projector; see Definitions 8 and 9 in Appendix A.
To define the flow and jump sets of the system, we introduce the consistency set of the q t h q^{\mathrm{th}} q th mode of the DAE:
C_q:=\{\xi\in\mathbb{R}^n:\xi\in(\operatorname{span}(V_q)-W_qb_q^a)\). \tag*{(16)}
In (11c), the matrices V q ∈ R n × n q 1 V_q\in\mathbb{R}^{n\times n_q^1} V q ∈ R n × n q 1 and W q ∈ R n × n q 2 W_q\in\mathbb{R}^{n\times n_q^2} W q ∈ R n × n q 2 define the so-called Quasi-Weierstrass form of the pair ( E q , A q ) (E_q,A_q) ( E q , A q ) (see Lemma 1 in Appendix A), given by:
( S q E q T q , S q A q T q ) = ( [ I n q 1 0 0 N q ] , [ J q 0 0 I n q 2 ] ) , (17) (S_qE_qT_q,S_qA_qT_q)=
\left(
\begin{bmatrix}
I_{n_q^1}&0\\
0&N_q
\end{bmatrix},
\begin{bmatrix}
J_q&0\\
0&I_{n_q^2}
\end{bmatrix}
\right), \tag*{(17)} ( S q E q T q , S q A q T q ) = ( [ I n q 1 0 0 N q ] , [ J q 0 0 I n q 2 ] ) , (17)
where S q : = [ E q V q , A q W q ] − 1 S_q:=[E_qV_q,A_qW_q]^{-1} S q := [ E q V q , A q W q ] − 1 , T q : = [ V q , W q ] T_q:=[V_q,W_q] T q := [ V q , W q ] , J q ∈ R n q 1 × n q 1 J_q\in\mathbb{R}^{n_q^1\times n_q^1} J q ∈ R n q 1 × n q 1 , and N q ∈ R n q 2 × n q 2 N_q\in\mathbb{R}^{n_q^2\times n_q^2} N q ∈ R n q 2 × n q 2 is a nilpotent matrix with ( N q ) n q 2 = 0 (N_q)^{n_q^2}=0 ( N q ) n q 2 = 0 , n q 1 + n q 2 = n n_q^1+n_q^2=n n q 1 + n q 2 = n . The following assumption is needed to guarantee the regularity of the solutions to (10):
Assumption 3. For each q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , the pair ( E q , A q ) (E_q,A_q) ( E q , A q ) is regular, i.e., the characteristic polynomial det ( s E q − A q ) \det(sE_q-A_q) det ( s E q − A q ) is not identically zero. Moreover, the Quasi-Weierstrass form (11d) of the pair ( E q , A q ) (E_q,A_q) ( E q , A q ) is such that the nilpotent block N q N_q N q has index at most one, i.e., N q = 0 N_q=0 N q = 0 .
Remark 1. A nonzero characteristic polynomial guarantees the quasi-Weierstrass decomposition (11d), but may allow higher-index nilpotent blocks and thus physically meaningless impulsive solutions. Assumption 3 rules these out and ensures well-defined solutions on the consistency set; see Lemma 1. For the power-system model in Section III, the algebraic equations are explicit, yielding N q = 0 N_q=0 N q = 0 , so the assumption holds automatically.
Using the consistency set (11c), the flow and jump sets of the HDS are defined as follows:
C : = ⋃ q ∈ Q t r C q , C q : = C q × { q } × [ 0 , N 0 ] , (18) C:=\bigcup_{q\in\mathcal{Q}_{\mathrm{tr}}}C_q,\qquad C_q:=C_q\times\{q\}\times[0,N_0], \tag*{(18)} C := q ∈ Q tr ⋃ C q , C q := C q × { q } × [ 0 , N 0 ] , (18)
D : = ⋃ q ∈ Q t r D q , D q : = C q × { q } × [ 1 , N 0 ] . (19) D:=\bigcup_{q\in\mathcal{Q}_{\mathrm{tr}}}D_q,\qquad D_q:=C_q\times\{q\}\times[1,N_0]. \tag*{(19)} D := q ∈ Q tr ⋃ D q , D q := C q × { q } × [ 1 , N 0 ] . (19)
In the resulting HDS (11), the state τ \tau τ acts as a timer that regulates the frequency of the jumps. In particular, by the structure of (11f), jumps are allowed only when τ ≥ 1 \tau\geq1 τ ≥ 1 . Each jump triggers a switch on the value of the mode q q q that parametrizes the continuous-time dynamics of the system. Since the maximum rate of increase of τ \tau τ is limited by the parameter 1 / τ d 1/\tau_d 1/ τ d , by the structure of the flow and jump set, the switching frequency in the resulting HDS satisfies the ADT constraint, see [18 Example 2.15] . This mechanism rules out Zeno behavior, but allows a finite number of arbitrarily fast switches. Note that, in general, the equilibrium point of the dynamics ξ ˙ \dot{\xi} ξ ˙ is mode-dependent. We make the following stability assumption on each mode:
Assumption 4. For each q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , there exist symmetric matrices P q , M q ∈ R n × n P_q,M_q\in\mathbb{R}^{n\times n} P q , M q ∈ R n × n that are positive definite on span ( V q ) \operatorname{span}(V_q) span ( V q ) and satisfy
η ⊤ ( A q Π q d i f f P q + P q Π q d i f f ⊤ A q ) η ≤ − η ⊤ M q η , \eta^\top\left(A_q\Pi_q^{\mathrm{diff}}P_q+P_q\Pi_q^{\mathrm{diff}\top}A_q\right)\eta\leq-\eta^\top M_q\eta, η ⊤ ( A q Π q diff P q + P q Π q diff ⊤ A q ) η ≤ − η ⊤ M q η ,
for all η ∈ span ( V q ) \eta\in\operatorname{span}(V_q) η ∈ span ( V q ) .
In essence, Assumption 4 requires that, for each mode q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , the linear component of the ξ \xi ξ -dynamics satisfies a standard mode-dependent Lyapunov inequality. Note that, since the consistency set C q C_q C q is in general affine, the shifted state ξ ~ = ξ − ξ q ∗ \tilde{\xi}=\xi-\xi_q^* ξ ~ = ξ − ξ q ∗ (used in the stability analysis) does not evolve on C q C_q C q . Rather, since both ξ \xi ξ and ξ q ∗ \xi_q^* ξ q ∗ belong to C q C_q C q , we have ξ ~ ∈ C q − C q = span ( V q ) \tilde{\xi}\in C_q-C_q=\operatorname{span}(V_q) ξ ~ ∈ C q − C q = span ( V q ) . Consequently, all positive-definiteness and quadratic-form conditions involving the shifted state are imposed on span ( V q ) \operatorname{span}(V_q) span ( V q ) , the linear direction space of C q C_q C q .
To analyze the stability properties of system (11), we introduce the change of variables x ↦ ( ξ ~ , q , τ ) = : y x\mapsto(\tilde{\xi},q,\tau)=:y x ↦ ( ξ ~ , q , τ ) =: y where ξ ~ = ξ − ξ q ∗ \tilde{\xi}=\xi-\xi_q^* ξ ~ = ξ − ξ q ∗ and ξ q ∗ \xi_q^* ξ q ∗ is the unique point in C q C_q C q that satisfies A q ξ q ∗ + b q = 0 A_q\xi_q^*+b_q=0 A q ξ q ∗ + b q = 0 . Such a point exists due to Assumption 2. For each q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , the dynamics of ξ ~ \tilde{\xi} ξ ~ during flows are
ξ ~ ˙ = Π q d i f f ( A q ξ ~ + b q ) = Π q d i f f ( A q ( ξ ~ + ξ q ∗ ) + b q ) = Π q d i f f A q ξ ~ . \dot{\tilde{\xi}}=\Pi_q^{\mathrm{diff}}(A_q\tilde{\xi}+b_q)=\Pi_q^{\mathrm{diff}}(A_q(\tilde{\xi}+\xi_q^*)+b_q)=\Pi_q^{\mathrm{diff}}A_q\tilde{\xi}. ξ ~ ˙ = Π q diff ( A q ξ ~ + b q ) = Π q diff ( A q ( ξ ~ + ξ q ∗ ) + b q ) = Π q diff A q ξ ~ .
During jumps, using Definition 8:
ξ ~ + = L q + ξ ~ + Δ q , q + . \tilde{\xi}^+=L_{q+}\tilde{\xi}+\Delta_{q,q+}. ξ ~ + = L q + ξ ~ + Δ q , q + .
where Δ q , q + = L q + ξ q ∗ + d q + − ξ q + ∗ \Delta_{q,q+}=L_{q+}\xi_q^*+d_{q+}-\xi_{q+}^* Δ q , q + = L q + ξ q ∗ + d q + − ξ q + ∗ . Note that the residuals Δ q , z \Delta_{q,z} Δ q , z vanish for every admissible transition q → z q\to z q → z if and only if Π z ξ q ∗ = ξ z ∗ \Pi_z\xi_q^*=\xi_z^* Π z ξ q ∗ = ξ z ∗ for every q , z ∈ Q t r q,z\in\mathcal{Q}_{\mathrm{tr}} q , z ∈ Q tr with q ≠ z q\ne z q = z . This condition expresses compatibility of the equilibria of the modes under the consistency projections; it does not, in general, require the equilibrium vectors ξ q ∗ \xi_q^* ξ q ∗ and ξ z ∗ \xi_z^* ξ z ∗ to coincide.
In the y y y -coordinates, the system is described by the following HDS:
ξ ~ ˙ = Π q d i f f A q ξ ~ , q ˙ = 0 , τ ˙ ∈ [ 0 , 1 τ d ] y ∈ C , (20) \dot{\tilde{\xi}}=\Pi_q^{\mathrm{diff}}A_q\tilde{\xi},\quad\dot{q}=0,\quad\dot{\tau}\in\left[0,\frac{1}{\tau_d}\right]\quad y\in C, \tag*{(20)} ξ ~ ˙ = Π q diff A q ξ ~ , q ˙ = 0 , τ ˙ ∈ [ 0 , τ d 1 ] y ∈ C , (20)
\begin{bmatrix}\tilde{\xi}^{+}\\q^{+}\\\tau^{+}\end{bmatrix}\in\left[\begin{array}{c}\left\{L_z\tilde{\xi}+\Delta_{q,z}:z\in Q_{\mathrm{tr}}\setminus\{q\}\right\}\\z\\\tau-1\end{array}\right],\quad y\in D, \tag*{(21)}\end{bmatrix}
where C q C_q C q is substituted by span ( V q ) \operatorname{span}(V_q) span ( V q ) in the definitions of C C C and D D D . To study the stability properties of system (12), we define the following compact set:
A : = { 0 } × Q t r × [ 0 , N 0 ] , (22) \mathcal{A}:=\{0\}\times Q_{\mathrm{tr}}\times[0,N_0], \tag*{(22)} A := { 0 } × Q tr × [ 0 , N 0 ] , (22)
as well as the following constants:
λ : = min q ∈ Q t r λ min ( O q T M q O q ) max q ∈ Q t r λ max ( O q T P q O q ) , (23) \lambda:=\frac{\min_{q\in Q_{\mathrm{tr}}}\lambda_{\min}(O_q^{\mathsf T}M_qO_q)}{\max_{q\in Q_{\mathrm{tr}}}\lambda_{\max}(O_q^{\mathsf T}P_qO_q)}, \tag*{(23)} λ := max q ∈ Q tr λ m a x ( O q T P q O q ) min q ∈ Q tr λ m i n ( O q T M q O q ) , (23)
γ : = max q ∈ Q t r λ max ( O q T P q O q ) ⋅ max q ∈ Q t r ∥ L q ∥ 2 min q ∈ Q t r λ min ( O q T P q O q ) , (24) \gamma:=\frac{\max_{q\in Q_{\mathrm{tr}}}\lambda_{\max}(O_q^{\mathsf T}P_qO_q)\cdot\max_{q\in Q_{\mathrm{tr}}}\lVert L_q\rVert^2}{\min_{q\in Q_{\mathrm{tr}}}\lambda_{\min}(O_q^{\mathsf T}P_qO_q)}, \tag*{(24)} γ := min q ∈ Q tr λ m i n ( O q T P q O q ) max q ∈ Q tr λ m a x ( O q T P q O q ) ⋅ max q ∈ Q tr ∥ L q ∥ 2 , (24)
α : = max q ∈ Q t r max r ∈ Q t r ∖ { q } Δ q , r T P r Δ q , r (25) \alpha:=\max_{q\in Q_{\mathrm{tr}}}\max_{r\in Q_{\mathrm{tr}}\setminus\{q\}}\Delta_{q,r}^{\mathsf T}P_r\Delta_{q,r} \tag*{(25)} α := q ∈ Q tr max r ∈ Q tr ∖ { q } max Δ q , r T P r Δ q , r (25)
p ‾ : = min q ∈ Q t r λ min ( O q T P q O q ) , p ‾ : = max q ∈ Q t r λ max ( O q T P q O q ) . (26) \underline{p}:=\min_{q\in Q_{\mathrm{tr}}}\lambda_{\min}(O_q^{\mathsf T}P_qO_q),\qquad\overline{p}:=\max_{q\in Q_{\mathrm{tr}}}\lambda_{\max}(O_q^{\mathsf T}P_qO_q). \tag*{(26)} p := q ∈ Q tr min λ m i n ( O q T P q O q ) , p := q ∈ Q tr max λ m a x ( O q T P q O q ) . (26)
By Lemmas 3 and 4 in the Appendix, we have that p ‾ , p ‾ , λ , γ > 0 \underline{p},\overline{p},\lambda,\gamma>0 p , p , λ , γ > 0 and α ≥ 0 \alpha\geq0 α ≥ 0 . The following theorem is the first main result of this section. The proof is presented in Appendix B.
Theorem 1. Suppose that Assumptions 2-4 hold. Choose any μ > max { 0 , ln γ } \mu>\max\{0,\ln\gamma\} μ > max { 0 , ln γ } and any θ ∈ ( 0 , e μ / γ − 1 ) \theta\in(0,e^\mu/\gamma-1) θ ∈ ( 0 , e μ / γ − 1 ) , and suppose that μ / λ < τ d \mu/\lambda<\tau_d μ / λ < τ d . Let κ : = e − μ ( 1 + θ ) γ \kappa:=e^{-\mu}(1+\theta)\gamma κ := e − μ ( 1 + θ ) γ , η : = min { λ − μ τ d , − ln κ } \eta:=\min\left\{\lambda-\frac{\mu}{\tau_d},-\ln\kappa\right\} η := min { λ − τ d μ , − ln κ } . Then, every solution of system (12) satisfies the following bound for all ( t , j ) ∈ dom ( y ) (t,j)\in\operatorname{dom}(y) ( t , j ) ∈ dom ( y ) :
∣ y ( t , j ) ∣ A ≤ β ( ∣ y ( 0 , 0 ) ∣ A , t + j ) + ν ( α ) , (27) \lvert y(t,j)\rvert_{\mathcal{A}}\leq\beta(\lvert y(0,0)\rvert_{\mathcal{A}},t+j)+\nu(\alpha), \tag*{(27)} ∣ y ( t , j ) ∣ A ≤ β (∣ y ( 0 , 0 ) ∣ A , t + j ) + ν ( α ) , (27) where β ( r , s ) : = ( e μ N 0 p ‾ p ‾ ) 0.5 e − η s / 2 r \beta(r,s):=\left(\frac{e^{\mu N_0}\overline{p}}{\underline{p}}\right)^{0.5}e^{-\eta s/2}r β ( r , s ) := ( p e μ N 0 p ) 0.5 e − η s /2 r , and ν ( α ) : = c ‾ c α \nu(\alpha):=\sqrt{\frac{\overline{c}}{c}\alpha} ν ( α ) := c c α , c ‾ = e μ N 0 ( 1 + 1 θ ) \overline{c}=e^{\mu N_0}\left(1+\frac{1}{\theta}\right) c = e μ N 0 ( 1 + θ 1 ) , c = p ‾ ( e μ − ( 1 + θ ) γ ) c=\underline{p}\left(e^\mu-(1+\theta)\gamma\right) c = p ( e μ − ( 1 + θ ) γ ) .
Remark 2. Theorem 1 gives a lower bound on τ d \tau_d τ d , and thus on the switching rate, guaranteeing global practical stability of (12) with respect to A \mathcal{A} A . The residual neighborhood ν ( α ) \nu(\alpha) ν ( α ) depends on the maximum projected-equilibrium mismatch α \alpha α , rather than the distance between the original equilibria. In particular, α = 0 \alpha=0 α = 0 iff Π r ( ξ q ∗ ) = ξ r ∗ \Pi_r(\xi_q^*)=\xi_r^* Π r ( ξ q ∗ ) = ξ r ∗ for all admissible transitions, in which case A \mathcal{A} A is UGAS. This includes the common-equilibrium setting of [9 ] , while also allowing mode-dependent equilibria compatible under the consistency projections.
Characterization of the Limiting Behavior of the Switched DAE: Ω \Omega Ω -Limit Sets
While Theorem 1 provides a KL bound on the trajectories of the system that holds for all time, provided τ d \tau_d τ d is lower-bounded by the ratio μ / λ \mu/\lambda μ / λ , a sharper characterization of the limiting behavior of the HDS as t + j → ∞ t+j\to\infty t + j → ∞ can be obtained by characterizing its associated Ω \Omega Ω -limit whenever τ d \tau_d τ d is “sufficiently large” and no two consecutive switches are allowed, i.e., τ d → ∞ \tau_d\to\infty τ d → ∞ and N 0 = 1 N_0=1 N 0 = 1 . To study this case, for each q ∈ Q t r q\in Q_{\mathrm{tr}} q ∈ Q tr , let Θ q t ( ξ 0 ) \Theta_q^t(\xi_0) Θ q t ( ξ 0 ) denote the solution to the DAE E q ξ ˙ = A q ξ + b q E_q\dot{\xi}=A_q\xi+b_q E q ξ ˙ = A q ξ + b q starting from a consistent initial condition ξ 0 ∈ C q \xi_0\in C_q ξ 0 ∈ C q , and evaluated at time t t t . Using [9 Theorem 6. 4.4] , it follows that
Θ q t ( ξ 0 ) = e A q d i f f t ( ξ 0 + Π q i m p b q ) + ∫ 0 t e A q d i f f ( t − s ) Π q d i f f b q d s − Π q i m p b q , (28) \Theta_q^t(\xi_0)=e^{A_q^{\mathrm{diff}}t}\left(\xi_0+\Pi_q^{\mathrm{imp}}b_q\right)+\int_0^t e^{A_q^{\mathrm{diff}}(t-s)}\Pi_q^{\mathrm{diff}}b_q\,\mathrm{d}s-\Pi_q^{\mathrm{imp}}b_q, \tag*{(28)} Θ q t ( ξ 0 ) = e A q diff t ( ξ 0 + Π q imp b q ) + ∫ 0 t e A q diff ( t − s ) Π q diff b q d s − Π q imp b q , (28)
where A q d i f f = Π q d i f f A q A_q^{\mathrm{diff}}=\Pi_q^{\mathrm{diff}}A_q A q diff = Π q diff A q . Using the form of (16), as well as Definitions 5 and 6, we now state the second main result of this section. The proof is presented in the Appendix.
Theorem 2. Let N 0 = 1 N_0=1 N 0 = 1 and suppose that Assumptions 2, 3, and 4 hold. Let
A : = ⋃ q ∈ Q t r [ { ξ q ∗ } × { q } × [ 0 , 1 ] ] ∪ ⋃ r ∈ Q t r r ≠ q [ { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } × { r } × { 0 } ] . (29) \mathcal{A}:=\bigcup_{q\in Q_{\mathrm{tr}}}\left[\{\xi_q^*\}\times\{q\}\times[0,1]\right]\cup\bigcup_{\substack{r\in Q_{\mathrm{tr}}\\r\neq q}}\left[\left\{\Theta_r^t\left(\Pi_r(\xi_q^*)\right):t\geq0\right\}\times\{r\}\times\{0\}\right]. \tag*{(29)} A := q ∈ Q tr ⋃ [ { ξ q ∗ } × { q } × [ 0 , 1 ] ] ∪ r ∈ Q tr r = q ⋃ [ { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } × { r } × { 0 } ] . (29) Then, the set A \mathcal{A} A is S P G A S SPGAS S P G A S as 1 / τ d → 0 + 1/\tau_d\to0^+ 1/ τ d → 0 + for system (11).
Remark 3. Compared with Theorem 1, Theorem 2 more precisely characterizes the asymptotic behavior for sufficiently large τ d \tau_d τ d . In particular, V : = proj ξ ( A ) \mathcal{V}:=\operatorname{proj}_{\xi}(\mathcal{A}) V := proj ξ ( A ) consists of the mode-dependent equilibria and the trajectories flowing from Π r ( ξ q ∗ ) \Pi_r(\xi_q^*) Π r ( ξ q ∗ ) toward ξ r ∗ \xi_r^* ξ r ∗ , for r ≠ q r\neq q r = q . Theorem 2 guarantees convergence to an arbitrarily small neighborhood of V \mathcal{V} V .
Before applying Theorems 1 and 2 to the power transmission system introduced in Section III, we illustrate the main theoretical results through two low-dimensional numerical examples in R 2 \mathbb{R}^2 R 2 and R 3 \mathbb{R}^3 R 3 , respectively. The first example is adapted from [12 Example 7] to account for mode-dependent equilibria.
Example 1. Consider the switched DAE with data E 1 = [ 0 , 1 ; 0 , 0 ] E_1=[0,1;0,0] E 1 = [ 0 , 1 ; 0 , 0 ] , A 1 = [ 0 , − 1 ; − 1 , 1 ] A_1=[0,-1;-1,1] A 1 = [ 0 , − 1 ; − 1 , 1 ] , b 1 = [ 1 , 0 ] b_1=[1,0] b 1 = [ 1 , 0 ] , E 2 = [ 0 , 0 ; 1 , 1 ] E_2=[0,0;1,1] E 2 = [ 0 , 0 ; 1 , 1 ] , A 2 = [ 1 , 0 ; 0 , − 1 ] A_2=[1,0;0,-1] A 2 = [ 1 , 0 ; 0 , − 1 ] , b 2 = [ 2 , − 2 ] b_2=[2,-2] b 2 = [ 2 , − 2 ] . The dynamics of mode 1 are given by ξ ˙ 2 = − ξ 2 + 1 \dot{\xi}_2=-\xi_2+1 ξ ˙ 2 = − ξ 2 + 1 , ξ ˙ 1 = ξ 2 \dot{\xi}_1=\xi_2 ξ ˙ 1 = ξ 2 . Similarly, mode 2 has dynamics given by ξ ˙ 2 = − ξ 2 − 2 \dot{\xi}_2=-\xi_2-2 ξ ˙ 2 = − ξ 2 − 2 , ξ ˙ 1 = − 2 \dot{\xi}_1=-2 ξ ˙ 1 = − 2 . The equilibria of the two subsystems are ξ 1 ∗ = [ 1 , 1 ] \xi_1^*=[1,1] ξ 1 ∗ = [ 1 , 1 ] and ξ 2 ∗ = [ − 2 , − 2 ] \xi_2^*=[-2,-2] ξ 2 ∗ = [ − 2 , − 2 ] , respectively. The consistency sets of the two modes are C 1 = { [ s ; s ] : s ∈ R } = span { [ 1 ; 1 ] } C_1=\{[s;s]:s\in\mathbb{R}\}=\operatorname{span}\{[1;1]\} C 1 = {[ s ; s ] : s ∈ R } = span {[ 1 ; 1 ]} , C 2 = { [ − 2 ; s ] : s ∈ R } = [ − 2 ; 0 ] + span { [ 0 ; 1 ] } C_2=\{[-2;s]:s\in\mathbb{R}\}=[-2;0]+\operatorname{span}\{[0;1]\} C 2 = {[ − 2 ; s ] : s ∈ R } = [ − 2 ; 0 ] + span {[ 0 ; 1 ]} . Using the quasi-Weierstrass form, the corresponding affine consistency projectors Π q ( ξ ) = L q ξ + d q \Pi_q(\xi)=L_q\xi+d_q Π q ( ξ ) = L q ξ + d q are Π 1 ( ξ ) = [ 0 , 1 ; 0 , 1 ] ξ = [ ξ 2 ; ξ 2 ] \Pi_1(\xi)=[0,1;0,1]\xi=[\xi_2;\xi_2] Π 1 ( ξ ) = [ 0 , 1 ; 0 , 1 ] ξ = [ ξ 2 ; ξ 2 ] , Π 2 ( ξ ) = [ 0 , 0 ; 0 , 1 ] ξ + [ − 2 ; 0 ] = [ − 2 ; ξ 2 ] \Pi_2(\xi)=[0,0;0,1]\xi+[-2;0]=[-2;\xi_2] Π 2 ( ξ ) = [ 0 , 0 ; 0 , 1 ] ξ + [ − 2 ; 0 ] = [ − 2 ; ξ 2 ] . Thus, L 1 = [ 0 , 1 ; 0 , 1 ] L_1=[0,1;0,1] L 1 = [ 0 , 1 ; 0 , 1 ] , L 2 = [ 0 , 0 ; 0 , 1 ] L_2=[0,0;0,1] L 2 = [ 0 , 0 ; 0 , 1 ] , d 1 = 0 d_1=0 d 1 = 0 , d 2 = [ − 2 ; 0 ] d_2=[-2;0] d 2 = [ − 2 ; 0 ] . Similarly, the differential projectors are given by Π 1 d i f f = [ 1 , 0 ; 1 , 0 ] \Pi_1^{\mathrm{diff}}=[1,0;1,0] Π 1 diff = [ 1 , 0 ; 1 , 0 ] , Π 2 d i f f = [ 0 , 0 ; 0 , 1 ] \Pi_2^{\mathrm{diff}}=[0,0;0,1] Π 2 diff = [ 0 , 0 ; 0 , 1 ] . A simple computation shows that the matrices P 1 = [ 1 , 0 ; 0 , 0 ] P_1 = [1, 0; 0, 0] P 1 = [ 1 , 0 ; 0 , 0 ] and P 2 = [ 0 , 0 ; 0 , 1 ] P_2 = [0, 0; 0, 1] P 2 = [ 0 , 0 ; 0 , 1 ] are positive definite on span ( V 1 ) \operatorname{span}(V_1) span ( V 1 ) and span ( V 2 ) \operatorname{span}(V_2) span ( V 2 ) respectively. Choosing O 1 = 1 2 ( 1 1 ) O_1 = \frac{1}{\sqrt{2}}(1\ \ 1) O 1 = 2 1 ( 1 1 ) and O 2 = ( 0 1 ) O_2 = (0\ \ 1) O 2 = ( 0 1 ) , yet another computation shows that the matrices M 1 = [ 0 , 1 ; 1 , 0 ] M_1 = [0, 1; 1, 0] M 1 = [ 0 , 1 ; 1 , 0 ] and M 2 = [ 0 , 0 ; 0 , 2 ] M_2 = [0, 0; 0, 2] M 2 = [ 0 , 0 ; 0 , 2 ] are positive definite on span ( V 1 ) \operatorname{span}(V_1) span ( V 1 ) and span ( V 2 ) \operatorname{span}(V_2) span ( V 2 ) , respectively. From these matrices, the value of λ \lambda λ and γ \gamma γ are 1 and 4, respectively. We choose N 0 = 2 N_0 = 2 N 0 = 2 here. To satisfy the conditions of Theorem 1 we take μ = 2 \mu= 2 μ = 2 , θ = 0.35 ∈ ( 0 , e μ / γ − 1 ) \theta= 0.35 \in(0, e^{\mu/\gamma} - 1) θ = 0.35 ∈ ( 0 , e μ / γ − 1 ) , 1 τ d = 0.4 < λ / μ = 0.5 \frac{1}{\tau_d} = 0.4 < \lambda/\mu= 0.5 τ d 1 = 0.4 < λ / μ = 0.5 . This implies that κ = e − 2 ( 1.35 ) ( 4 ) ≈ 0.731 \kappa= e^{-2(1.35)(4)} \approx0.731 κ = e − 2 ( 1.35 ) ( 4 ) ≈ 0.731 which lies in the interval ( 0 , 1 ) (0, 1) ( 0 , 1 ) and η = min { λ − μ ⋅ 1 τ d , − ln κ } = min { 0.2 , 0.313 } = 0.2 \eta= \min\{\lambda- \mu\cdot\frac{1}{\tau_d}, -\ln\kappa\} = \min\{0.2, 0.313\} = 0.2 η = min { λ − μ ⋅ τ d 1 , − ln κ } = min { 0.2 , 0.313 } = 0.2 . Figure 1 shows the trajectories of the system, illustrating the result of Theorem 1.
Figure 1. Example 1 illustrating Theorem 1: (A) distance ∣ x ∣ A |x|_{\mathcal{A}} ∣ x ∣ A , (B) state trajectories x 1 x_1 x 1 , x 2 x_2 x 2 , and (C) switching signal.
Example 2. To illustrate the set Y \mathcal{Y} Y , consider a two-mode system in R 3 \mathbb{R}^3 R 3 with ξ 3 \xi_3 ξ 3 as the algebraic variable. The dynamics of the first mode are given by ξ ˙ 1 = − ξ 1 − 2 ξ 2 \dot{\xi}_1 = -\xi_1 - 2\xi_2 ξ ˙ 1 = − ξ 1 − 2 ξ 2 , ξ ˙ 2 = 2 ξ 1 − ξ 2 \dot{\xi}_2 = 2\xi_1 - \xi_2 ξ ˙ 2 = 2 ξ 1 − ξ 2 , 0 = ξ 3 0 = \xi_3 0 = ξ 3 . The second mode has dynamics ξ ˙ 1 = − ξ 1 + 3 ξ 2 + 1 \dot{\xi}_1 = -\xi_1 + 3\xi_2 + 1 ξ ˙ 1 = − ξ 1 + 3 ξ 2 + 1 , ξ ˙ 2 = − 3 ξ 1 − ξ 2 + 3 \dot{\xi}_2 = -3\xi_1 - \xi_2 + 3 ξ ˙ 2 = − 3 ξ 1 − ξ 2 + 3 , 0 = ξ 3 − 1 0 = \xi_3 - 1 0 = ξ 3 − 1 . The consistency spaces C 1 = { ξ 3 = 0 } \mathcal{C}_1 = \{\xi_3 = 0\} C 1 = { ξ 3 = 0 } and C 2 = { ξ 3 = 1 } \mathcal{C}_2 = \{\xi_3 = 1\} C 2 = { ξ 3 = 1 } are parallel horizontal planes in R 3 \mathbb{R}^3 R 3 , separated by the offset in b q b^q b q . In standard form, both modes share E 1 = E 2 = [ 1 , 0 , 0 ; 0 , 1 , 0 ; 0 , 0 , 0 ] E_1 = E_2 = [1, 0, 0; 0, 1, 0; 0, 0, 0] E 1 = E 2 = [ 1 , 0 , 0 ; 0 , 1 , 0 ; 0 , 0 , 0 ] , with b 1 = ( 0 , 0 , 0 ) b_1 = (0, 0, 0) b 1 = ( 0 , 0 , 0 ) , b 2 = ( 1 , 3 , − 1 ) b_2 = (1, 3, -1) b 2 = ( 1 , 3 , − 1 ) , and A 1 = [ − 1 , − 2 , 0 ; 2 , − 1 , 0 ; 0 , 0 , 1 ] A_1 = [-1, -2, 0; 2, -1, 0; 0, 0, 1] A 1 = [ − 1 , − 2 , 0 ; 2 , − 1 , 0 ; 0 , 0 , 1 ] , A 2 = [ − 1 , 3 , 0 ; − 3 , − 1 , 0 ; 0 , 0 , 1 ] A_2 = [-1, 3, 0; -3, -1, 0; 0, 0, 1] A 2 = [ − 1 , 3 , 0 ; − 3 , − 1 , 0 ; 0 , 0 , 1 ] . The differential projectors are identical for both modes, and the consistency projectors differ only in their affine offset: Π 1 d i f f = Π 2 d i f f = [ 1 , 0 , 0 ; 0 , 1 , 0 ; 0 , 0 , 0 ] \Pi^{\mathrm{diff}}_1 = \Pi^{\mathrm{diff}}_2 = [1, 0, 0; 0, 1, 0; 0, 0, 0] Π 1 diff = Π 2 diff = [ 1 , 0 , 0 ; 0 , 1 , 0 ; 0 , 0 , 0 ] , Π 1 ( ξ ) = [ ξ 1 , ξ 2 , 0 ] \Pi_1(\xi) = [\xi_1, \xi_2, 0] Π 1 ( ξ ) = [ ξ 1 , ξ 2 , 0 ] , Π 2 ( ξ ) = [ ξ 1 , ξ 2 , 1 ] \Pi_2(\xi) = [\xi_1, \xi_2, 1] Π 2 ( ξ ) = [ ξ 1 , ξ 2 , 1 ] , with equilibria ξ 1 ∗ = ( 0 , 0 , 0 ) ∈ C 1 \xi_1^* = (0, 0, 0) \in\mathcal{C}_1 ξ 1 ∗ = ( 0 , 0 , 0 ) ∈ C 1 and ξ 2 ∗ = ( 1 , 0 , 1 ) ∈ C 2 \xi_2^* = (1, 0, 1) \in\mathcal{C}_2 ξ 2 ∗ = ( 1 , 0 , 1 ) ∈ C 2 . The set Y = Y 1 ∪ Y 2 \mathcal{Y} = \mathcal{Y}_1 \cup\mathcal{Y}_2 Y = Y 1 ∪ Y 2 predicted by Theorem 2 consists of the two closed spiral orbits Y 1 = { Π 2 ( ξ 1 ∗ ( t ) ) : t ≥ 0 } \mathcal{Y}_1 = \{\Pi_2(\xi_1^*(t)): t \ge0\} Y 1 = { Π 2 ( ξ 1 ∗ ( t )) : t ≥ 0 } , and Y 2 = { Π 1 ( ξ 2 ∗ ( t ) ) : t ≥ 0 } \mathcal{Y}_2 = \{\Pi_1(\xi_2^*(t)): t \ge0\} Y 2 = { Π 1 ( ξ 2 ∗ ( t )) : t ≥ 0 } .
Figure 2 shows the structure of Y \mathcal{Y} Y which we recall, is the projection of the set A \mathcal{A} A onto the ξ \xi ξ coordinates, together with the equilibria and consistency projectors. Figure 3 shows system trajectories converging to Y \mathcal{Y} Y .
Figure 2. Set Y = Y 1 ∪ Y 2 \mathcal{Y} = \mathcal{Y}_1 \cup\mathcal{Y}_2 Y = Y 1 ∪ Y 2 for Example 2, projected onto ( x 1 , x 2 ) (x_1, x_2) ( x 1 , x 2 ) . The curves connect the projected equilibria Π q ( ξ q ∗ ) \Pi_q(\xi_q^*) Π q ( ξ q ∗ ) to ξ q ∗ \xi_q^* ξ q ∗ , with dotted arrows indicating the consistency projections.
Figure 3. Trajectories of Example 2 illustrating Theorem 2(a) in the ξ \xi ξ -coordinates. Solutions spiral on the parallel consistency planes C 1 = { x 3 = 0 } C_1 = \{x_3 = 0\} C 1 = { x 3 = 0 } (blue) and C 2 = { x 3 = 1 } C_2 = \{x_3 = 1\} C 2 = { x 3 = 1 } (red), with dotted segments indicating switching-induced jumps between them. The color gradient denotes normalized time, and trajectories accumulate on Y = Y 1 ∪ Y 2 \mathcal{Y} = \mathcal{Y}_1 \cup\mathcal{Y}_2 Y = Y 1 ∪ Y 2 (black).
Application to AI Power Transmission Systems with Training Workloads: Simulations and EMT Validations
To study the role of Theorems 1 and 2 in the power transmission system described in Section III, we consider a modified New England IEEE 39-bus transmission network, shown in Figure 4 , incorporating heterogeneous generation resources and an AI datacenter load. Specifically, the network hosts five synchronous generators at Buses 33, 34, 36, 37, and 39, with Bus 39 serving as the reference bus; four GFM IBR units at Buses 31, 32, 35, and 38; and one GFL IBR unit at Bus 30. A frequency-responsive datacenter load is connected at Bus 20, while the GFM unit at Bus 38 is designated as the campus GFM and provides frequency support during variations in datacenter demand. Numerical studies are presented for deterministic training-phase switching over the set of modes Q t r = { f w , b w , a r , i d } \mathcal{Q}_{\mathrm{tr}} = \{fw, bw, ar, id\} Q tr = { f w , b w , a r , i d } . In our numerical experiments, we consider two different cases: Case I: Stability under ADT Switching: To study stability under general ADT switching, we set N 0 = 2 N_0 = 2 N 0 = 2 and let the datacenter at Bus 20 cycle through p d c f w > p d c b w > p d c a r > p d c i d p_{\mathrm{dc}}^{fw} > p_{\mathrm{dc}}^{bw} > p_{\mathrm{dc}}^{ar} > p_{\mathrm{dc}}^{id} p dc f w > p dc b w > p dc a r > p dc i d , with frequency support from the GFM inverter at Bus 38. We simulate the switched-DAE model of Section III and validate it against high-fidelity dq0 electromagnetic transient (EMT) simulations in PowerSimulationsDynamics.jl (PSID.jl) [31 ] . The EMT model captures network, converter, and electromechanical dynamics neglected by the reduced-order model, providing a benchmark for its accuracy under fast datacenter workload transitions.
Figure 4. Modified IEEE 39-bus system used for training and inference simulations, with Bus 39 as the reference and the datacenter load at Bus 20.
The PSID.jl model uses the same modified IEEE 39-bus network, operating point, generation mix, datacenter location, and mode transitions as the switched-DAE model, differing primarily in fidelity. It includes detailed synchronous-generator, converter, control, PLL, and transmission-line dynamics, while the datacenter at Bus 20 follows the same frequency-responsive load model (5).
Figure 5 compares the switched-DAE model (Panel a) with the high-fidelity dq0 EMT simulation (Panel b), showing datacenter power demand and the relevant frequency, angle, mechanical-power, and bus responses. Figure 6 additionally shows the active mode q ∈ Q t r q \in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr and the aperiodic timer τ \tau τ , which resets at each transition and evolves as τ ˙ ∈ [ 0 , 1 / τ d ] \dot{\tau} \in[0,1/\tau_d] τ ˙ ∈ [ 0 , 1/ τ d ] up to the jump threshold τ = 1 \tau= 1 τ = 1 . The switched-DAE model captures the dominant switching-induced transients and inter-mode behavior observed in the EMT simulations. Differences arise mainly from the DC power-flow linearization and neglected fast converter dynamics, particularly at GFL buses where the switched-DAE uses a frequency-divider approximation instead of explicit inner-loop and PLL dynamics. Overall, the results support the switched-DAE framework as a tractable reduced-order model for AI datacenter mode transitions.
Figure 5. Deterministic training-phase switching on the modified IEEE 39-bus system with AI datacenter loads: (a) switched-DAE model and (b) high-fidelity dq0 EMT validation in PSID.jl, both under switching over Q t r = { f w , b w , a r , i d } Q_{\mathrm{tr}} = \{fw,bw,ar,id\} Q tr = { f w , b w , a r , i d } .
Figure 6. Deterministic training-phase switching signal and ADT timer, for the scenario in Figure 5 . The figure shows the switching signal over Q t r = { f w , b w , a r , i d } \mathcal{Q}_{\mathrm{tr}}=\{fw,bw,ar,id\} Q tr = { f w , b w , a r , i d } and the timer τ ( t ) \tau(t) τ ( t ) , which resets at each mode transition and imposes the jump threshold τ = 1 \tau=1 τ = 1 under the bound N 0 = 2 N_0=2 N 0 = 2 .
b) Limiting behavior: To illustrate Theorem 2 on the 39-bus system, we set N 0 = 1 N_0 = 1 N 0 = 1 , imposing a standard dwell-time bound. Since ξ ∈ R n \xi\in\mathbb{R}^n ξ ∈ R n is high-dimensional, we project onto ( θ 34 , Δ ω 34 , θ L , 20 ) (\theta_{34}, \Delta\omega_{34}, \theta_{L,20}) ( θ 34 , Δ ω 34 , θ L , 20 ) , where θ L , 20 \theta_{L,20} θ L , 20 distinguishes the four mode-dependent consistency spaces. Figure 7 a shows the predicted set Y = ⋃ q Y q \mathcal{Y} = \bigcup_q \mathcal{Y}_q Y = ⋃ q Y q (black curves) and the mode-dependent equilibria ξ q ∗ \xi_q^* ξ q ∗ (stars). Their separation along θ L , 20 \theta_{L,20} θ L , 20 reflects the different datacenter power levels p d c q p_{\mathrm{dc}}^q p dc q . Each Y q \mathcal{Y}_q Y q is generated by the mode-q q q flow from a projected equilibrium Π q ( ξ q ∗ ) \Pi_q(\xi_q^*) Π q ( ξ q ∗ ) . The high-dimensional consistency spaces are omitted because their low-dimensional projections provide no useful geometric information. Figure 7 b shows trajectories approaching Y \mathcal{Y} Y , with color denoting normalized time and dotted segments representing switching-induced jumps. After each jump onto the new consistency space, the state evolves under the active mode toward Y \mathcal{Y} Y . Thus, regardless of the initial condition, the long-run behavior is well approximated by Y \mathcal{Y} Y , consistent with Theorem 2.
Figure 7. (a) Projection of Y \mathcal{Y} Y for the modified IEEE 39-bus system under training-phase switching, showing mode equilibria ξ q ∗ \xi_q^* ξ q ∗ (stars), consistency projections Π q ( ξ q ∗ ) \Pi_q(\xi_q^*) Π q ( ξ q ∗ ) (circles), and limiting orbits (black). (b) Trajectories in ( θ 34 , Δ ω 34 , θ L , 20 ) (\theta_{34},\Delta\omega_{34},\theta_{L,20}) ( θ 34 , Δ ω 34 , θ L , 20 ) illustrating Theorem 2(a), including switching-induced jumps and convergence toward Y \mathcal{Y} Y . Color denotes normalized time.
Stability under Inference Workloads: Stochastic Switching
As described in Section III, during inference, the datacenter mode transitions are triggered by user requests whose arrival times and service durations are inherently random. Therefore, in this section, we extend the results of Section IV by treating mode transitions during inference workloads as a stochastic phenomenon, and we study the regularity and stability properties of the power transmission dynamics (7) by modeling the overall system as a SHDS of the form (1). Our model of datacenter inference will contain two sources of randomness: mode transitions and switching times.
Stochastic Mode Transitions
The operating mode of the data centers during inference is modeled as a random variable v 1 ∈ Q i n v_1 \in Q_{\mathrm{in}} v 1 ∈ Q in . Importantly, v 1 v_1 v 1 characterizes the mode entered by the aggregate datacenter load at each transition, rather than the mode associated with an individual inference request. For a single user request, mode transitions are deterministic and follow the cycle i d → p r e → d e c → i d \mathrm{id} \to\mathrm{pre} \to\mathrm{dec} \to\mathrm{id} id → pre → dec → id . Randomness in v 1 v_1 v 1 emerges only at the aggregate level: when multiple user requests are processed concurrently, the next mode observed by the power system depends on the timing and completion of the individual requests. Consequently, the superposition of many asynchronous request-level transitions induces an effectively random sequence of aggregate operating modes.
To model the stochastic mode transitions, let
p q ′ : = P [ v 1 = q ′ ] , q ′ ∈ Q i n , p_{q'} := \mathbb{P}[v_1=q'], \qquad q' \in Q_{\mathrm{in}}, p q ′ := P [ v 1 = q ′ ] , q ′ ∈ Q in ,
where the probabilities { p q ′ } q ′ ∈ Q i n \{p_{q'}\}_{q'\in Q_{\mathrm{in}}} { p q ′ } q ′ ∈ Q in are obtained from empirical transition frequencies of the aggregate datacenter load and satisfy p q ′ ≥ 0 p_{q'} \ge0 p q ′ ≥ 0 , and ∑ q ′ ∈ Q i n p q ′ = 1 \sum_{q'\in Q_{\mathrm{in}}} p_{q'} = 1 ∑ q ′ ∈ Q in p q ′ = 1 . Accordingly, at each mode transition, the next aggregate operating mode is approximated as an independent categorical random variable,
v 1 ∼ Cat ( Q i n , { p q ′ } q ′ ∈ Q i n ) . v_1 \sim\operatorname{Cat}(Q_{\mathrm{in}},\{p_{q'}\}_{q'\in Q_{\mathrm{in}}}). v 1 ∼ Cat ( Q in , { p q ′ } q ′ ∈ Q in ) .
This constitutes an aggregate stochastic approximation of the mode sequence generated by many asynchronous inference requests. The mode-dependent dwell time is subsequently sampled from the conditional distribution μ 2 ∣ v 1 = q ′ \mu_{2\mid v_1=q'} μ 2 ∣ v 1 = q ′ . To support this model, we provide two arguments:
a) Production data centers process many requests concurrently, each cycling asynchronously through inference modes with random dwell times. The aggregate power is therefore a superposition of many independent cycles. By the law of large numbers, the aggregate mode fractions concentrate around their stationary values, motivating the approximation of successive modes as i.i.d. draws from Cat ( Q i n , { p q ′ } ) \operatorname{Cat}(Q_{\mathrm{in}},\{p_{q'}\}) Cat ( Q in , { p q ′ }) . Similar population-level approximations are used for thermostatically controlled loads (TCLs), where aggregate behavior is characterized by stationary mode fractions [32 Sections II,III] [33, Section II] .
b) Inference cycles occur over tens to hundreds of milliseconds, much faster than the seconds-scale electromechanical dynamics. Under this timescale separation, the slow power-system dynamics respond primarily to the stationary distribution of the fast inference process [34 Corollary 4.7] . Thus, for an ergodic inference cycle with stationary distribution { p q ′ } \{p_{q'}\} { p q ′ } , we approximate successive aggregate modes as i.i.d. samples, motivating v 1 ∼ Cat ( Q i n , { p q ′ } ) v_1\sim\operatorname{Cat}(\mathcal{Q}_{\mathrm{in}},\{p_{q'}\}) v 1 ∼ Cat ( Q in , { p q ′ }) .
Remark 4. This approximation requires sufficiently many concurrent requests and inference cycles per electromechanical time scale. At low arrival rates, a few requests may dominate the aggregate mode and mixing toward the stationary distribution may be slow [29 ] . Conversely, synchronized or bursty arrivals [30 ] may produce prolonged pre or dec phases, violating the independence or dwell-time assumptions. Such regimes, where the aggregate mode does not mix sufficiently fast relative to the power-system dynamics, are outside the scope of this analysis.
Stochastic Switching Times
The stochastic switching time is parameterized by a random timer-reset variable v 2 v_2 v 2 . The variable v 2 v_2 v 2 is dimensionless and determines the nominal minimum dwell time associated with the next mode. More precisely, let T q ′ n o m T^{\mathrm{nom}}_{q'} T q ′ nom denote the nominal minimum dwell time associated with mode q ′ ∈ Q i n q'\in\mathcal{Q}_{\mathrm{in}} q ′ ∈ Q in . We define
v 2 : = T q ′ n o m τ d , T q ′ n o m = τ d v 2 , (30) v_2 := \frac{T^{\mathrm{nom}}_{q'}}{\tau_d}, \qquad T^{\mathrm{nom}}_{q'}=\tau_d v_2, \tag*{(30)} v 2 := τ d T q ′ nom , T q ′ nom = τ d v 2 , (30)
and assume that v 2 ∈ [ 0 , N 0 ] v_2\in[0,N_0] v 2 ∈ [ 0 , N 0 ] . Accordingly, the mode-dependent probability distributions introduced below describe the normalized nominal dwell times T q ′ n o m / τ d T^{\mathrm{nom}}_{q'}/\tau_d T q ′ nom / τ d , rather than the realized physical dwell times. Under the timer inclusion introduced below, the realized physical dwell time may be larger than T q ′ n o m T^{\mathrm{nom}}_{q'} T q ′ nom .
To distinguish physical-time parameters from the parameters of the normalized timer-reset variable, define
λ ˉ r : = τ d λ r , β ˉ p r e : = τ d β p r e , (31) \bar{\lambda}_r:=\tau_d\lambda_r,\qquad\bar{\beta}_{\mathrm{pre}}:=\tau_d\beta_{\mathrm{pre}}, \tag*{(31)} λ ˉ r := τ d λ r , β ˉ pre := τ d β pre , (31)
where λ r \lambda_r λ r is the physical-time arrival rate and β p r e \beta_{\mathrm{pre}} β pre is the physical-time rate parameter of a Gamma distribution. Here, the Gamma distribution is parameterized in terms of its shape and rate.
Prefill Mode: It is well known that the physical Prefill duration T p r e T_{\mathrm{pre}} T pre scales approximately linearly with the number of input tokens [35 ] . In particular, T p r e = c p r e L i n T_{\mathrm{pre}}=c_{\mathrm{pre}}L_{\mathrm{in}} T pre = c pre L in , where c p r e > 0 c_{\mathrm{pre}}>0 c pre > 0 denotes the compute time per input token and L i n L_{\mathrm{in}} L in is the prompt length. Since prompt lengths depend on user requests, L i n L_{\mathrm{in}} L in is itself a random variable, with empirical distributions exhibiting Zipf-like behavior [30 Fig. 7] . To capture variability in input prompt lengths, we model the normalized nominal Prefill duration T p r e n o m / τ d T^{\mathrm{nom}}_{\mathrm{pre}}/\tau_d T pre nom / τ d using a truncated Gamma( α p r e , β ˉ p r e ) (\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}) ( α pre , β ˉ pre ) distribution supported on [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] .
Idle Mode: We assume that user requests arrive according to a Poisson process with physical-time rate λ r \lambda_r λ r . Consequently, the physical inter-arrival time is exponentially distributed with rate λ r \lambda_r λ r . Since the normalized timer-reset variable is obtained by dividing the nominal inter-arrival time by τ d \tau_d τ d , we model it using an Exp ( λ ˉ r ) \operatorname{Exp}(\bar{\lambda}_r) Exp ( λ ˉ r ) distribution truncated to [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] , where λ ˉ r = τ d λ r \bar{\lambda}_r=\tau_d\lambda_r λ ˉ r = τ d λ r .
Decode Mode: Finally, the physical Decode duration satisfies T d e c = c d e c L o u t T_{\mathrm{dec}}=c_{\mathrm{dec}}L_{\mathrm{out}} T dec = c dec L out , where L o u t L_{\mathrm{out}} L out is the number of generated output tokens. Output lengths are heavy-tailed [36 , 37 ] and are empirically well fitted by a log-t t t distribution [37 Fig. 1] . Since LLM inference services can impose an upper bound N c a p N_{\mathrm{cap}} N cap on the number of generated output tokens [29 ] , the corresponding maximum nominal Decode duration is T max = c d e c N c a p T_{\max}=c_{\mathrm{dec}}N_{\mathrm{cap}} T m a x = c dec N cap . Therefore, the normalized timer-reset variable is supported on [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] , where
N 0 : = T max τ d = c d e c N c a p τ d . (32) N_0 := \frac{T_{\max}}{\tau_d} = \frac{c_{\mathrm{dec}}N_{\mathrm{cap}}}{\tau_d}. \tag*{(32)} N 0 := τ d T m a x = τ d c dec N cap . (32)
Throughout all three modes, we adopt the same normalized upper bound N 0 N_0 N 0 , since the Decode mode typically dominates the per-request duration [23 ] . The conditional distributions of the normalized timer-reset variable are therefore modeled as
v 2 ∣ v 1 = q ′ ∼ { TrExp ( λ ˉ r ; [ 0 , N 0 ] ) , q ′ = i d , TrGamma ( α p r e , β ˉ p r e ; [ 0 , N 0 ] ) , q ′ = p r e , HT n o r m ( [ 0 , N 0 ] ) , q ′ = d e c . (33) v_2 \mid v_1=q' \sim
\begin{cases}
\operatorname{TrExp}(\bar{\lambda}_r;[0,N_0]), & q'=\mathrm{id},\\
\operatorname{TrGamma}(\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}};[0,N_0]), & q'=\mathrm{pre},\\
\operatorname{HT}_{\mathrm{norm}}([0,N_0]), & q'=\mathrm{dec}.
\end{cases} \tag*{(33)} v 2 ∣ v 1 = q ′ ∼ ⎩ ⎨ ⎧ TrExp ( λ ˉ r ; [ 0 , N 0 ]) , TrGamma ( α pre , β ˉ pre ; [ 0 , N 0 ]) , HT norm ([ 0 , N 0 ]) , q ′ = id , q ′ = pre , q ′ = dec . (33)
Here, TrExp and TrGamma denote, respectively, the exponential and Gamma distributions conditioned on the interval [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] (their normalized densities are given in Appendix D). Moreover, HT n o r m ( [ 0 , N 0 ] ) \operatorname{HT}_{\mathrm{norm}}([0,N_0]) HT norm ([ 0 , N 0 ]) denotes a general heavy-tailed distribution for the normalized nominal Decode duration on [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] , obtained by scaling the corresponding physical-time distribution by 1 / τ d 1/\tau_d 1/ τ d . Possible choices include a truncated log-t t t distribution [37 Fig. 1] or a truncated power law [36 ] .
Global Recurrence Under Stochastic Switching
We are now ready to cast the overall power transmission system with co-located datacenter loads subject to an inference workload as a stochastic hybrid system of the form (1). To that end, let { ( v 1 , k , v 2 , k ) } k = 1 ∞ \{(v_{1,k},v_{2,k})\}_{k=1}^{\infty} {( v 1 , k , v 2 , k ) } k = 1 ∞ be an i.i.d. sequence of random vectors drawn from the joint probability measure
μ ( d v 1 , d v 2 ) = μ 1 ( d v 1 ) μ 2 ∣ v 1 ( d v 2 ) , (34) \mu(\mathrm{d}v_1,\mathrm{d}v_2)=\mu_1(\mathrm{d}v_1)\mu_{2\mid v_1}(\mathrm{d}v_2), \tag*{(34)} μ ( d v 1 , d v 2 ) = μ 1 ( d v 1 ) μ 2 ∣ v 1 ( d v 2 ) , (34)
where μ 1 = Cat ( Q i n , { p q ′ } ) \mu_1=\operatorname{Cat}(Q_{\mathrm{in}},\{p_{q'}\}) μ 1 = Cat ( Q in , { p q ′ }) and μ 2 ∣ v 1 = q ′ \mu_{2\mid v_1=q'} μ 2 ∣ v 1 = q ′ is given by (21). We emphasize that μ \mu μ is generally not a product measure,
since the conditional distribution μ 2 ∣ v 1 \mu_{2\mid v_1} μ 2 ∣ v 1 depends on v 1 v_1 v 1 . Thus, although the random vectors { ( v 1 , k , v 2 , k ) } k = 1 ∞ \{(v_{1,k},v_{2,k})\}_{k=1}^{\infty} {( v 1 , k , v 2 , k ) } k = 1 ∞ are independent across k k k , their components v 1 , k v_{1,k} v 1 , k and v 2 , k v_{2,k} v 2 , k are generally statistically dependent.
Using the change of variables ξ ~ = ξ − ξ ∗ \widetilde{\xi}=\xi-\xi^* ξ = ξ − ξ ∗ introduced in Section IV, and writing y = ( ξ ~ , q , τ ) y=(\widetilde{\xi},q,\tau) y = ( ξ , q , τ ) , the overall dynamics of the system are given by the following SHDS:
ξ ~ ˙ = Π q d i f f A q ξ ~ , q ˙ = 0 , τ ˙ ∈ [ − 1 τ d , 0 ] y ∈ C , (35) \dot{\widetilde{\xi}}=\Pi_q^{\mathrm{diff}}A_q\widetilde{\xi},\quad\dot{q}=0,\quad\dot{\tau}\in\left[-\frac{1}{\tau_d},0\right]\quad y\in C, \tag*{(35)} ξ ˙ = Π q diff A q ξ , q ˙ = 0 , τ ˙ ∈ [ − τ d 1 , 0 ] y ∈ C , (35)
\begin{bmatrix}
\widetilde{\xi}^{+}\\
q^{+}\\
\tau^{+}
\end{bmatrix}
=
\begin{bmatrix}
L_{v_1}\widetilde{\xi}+\Delta_{q,v_1}\\
v_1\\
v_2
\end{bmatrix},
\quad y\in D, \tag*{(36)}\end{bmatrix}
C = ⋃ q ∈ Q i n span ( V q ) × { q } × [ 0 , N 0 ] , (37) C=\bigcup_{q\in Q_{\mathrm{in}}}\operatorname{span}(V_q)\times\{q\}\times[0,N_0], \tag*{(37)} C = q ∈ Q in ⋃ span ( V q ) × { q } × [ 0 , N 0 ] , (37)
D = ⋃ q ∈ Q i n span ( V q ) × { q } × { 0 } , (38) D=\bigcup_{q\in Q_{\mathrm{in}}}\operatorname{span}(V_q)\times\{q\}\times\{0\}, \tag*{(38)} D = q ∈ Q in ⋃ span ( V q ) × { q } × { 0 } , (38)
where Δ q , v 1 : = Π v 1 ( ξ q ∗ ) − ξ v 1 ∗ \Delta_{q,v_1}:=\Pi_{v_1}(\xi_q^*)-\xi_{v_1}^* Δ q , v 1 := Π v 1 ( ξ q ∗ ) − ξ v 1 ∗ . Note that this system has the form of (1) with v k = ( v 1 , k , v 2 , k ) ∼ μ v_k=(v_{1,k},v_{2,k})\sim\mu v k = ( v 1 , k , v 2 , k ) ∼ μ and μ ( d v 1 , d v 2 ) = μ 1 ( d v 1 ) μ 2 ∣ v 1 ( d v 2 ) \mu(\mathrm{d}v_1,\mathrm{d}v_2)=\mu_1(\mathrm{d}v_1)\mu_{2\mid v_1}(\mathrm{d}v_2) μ ( d v 1 , d v 2 ) = μ 1 ( d v 1 ) μ 2 ∣ v 1 ( d v 2 ) . Under the timer dynamics τ ˙ ∈ [ − 1 / τ d , 0 ] \dot{\tau}\in[-1/\tau_d,0] τ ˙ ∈ [ − 1/ τ d , 0 ] and τ + = v 2 \tau^+=v_2 τ + = v 2 , the quantity τ d v 2 = T q d w e l l \tau_dv_2=T_q^{\mathrm{dwell}} τ d v 2 = T q dwell represents the minimum time required for the timer to reach the jump condition τ = 0 \tau=0 τ = 0 . This minimum is attained when τ ˙ = − 1 / τ d \dot{\tau}=-1/\tau_d τ ˙ = − 1/ τ d . Values of τ ˙ ∈ ( − 1 / τ d , 0 ] \dot{\tau}\in(-1/\tau_d,0] τ ˙ ∈ ( − 1/ τ d , 0 ] allow longer inter-transition times and therefore capture uncertainty or additional delays in the realized physical dwell time. Consequently, we have that T d w e l l ≥ τ d v 2 T_{\mathrm{dwell}}\geq\tau_dv_2 T dwell ≥ τ d v 2 .
Before stating the main stability results for (23), we introduce two assumptions extending those in [38 ] beyond the common-equilibrium setting.
Assumption 5. There exist μ > 0 \mu> 0 μ > 0 , θ > 0 \theta> 0 θ > 0 and κ ⋆ ∈ ( 0 , 1 ) \kappa^\star\in(0,1) κ ⋆ ∈ ( 0 , 1 ) such that, for each q ∈ Q i n q \in Q_{\mathrm{in}} q ∈ Q in , there exists a pair of symmetric matrices ( P q , N ~ q ) (P_q,\widetilde{N}_q) ( P q , N q ) that are positive definite on span ( V q ) \operatorname{span}(V_q) span ( V q ) and satisfy the following inequalities on span ( V q ) \operatorname{span}(V_q) span ( V q ) :
A q T Π q d i f f , T P q + P q Π q d i f f A q + μ τ d ⋅ N 0 P q ⪯ − N ~ q , (39) A_q^{\mathsf{T}}\Pi_q^{\mathrm{diff},\mathsf{T}}P_q + P_q\Pi_q^{\mathrm{diff}}A_q + \frac{\mu}{\tau_d \cdot N_0}P_q \preceq-\widetilde{N}_q, \tag*{(39)} A q T Π q diff , T P q + P q Π q diff A q + τ d ⋅ N 0 μ P q ⪯ − N q , (39) ( 1 + θ ) ∑ q ′ ∈ Q i n p q ′ I ~ q ′ ( μ ) L q ′ T P q ′ L q ′ ⪯ κ ⋆ P q . (40) (1+\theta)\sum_{q'\in Q_{\mathrm{in}}}p_{q'}\widetilde{I}_{q'}(\mu)L_{q'}^{\mathsf{T}}P_{q'}L_{q'} \preceq\kappa^\star P_q. \tag*{(40)} ( 1 + θ ) q ′ ∈ Q in ∑ p q ′ I q ′ ( μ ) L q ′ T P q ′ L q ′ ⪯ κ ⋆ P q . (40)
Analogous to the quantity α \alpha α in Theorem 1, we define the probability-weighted residual:
α Γ ( μ ) : = max q ∈ Q i n ∑ q ′ ∈ Q i n p q ′ I ~ q ′ ( μ ) Δ q , q ′ T P q ′ Δ q , q ′ . (41) \alpha_{\Gamma}(\mu) := \max_{q\in Q_{\mathrm{in}}}\sum_{q'\in Q_{\mathrm{in}}}p_{q'}\widetilde{I}_{q'}(\mu)\Delta_{q,q'}^{\mathsf{T}}P_{q'}\Delta_{q,q'}. \tag*{(41)} α Γ ( μ ) := q ∈ Q in max q ′ ∈ Q in ∑ p q ′ I q ′ ( μ ) Δ q , q ′ T P q ′ Δ q , q ′ . (41)
Compared to the worst-case α \alpha α in Theorem 1, α Γ ( μ ) \alpha_{\Gamma}(\mu) α Γ ( μ ) is probability-weighted. That is, modes visited rarely (small p q ′ p_{q'} p q ′ ) and modes associated with larger timer-reset values (small I ~ q ′ ( μ ) \widetilde{I}_{q'}(\mu) I q ′ ( μ ) ) contribute less to α Γ \alpha_{\Gamma} α Γ . Based on this, the following recurrence theorem is the main result of this section, and it leverages the construction of the set
A i n = { 0 } × Q i n × [ 0 , N 0 ] . (42) A_{\mathrm{in}}=\{0\}\times Q_{\mathrm{in}}\times[0,N_0]. \tag*{(42)} A in = { 0 } × Q in × [ 0 , N 0 ] . (42)
The proof is presented in the Appendix.
Theorem 3. Suppose that Assumptions 2, 3, and 5 hold with respect to Q i n Q_{\mathrm{in}} Q in . Then, for every ϵ > 0 \epsilon> 0 ϵ > 0 , the open (relative to C ∪ D C\cup D C ∪ D ) bounded set
O ϵ : = { x ∈ C ∪ D : ∣ x ∣ A i n < r ( α Γ ( μ ) ) + ϵ } , (43) \mathcal{O}_{\epsilon}:=\left\{x\in C\cup D:|x|_{A_{\mathrm{in}}}<r(\alpha_{\Gamma}(\mu))+\epsilon\right\}, \tag*{(43)} O ϵ := { x ∈ C ∪ D : ∣ x ∣ A in < r ( α Γ ( μ )) + ϵ } , (43) is uniformly globally recurrent (UGR) for the SHDS (23), with r ( α Γ ( μ ) ) = ( c 1 / c 2 ) α Γ ( μ ) r(\alpha_{\Gamma}(\mu))=\sqrt{(c_1/c_2)\alpha_{\Gamma}(\mu)} r ( α Γ ( μ )) = ( c 1 / c 2 ) α Γ ( μ ) , c 1 = ( 1 + 1 / θ ) c_1=(1+1/\theta) c 1 = ( 1 + 1/ θ ) , and c 2 = − μ p ( 1 − κ ⋆ ) c_2=-\mu p(1-\kappa^\star) c 2 = − μ p ( 1 − κ ⋆ ) .
Remark 5. Theorem 3 establishes UGR to a neighborhood of A i n A_{\mathrm{in}} A in with radius r ( α Γ ( μ ) ) r(\alpha_{\Gamma}(\mu)) r ( α Γ ( μ )) , determined by the probability-weighted residual (26). Thus, from any bounded set of initial conditions, the state reaches this neighborhood with probability approaching one. If all equilibria coincide, α Γ ( μ ) = 0 \alpha_{\Gamma}(\mu)=0 α Γ ( μ ) = 0 and the Lyapunov–Foster conditions yield UGASp and recovering stochastic asymptotic stability of the set A i n A_{\mathrm{in}} A in .
The following stylized example illustrates the result of Theorem 3.
Example 3. To illustrate Theorem 3, we retain the same switched DAE as in Example 1. The system matrices E q E_q E q , A q A_q A q , b q b_q b q , and the Lyapunov matrices P q P_q P q , O q O_q O q are unchanged, but we replace the deterministic switching mechanism with stochastic i.i.d. normalized timer-reset values drawn from a uniform distribution. Specifically, for each mode transition we use
v 2 ∣ v 1 = q ′ ∼ Uniform ( 0.1 , N 0 ) , q ′ ∈ { 1 , 2 } , v_2\mid v_1=q' \sim\operatorname{Uniform}(0.1,N_0),\qquad q'\in\{1,2\}, v 2 ∣ v 1 = q ′ ∼ Uniform ( 0.1 , N 0 ) , q ′ ∈ { 1 , 2 } ,
with N 0 = 2 N_0=2 N 0 = 2 , μ = 6.5 \mu=6.5 μ = 6.5 , θ = 0.35 \theta=0.35 θ = 0.35 , τ d = 4 \tau_d=4 τ d = 4 , and equal mode probabilities p 1 = p 2 = 0.5 p_1=p_2=0.5 p 1 = p 2 = 0.5 .
The flow condition requires μ ⋅ 1 / τ d N 0 < m / p ˉ \mu\cdot1/\tau_dN_0<m/\bar{p} μ ⋅ 1/ τ d N 0 < m / p ˉ , i.e. 6.5 × 0.25 / 2 = 0.8125 < 1 6.5\times0.25/2=0.8125<1 6.5 × 0.25/2 = 0.8125 < 1 , giving a net flow decrease rate p = 1 − 0.8125 = 0.1875 > 0 p=1-0.8125=0.1875>0 p = 1 − 0.8125 = 0.1875 > 0 . Assumption 5 is satisfied with
κ = ( 1 + θ ) I ~ q ( μ ) = ( 1.35 ) ( 0.117 ) ≈ 0.1579 < 1 , \kappa=(1+\theta)\widetilde{I}_q(\mu)=(1.35)(0.117)\approx0.1579<1, κ = ( 1 + θ ) I q ( μ ) = ( 1.35 ) ( 0.117 ) ≈ 0.1579 < 1 ,
thereby verifying both inequalities in Assumption 5. The probability-weighted residual (26) is α Γ ( μ ) = 1 2 I ~ q ( μ ) 9 ≈ 0.5265 \alpha_{\Gamma}(\mu)=\frac{1}{2}\widetilde{I}_q(\mu)\,9\approx0.5265 α Γ ( μ ) = 2 1 I q ( μ ) 9 ≈ 0.5265 , where the factor 9 = ∥ Π q ( ξ q ⋆ ) − ξ q ⋆ ∥ P q 2 9=\|\Pi_q(\xi_q^\star)-\xi_q^\star\|^2_{P_q} 9 = ∥ Π q ( ξ q ⋆ ) − ξ q ⋆ ∥ P q 2 is the same projected-equilibrium residual as in Example 1, multiplied here by the weight I ~ q ( μ ) ≈ 0.117 \widetilde{I}_q(\mu)\approx0.117 I q ( μ ) ≈ 0.117 , instead of the worst-case factor 1 appearing in α \alpha α . Figure 8 illustrates these results. Panel A shows the distance ∣ x ∣ A i n |x|_{A_{\mathrm{in}}} ∣ x ∣ A in remaining bounded and repeatedly returning to a recurrent neighborhood, consistent with uniform global recurrence. Panel B shows the state trajectories x 1 , x 2 x_1,x_2 x 1 , x 2 oscillating under the stochastic mode sequence. Panel C shows the i.i.d. normalized timer-reset values drawn from Uniform[ 0.1 , 2 ] [0.1,2] [ 0.1 , 2 ] . Since τ d = 4 \tau_d=4 τ d = 4 , these values correspond to nominal minimum physical dwell times in [ 0.4 , 8 ] [0.4,8] [ 0.4 , 8 ] .
Figure 8. Stochastic two-mode example illustrating Theorem 3: (A) distance ∣ x ∣ A i n |x|_{A_{\mathrm{in}}} ∣ x ∣ A in , (B) state trajectories, and (C) switching signal with uniformly distributed timer resets.
Application to AI Power Transmission Systems with Inference Workloads: Experiments and EMT Validations
The stochastic scenario drives the 39-bus system with an inference-phase switching signal over Q i n = { i d , p r e , d e c } Q_{\mathrm{in}}=\{id,pre,dec\} Q in = { i d , p r e , d ec } , with mode transitions drawn i.i.d. from Cat ( Q i n , { p q ′ } ) \operatorname{Cat}(Q_{\mathrm{in}},\{p_{q'}\}) Cat ( Q in , { p q ′ }) and dwell times drawn from the per-mode distributions of (33) : truncated exponential idle, truncated Gamma prefill, and truncated heavy-tailed decode. The datacenter at Bus 20 cycles through power levels p d c p r e > p d c d e c > p d c i d p_{dc}^{pre}>p_{dc}^{dec}>p_{dc}^{id} p d c p r e > p d c d ec > p d c i d , producing irregular switching intervals whose heavy-tailed decode dwells are visible as the longer orange phases in Figure 10 .
Figure 10. Stochastic switching signal and the timer for the scenario in Fig. 9. The figure shows the stochastic mode sequence and countdown timer τ ( t ) \tau(t) τ ( t ) .
Figure 9 compares the stochastic switched-DAE model (Panel a) against the dq0 EMT simulation (Panel b). The stochastic mode sequence produces aperiodic switching, yet both models show bounded frequency and angle deviations across all generator, inverter, and datacenter buses, qualitatively consistent with the uniform global recurrence guaranteed by Theorem 3.
Figure 9. Stochastic inference-phase switching on the modified IEEE 39-bus system with AI datacenter loads: (a) switched-DAE model and (b) high-fidelity dq0 EMT validation in PSID.jl, both under switching over Q i n = { i d , p r e , d e c } Q_{\mathrm{in}}=\{id,pre,dec\} Q in = { i d , p r e , d ec } .
Taken together, Figure 9 and Figure 10 indicate that the switched-DAE model remains a faithful reduced-order representation of the transmission system even when mode transitions are driven by the random, request-level dynamics of AI inference workloads rather than a fixed computational schedule. The aperiodic, heavy-tailed dwell times of the stochastic mode sequence produce irregular excursions in frequency and angle across the generator, inverter, and datacenter buses, yet both the analytical model and the dq0 EMT simulation confine these excursions to a comparable bounded range and return them to a neighborhood of the mode equilibria after each switch, in agreement with the recurrence behavior certified by Theorem 3. This agreement persists despite the EMT model’s additional fidelity, in particular its explicit representation of converter switching dynamics, PLL synchronization, and transmission-line electromagnetic transients that are abstracted away in the reduced-order representation, suggesting that the timescale separation underlying the stochastic switched-DAE model is not merely a modeling convenience but a reasonable approximation of the aggregate power-system response to inference-driven datacenter load switching.
Conclusion
This paper studied switched affine DAEs with mode-dependent equilibria using hybrid systems tools. Leveraging the quasi-Weierstrass decomposition, we derived a hybrid representation capturing flows on consistency spaces and switching-induced resets. We established Lyapunov conditions for practical stability with an explicit K L \mathcal{K}\mathcal{L} K L bound (Theorem 1) and characterized the limiting behavior through a computable ω \omega ω -limit set that is semi-globally practically stable under slow switching (Proposition 1, Theorem 2). These results extend switched DAE stability theory beyond the common-equilibrium setting. For stochastic switching motivated by AI inference workloads, we established uniform global recurrence to a neighborhood of the mode equilibria using Foster–Lyapunov techniques and mode-dependent dwell-time distributions (Theorem 3). The neighborhood depends on a probability-weighted inter-equilibrium residual, and the result recovers uniform global asymptotic stability in probability when the projected mode equilibria coincide. We applied the framework to transmission networks with co-located AI data centers, where workload transitions induce distinct consistency spaces and state resets. Simulations on the IEEE 39-bus system for deterministic training and stochastic inference workloads were consistent with high-fidelity dq0 electromagnetic transient simulations, supporting the switched-DAE model as a tractable representation of datacenter workload switching. Future work will consider correlated and Markov-driven mode transitions, operating regimes where the i.i.d. approximation breaks down, and distribution networks with co-located data centers.
Appendix A: Auxiliary Definitions and Lemmas
In this appendix, we collect some auxiliary definitions and results on hybrid systems and switched affine DAEs. We begin with some standard definitions taken from [17 Sec. 6.3] .
Definition 5. Let K ⊂ R n K \subset\mathbb{R}^{n} K ⊂ R n be a compact set. The (infinite horizon) reachable set from K K K for the hybrid inclusion (2), denoted as R ( K ) R(K) R ( K ) , is defined as $R(K) := {z \in \mathbb{R}^{n} : z =
ξ ( t , j ) \xi(t,j) ξ ( t , j ) , ξ ∈ S ( K ) \xi\in S(K) ξ ∈ S ( K ) , ( t , j ) ∈ dom ( ξ ) } (t,j) \in\operatorname{dom}(\xi)\} ( t , j ) ∈ dom ( ξ )} , where S ( K ) S(K) S ( K ) denotes the set of solutions to (2) with initial conditions in K K K .
Definition 6. Given a set K K K , the Ω \Omega Ω -limit set from K K K , denoted by Ω ( K ) \Omega(K) Ω ( K ) is defined as Ω ( K ) : = { z ∈ R n : z = lim i → ∞ ξ i ( t i , j i ) , ξ i ∈ S ( K ) , ( t i , j i ) ∈ dom ( ξ i ) , lim i → ∞ t i + j i = ∞ } \Omega(K) := \{z \in\mathbb{R}^{n} : z = \lim_{i\to\infty}\xi_i(t_i,j_i),\ \xi_i \in S(K),\ (t_i,j_i) \in\operatorname{dom}(\xi_i),\ \lim_{i\to\infty} t_i + j_i = \infty\} Ω ( K ) := { z ∈ R n : z = lim i → ∞ ξ i ( t i , j i ) , ξ i ∈ S ( K ) , ( t i , j i ) ∈ dom ( ξ i ) , lim i → ∞ t i + j i = ∞ } , where S ( K ) S(K) S ( K ) denotes the set of solutions to system (2) with initial conditions in K K K .
The following definition will be instrumental for the study of hybrid systems (2) that depend on small parameters ϵ > 0 \epsilon> 0 ϵ > 0 . We first review auxiliary results for switched affine DAEs over a general mode set Q : = { 1 , … , l } \mathcal{Q} := \{1,\ldots,l\} Q := { 1 , … , l } , applicable to both training and inference workloads. We begin with the consistency spaces [12 ] , which characterize states compatible with the algebraic constraints of each mode:
Definition 7. Given q ∈ Q q \in\mathcal{Q} q ∈ Q , the consistency space C q C_q C q of the q t h q^{\mathrm{th}} q th mode of system (10) is defined as: C q : = { ξ 0 ∈ R n : ∃ τ > 0 C_q := \{\xi_0 \in\mathbb{R}^{n} : \exists\ \tau> 0 C q := { ξ 0 ∈ R n : ∃ τ > 0 and a continuously differentiable function ξ : [ 0 , τ ] → R n \xi: [0,\tau] \to\mathbb{R}^{n} ξ : [ 0 , τ ] → R n s.t. E q ξ ˙ ( t ) = A q ξ ( t ) + b q , ∀ t ∈ ( 0 , τ ) } E_q\dot{\xi}(t) = A_q\xi(t) + b_q,\ \forall t \in(0,\tau)\} E q ξ ˙ ( t ) = A q ξ ( t ) + b q , ∀ t ∈ ( 0 , τ )} .
In other words, C q C_q C q denotes the set of initial conditions for which there exists a solution to (10).
The following change of basis allows us to decouple system (10) into its differential and algebraic parts, called the Quasi-Weierstrass form [39 Theorem 2.6] :
Lemma 1. Suppose that the pair ( E q , A q ) (E_q,A_q) ( E q , A q ) is regular, where q ∈ Q q \in\mathcal{Q} q ∈ Q . Then, there exist invertible matrices T q : = [ V q , W q ] T_q := [V_q,W_q] T q := [ V q , W q ] and S q : = [ E q V q , A q W q ] − 1 S_q := [E_qV_q,A_qW_q]^{-1} S q := [ E q V q , A q W q ] − 1 that transform ( E q , A q ) (E_q,A_q) ( E q , A q ) into Quasi-Weierstrass form:
( S q E q T q , S q A q T q ) = ( [ I n 1 q 0 0 N q ] , [ J q 0 0 I n 2 q ] ) (44) (S_qE_qT_q,S_qA_qT_q)=\left(\begin{bmatrix}I_{n_1^q}&0\\0&N_q\end{bmatrix},\begin{bmatrix}J_q&0\\0&I_{n_2^q}\end{bmatrix}\right) \tag*{(44)} ( S q E q T q , S q A q T q ) = ( [ I n 1 q 0 0 N q ] , [ J q 0 0 I n 2 q ] ) (44)
for some J q ∈ R n 1 q × n 1 q J_q\in\mathbb{R}^{n_1^q\times n_1^q} J q ∈ R n 1 q × n 1 q and a nilpotent matrix N q ∈ R n 2 q × n 2 q N_q\in\mathbb{R}^{n_2^q\times n_2^q} N q ∈ R n 2 q × n 2 q where ( N q ) n 2 q = 0 (N_q)^{n_2^q}=0 ( N q ) n 2 q = 0 , n 1 q + n 2 q = n n_1^q+n_2^q=n n 1 q + n 2 q = n , V q ∈ R n × n 1 q V_q\in\mathbb{R}^{n\times n_1^q} V q ∈ R n × n 1 q , and W q ∈ R n × n 2 q W_q\in\mathbb{R}^{n\times n_2^q} W q ∈ R n × n 2 q .
Using the Quasi-Weierstrass form (29), for each q ∈ Q q\in\mathcal{Q} q ∈ Q , we introduce the variables ( v , w ) = T q − 1 ξ (v,w)=T_q^{-1}\xi ( v , w ) = T q − 1 ξ , to obtain
E q T q [ v ˙ w ˙ ] = A q T q [ v w ] + b q E_qT_q\begin{bmatrix}\dot v\\\dot w\end{bmatrix}=A_qT_q\begin{bmatrix}v\\w\end{bmatrix}+b_q E q T q [ v ˙ w ˙ ] = A q T q [ v w ] + b q
S q E q T q [ v ˙ w ˙ ] = S q A q T q [ v w ] + S q b q S_qE_qT_q\begin{bmatrix}\dot v\\\dot w\end{bmatrix}=S_qA_qT_q\begin{bmatrix}v\\w\end{bmatrix}+S_qb_q S q E q T q [ v ˙ w ˙ ] = S q A q T q [ v w ] + S q b q
[ I n 1 q 0 0 N q ] [ v ˙ w ˙ ] = [ J q 0 0 I n 2 q ] [ v w ] + S q b q , \begin{bmatrix}I_{n_1^q}&0\\0&N_q\end{bmatrix}\begin{bmatrix}\dot v\\\dot w\end{bmatrix}=\begin{bmatrix}J_q&0\\0&I_{n_2^q}\end{bmatrix}\begin{bmatrix}v\\w\end{bmatrix}+S_qb_q, [ I n 1 q 0 0 N q ] [ v ˙ w ˙ ] = [ J q 0 0 I n 2 q ] [ v w ] + S q b q ,
leading to the decoupled equations: v ˙ = J q v + b q d \dot v=J_qv+b_q^d v ˙ = J q v + b q d , and N q w ˙ = w + b q a N_q\dot w=w+b_q^a N q w ˙ = w + b q a where S q b q = ( b q d , b q a ) S_qb_q=(b_q^d,b_q^a) S q b q = ( b q d , b q a ) . The following lemma is an extension of [12 Definition 3] .
Lemma 2. Let Assumption 3 hold. Then, C q = { ξ ∈ R n : ξ ∈ ( span ( V q ) − W q b q a ) } C_q=\{\xi\in\mathbb{R}^n:\xi\in(\operatorname{span}(V_q)-W_qb_q^a)\} C q = { ξ ∈ R n : ξ ∈ ( span ( V q ) − W q b q a )} , ∀ q ∈ Q \forall q\in\mathcal{Q} ∀ q ∈ Q .
Proof: Consider the change of variables ( v , w ) = T q − 1 ξ (v,w)=T_q^{-1}\xi ( v , w ) = T q − 1 ξ from Definition 1. Under this change of coordinates, System (10) decouples as v ˙ = J q v + b q d \dot v=J_qv+b_q^d v ˙ = J q v + b q d , N q w ˙ = w + b q a N_q\dot w=w+b_q^a N q w ˙ = w + b q a . The first equation is a linear ordinary differential equation and therefore admits a C 1 C^1 C 1 solution from any initial condition v ( 0 ) ∈ R n 1 q v(0)\in\mathbb{R}^{n_1^q} v ( 0 ) ∈ R n 1 q . For the second equation, for each fixed q ∈ Q q\in\mathcal{Q} q ∈ Q we have that b q a b_q^a b q a is constant, thus the constant function w ( t ) ≡ − b q a w(t)\equiv-b_q^a w ( t ) ≡ − b q a satisfies w ˙ = 0 \dot w=0 w ˙ = 0 and N q w ˙ = 0 = w + b q a N_q\dot w=0=w+b_q^a N q w ˙ = 0 = w + b q a for every nilpotent N q N_q N q , so it is a solution. We now show it is the only admissible one: subtracting this particular solution from any other, the difference w ~ : = w − ( − b q a ) \widetilde w:=w-(-b_q^a) w := w − ( − b q a ) must satisfy the homogeneous equation N q w ~ ˙ = w ~ N_q\dot{\widetilde w}=\widetilde w N q w ˙ = w . Indeed, since N q N_q N q is nilpotent, let k ≥ 1 k\geq1 k ≥ 1 be smallest such that N q k = 0 N_q^k=0 N q k = 0 . We show N q i w ~ ≡ 0 N_q^i\widetilde w\equiv0 N q i w ≡ 0 for i = k − 1 , k − 2 , … , 0 i=k-1,k-2,\ldots,0 i = k − 1 , k − 2 , … , 0 by downward induction on i i i , using at each step only the single derivative w ~ ˙ \dot{\widetilde w} w ˙ . First, we multiply w ~ = N q w ~ ˙ \widetilde w=N_q\dot{\widetilde w} w = N q w ˙ on the left by N q k − 1 N_q^{k-1} N q k − 1 to get N q k − 1 w ~ = N q k − 1 ( N q w ~ ˙ ) = N q k w ~ ˙ = 0 N_q^{k-1}\widetilde w=N_q^{k-1}(N_q\dot{\widetilde w})=N_q^k\dot{\widetilde w}=0 N q k − 1 w = N q k − 1 ( N q w ˙ ) = N q k w ˙ = 0 , using N q k = 0 N_q^k=0 N q k = 0 . Hence N q k − 1 w ~ ≡ 0 N_q^{k-1}\widetilde w\equiv0 N q k − 1 w ≡ 0 . Now, Suppose N q i + 1 w ~ ≡ 0 N_q^{i+1}\widetilde w\equiv0 N q i + 1 w ≡ 0 for some 0 ≤ i ≤ k − 2 0\leq i\leq k-2 0 ≤ i ≤ k − 2 . Since this is the identically zero function, it is (trivially) differentiable, and N q i + 1 w ~ ˙ = d d t ( N q i + 1 w ~ ) ≡ 0 N_q^{i+1}\dot{\widetilde w}=\frac{d}{dt}(N_q^{i+1}\widetilde w)\equiv0 N q i + 1 w ˙ = d t d ( N q i + 1 w ) ≡ 0 . Multiplying w ~ = N q w ~ ˙ \widetilde w=N_q\dot{\widetilde w} w = N q w ˙ on the left by N q i N_q^i N q i then gives N q i w ~ = N q i ( N q w ~ ˙ ) = N q i + 1 w ~ ˙ = 0 N_q^i\widetilde w=N_q^i(N_q\dot{\widetilde w})=N_q^{i+1}\dot{\widetilde w}=0 N q i w = N q i ( N q w ˙ ) = N q i + 1 w ˙ = 0 , so N q i w ~ ≡ 0 N_q^i\widetilde w\equiv0 N q i w ≡ 0 . Downward induction from i = k − 1 i=k-1 i = k − 1 to i = 0 i=0 i = 0 yields N q 0 w ~ = w ~ ≡ 0 N_q^0\widetilde w=\widetilde w\equiv0 N q 0 w = w ≡ 0 , so w ~ ≡ 0 \widetilde w\equiv0 w ≡ 0 is the unique C 1 C^1 C 1 solution of the homogeneous equation. Hence w ( 0 ) = − b q a w(0)=-b_q^a w ( 0 ) = − b q a is the only admissible initial condition for the w w w -component. Therefore, a classical C 1 C^1 C 1 solution of E q ξ ˙ = A q ξ + b q E_q\dot\xi=A_q\xi+b_q E q ξ ˙ = A q ξ + b q exists starting from ξ 0 ∈ R n \xi_0\in\mathbb{R}^n ξ 0 ∈ R n if and only if the w w w -component of T q − 1 ξ 0 T_q^{-1}\xi_0 T q − 1 ξ 0 equals − b q a -b_q^a − b q a , with the v v v -component free. Equivalently,
C q = { [ V q W q ] [ v 0 − b q a ] : v 0 ∈ R n 1 q } = { V q v 0 − W q b q a : v 0 ∈ R n 1 q } = span ( V q ) − W q b q a , \begin{aligned}
C_q=\left\{\begin{bmatrix}V_q&W_q\end{bmatrix}\begin{bmatrix}v_0\\-b_q^a\end{bmatrix}:v_0\in\mathbb{R}^{n_1^q}\right\} \\
&=\left\{V_qv_0-W_qb_q^a:v_0\in\mathbb{R}^{n_1^q}\right\}=\operatorname{span}(V_q)-W_qb_q^a,
\end{aligned} C q = { [ V q W q ] [ v 0 − b q a ] : v 0 ∈ R n 1 q } = { V q v 0 − W q b q a : v 0 ∈ R n 1 q } = span ( V q ) − W q b q a ,
which completes the proof. ■
To ensure that solutions of system (10) are well defined for all time, the state must remain consistent whenever the DAE (10) switches modes. To do so, we use the notion of consistency projectors [12 Definition 4] :
Definition 8. Given a mode q ∈ Q q\in\mathcal{Q} q ∈ Q , the consistency projector Π q : R n → C q \Pi_q:\mathbb{R}^n\to C_q Π q : R n → C q of (10) is given by Π q ( ξ ) : = L q ξ + d q \Pi_q(\xi):=L_q\xi+d_q Π q ( ξ ) := L q ξ + d q , where
L q : = T q [ I n 1 q 0 0 0 ] T q − 1 , d q : = − W q b q a , L_q:=T_q\begin{bmatrix}I_{n_1^q}&0\\0&0\end{bmatrix}T_q^{-1},\qquad d_q:=-W_qb_q^a, L q := T q [ I n 1 q 0 0 0 ] T q − 1 , d q := − W q b q a ,
and where T q T_q T q and W q W_q W q are given in Lemma 1.
Standard Caratheodory solutions to each subsystem of (10) can be obtained as solutions of an associated ODE. The following notion of differential projector is instrumental to isolate the ODE-governed component of the DAE dynamics:
Definition 9. Given a q ∈ Q q\in\mathcal{Q} q ∈ Q , the differential projector of the q t h q^{th} q t h mode of (10) is given by Π q d i f = T q [ I n 1 q 0 0 0 n 2 q ] S q \Pi_q^{\mathrm{dif}}=T_q\begin{bmatrix}I_{n_1^q}&0\\0&0_{n_2^q}\end{bmatrix}S_q Π q dif = T q [ I n 1 q 0 0 0 n 2 q ] S q , where T q T_q T q and S q S_q S q are given by Lemma 1.
To extract the non-ODE component of the DAE dynamics, we introduce the impulse projector, which also enters the DAE solution formula.
Definition 10. Given q ∈ Q q\in\mathcal{Q} q ∈ Q , the impulse projector of the q t h q^{th} q t h mode of the system (10) is given by Π q i m p = T q [ 0 0 0 I n 2 q ] S q \Pi_q^{\mathrm{imp}}=T_q\begin{bmatrix}0&0\\0&I_{n_2^q}\end{bmatrix}S_q Π q imp = T q [ 0 0 0 I n 2 q ] S q , where T q T_q T q and S q S_q S q are given by Lemma 1.
Appendix B: Proofs for the Training-Phase Switching Case
Proof of Theorem 1
To aid in our analysis, we consider the Lyapunov candidate V ( x ) = x T P q ξ V(x)=x^\mathsf{T}P_q\xi V ( x ) = x T P q ξ . The quantity μ > 0 \mu>0 μ > 0 is a free parameter. For each q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , the matrix P q P_q P q is symmetric and positive definite on span ( V q ) \operatorname{span}(V_q) span ( V q ) . To establish Theorem 1 we first prove two key technical lemmas. The first lemma characterizes positive definiteness on consistency spaces while the second bounds quadratic forms. To that end, for each q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , let O q ∈ R n × dim ( span ( V q ) ) O_q\in\mathbb{R}^{n\times\dim(\operatorname{span}(V_q))} O q ∈ R n × d i m ( span ( V q )) denote a matrix whose columns satisfy
O q T O q = I , range ( O q ) = span ( V q ) . (45) O_q^\mathsf{T}O_q=I,\qquad\operatorname{range}(O_q)=\operatorname{span}(V_q). \tag*{(45)} O q T O q = I , range ( O q ) = span ( V q ) . (45)
Since C q = span ( V q ) − W q b q a C_q=\operatorname{span}(V_q)-W_qb_q^a C q = span ( V q ) − W q b q a is in general an affine (not linear) set, the matrix O q O_q O q is taken to satisfy range ( O q ) = span ( V q ) \operatorname{range}(O_q)=\operatorname{span}(V_q) range ( O q ) = span ( V q ) , the linear direction space of C q C_q C q .
Lemma 3. Let q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , and let O q ∈ R n × dim ( span ( V q ) ) O_q\in\mathbb{R}^{n\times\dim(\operatorname{span}(V_q))} O q ∈ R n × d i m ( span ( V q )) have orthonormal columns satisfying (30). Then, P q ≻ 0 P_q\succ0 P q ≻ 0 on span ( V q ) \operatorname{span}(V_q) span ( V q ) if and only if O q T P q O q ≻ 0 O_q^\mathsf{T}P_qO_q\succ0 O q T P q O q ≻ 0 .
Proof: Suppose first that P q ≻ 0 P_q\succ0 P q ≻ 0 on span ( V q ) \operatorname{span}(V_q) span ( V q ) . Let z ∈ R dim ( span ( V q ) ) z\in\mathbb{R}^{\dim(\operatorname{span}(V_q))} z ∈ R d i m ( span ( V q )) be nonzero. Since O q O_q O q has full column rank, η : = O q z \eta:=O_qz η := O q z is nonzero, and by construction η ∈ range ( O q ) = span ( V q ) \eta\in\operatorname{range}(O_q)=\operatorname{span}(V_q) η ∈ range ( O q ) = span ( V q ) . Therefore, z T O q T P q O q z = η T P q η > 0 z^\mathsf{T}O_q^\mathsf{T}P_qO_qz=\eta^\mathsf{T}P_q\eta>0 z T O q T P q O q z = η T P q η > 0 . Since this holds for every nonzero z z z , it follows that O q T P q O q ≻ 0 O_q^\mathsf{T}P_qO_q\succ0 O q T P q O q ≻ 0 . Conversely, suppose that O q T P q O q ≻ 0 O_q^\mathsf{T}P_qO_q\succ0 O q T P q O q ≻ 0 . Let η ∈ span ( V q ) \eta\in\operatorname{span}(V_q) η ∈ span ( V q ) be nonzero. Since the columns of O q O_q O q form an orthonormal basis of span ( V q ) \operatorname{span}(V_q) span ( V q ) , there exists a unique nonzero vector z ∈ R dim ( span ( V q ) ) z \in\mathbb{R}^{\dim(\operatorname{span}(V_q))} z ∈ R d i m ( span ( V q )) such that η = O q z \eta= O_qz η = O q z . Hence, η ⊤ P q η = z ⊤ O q ⊤ P q O q z > 0 \eta^\top P_q\eta= z^\top O_q^\top P_qO_qz > 0 η ⊤ P q η = z ⊤ O q ⊤ P q O q z > 0 . Thus, P q ≻ 0 P_q \succ0 P q ≻ 0 on span ( V q ) \operatorname{span}(V_q) span ( V q ) .
Lemma 4. Let q ∈ Q t r q \in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr , and let O q ∈ R n × dim ( span ( V q ) ) O_q \in\mathbb{R}^{n \times\dim(\operatorname{span}(V_q))} O q ∈ R n × d i m ( span ( V q )) have orthonormal columns satisfying (30). If P q ≻ 0 P_q \succ0 P q ≻ 0 on span ( V q ) \operatorname{span}(V_q) span ( V q ) , then λ min ( O q ⊤ P q O q ) ∥ η ∥ 2 ≤ η ⊤ P q η ≤ λ max ( O q ⊤ P q O q ) ∥ η ∥ 2 \lambda_{\min}(O_q^\top P_qO_q)\|\eta\|^2 \le\eta^\top P_q\eta\le\lambda_{\max}(O_q^\top P_qO_q)\|\eta\|^2 λ m i n ( O q ⊤ P q O q ) ∥ η ∥ 2 ≤ η ⊤ P q η ≤ λ m a x ( O q ⊤ P q O q ) ∥ η ∥ 2 , for all η ∈ span ( V q ) \eta\in\operatorname{span}(V_q) η ∈ span ( V q ) .
Proof: Let η ∈ span ( V q ) \eta\in\operatorname{span}(V_q) η ∈ span ( V q ) . Since the columns of O q O_q O q form an orthonormal basis of span ( V q ) \operatorname{span}(V_q) span ( V q ) , there exists a unique vector z ∈ R dim ( span ( V q ) ) z \in\mathbb{R}^{\dim(\operatorname{span}(V_q))} z ∈ R d i m ( span ( V q )) such that η = O q z \eta= O_qz η = O q z . Using O q ⊤ O q = I O_q^\top O_q = I O q ⊤ O q = I , we have ∥ η ∥ 2 = ∥ O q z ∥ 2 = z ⊤ O q ⊤ O q z = ∥ z ∥ 2 \|\eta\|^2 = \|O_qz\|^2 = z^\top O_q^\top O_qz = \|z\|^2 ∥ η ∥ 2 = ∥ O q z ∥ 2 = z ⊤ O q ⊤ O q z = ∥ z ∥ 2 . Moreover, η ⊤ P q η = z ⊤ O q ⊤ P q O q z \eta^\top P_q\eta= z^\top O_q^\top P_qO_qz η ⊤ P q η = z ⊤ O q ⊤ P q O q z . Since P q ≻ 0 P_q \succ0 P q ≻ 0 on span ( V q ) \operatorname{span}(V_q) span ( V q ) , Lemma 3 implies that O q ⊤ P q O q ≻ 0 O_q^\top P_qO_q \succ0 O q ⊤ P q O q ≻ 0 . Therefore, by the standard Rayleigh quotient bounds,
λ min ( O q ⊤ P q O q ) ∥ z ∥ 2 ≤ z ⊤ O q ⊤ P q O q z ≤ λ max ( O q ⊤ P q O q ) ∥ z ∥ 2 . \lambda_{\min}(O_q^\top P_qO_q)\|z\|^2 \le z^\top O_q^\top P_qO_qz \le\lambda_{\max}(O_q^\top P_qO_q)\|z\|^2. λ m i n ( O q ⊤ P q O q ) ∥ z ∥ 2 ≤ z ⊤ O q ⊤ P q O q z ≤ λ m a x ( O q ⊤ P q O q ) ∥ z ∥ 2 .
Using ∥ z ∥ = ∥ η ∥ \|z\| = \|\eta\| ∥ z ∥ = ∥ η ∥ and η ⊤ P q η = z ⊤ O q ⊤ P q O q z \eta^\top P_q\eta= z^\top O_q^\top P_qO_qz η ⊤ P q η = z ⊤ O q ⊤ P q O q z gives the desired result.
Using Lemmas 3 and 4, the following bounds on V V V hold for all x ∈ C x \in C x ∈ C :
min q ∈ Q t r λ min ( O q ⊤ P q O q ) ⋅ ∣ x ∣ A 2 ≤ V ( x ) , (46) \min_{q\in\mathcal{Q}_{\mathrm{tr}}}\lambda_{\min}(O_q^\top P_qO_q)\cdot|x|_{\mathcal{A}}^2 \le V(x), \tag*{(46)} q ∈ Q tr min λ m i n ( O q ⊤ P q O q ) ⋅ ∣ x ∣ A 2 ≤ V ( x ) , (46)
V ( x ) ≤ e μ N 0 ⋅ max q ∈ Q t r λ max ( O q ⊤ P q O q ) ⋅ ∣ x ∣ A 2 . (47) V(x) \le e^{\mu N_0}\cdot\max_{q\in\mathcal{Q}_{\mathrm{tr}}}\lambda_{\max}(O_q^\top P_qO_q)\cdot|x|_{\mathcal{A}}^2. \tag*{(47)} V ( x ) ≤ e μ N 0 ⋅ q ∈ Q tr max λ m a x ( O q ⊤ P q O q ) ⋅ ∣ x ∣ A 2 . (47)
Next, we evaluate the evolution in time of V V V during flows and jumps. By considering the gradient of V V V at a point x ∈ C x \in C x ∈ C , along an arbitrary direction of flow f ∈ F ( x ) f \in F(x) f ∈ F ( x ) , we obtain the bound:
⟨ ∇ V ( x ) , f ⟩ ≤ ⟨ e μ τ ( P q + P q ⊤ ) ξ ~ , 0 , μ e μ τ ξ ~ ⊤ P q ξ ~ ⟩ ⋅ ( Π q d i f f A q ξ ~ , 0 , 1 / τ d ) = e μ τ ξ ~ ⊤ ( A q ⊤ ( Π q d i f f ) ⊤ P q + P q Π q d i f f A q ) ξ ~ + μ τ d V ( x ) . \begin{aligned}
\langle\nabla V(x),f\rangle
&\le\left\langle e^{\mu\tau}(P_q+P_q^\top)\tilde{\xi},0,\mu e^{\mu\tau}\tilde{\xi}^\top P_q\tilde{\xi}\right\rangle\\
&\qquad\cdot\left(\Pi_q^{\mathrm{diff}}A_q\tilde{\xi},0,1/\tau_d\right) \\
&=e^{\mu\tau}\tilde{\xi}^\top\left(A_q^\top(\Pi_q^{\mathrm{diff}})^\top P_q+P_q\Pi_q^{\mathrm{diff}}A_q\right)\tilde{\xi}+\frac{\mu}{\tau_d}V(x).
\end{aligned} ⟨ ∇ V ( x ) , f ⟩ ≤ ⟨ e μτ ( P q + P q ⊤ ) ξ ~ , 0 , μ e μτ ξ ~ ⊤ P q ξ ~ ⟩ ⋅ ( Π q diff A q ξ ~ , 0 , 1/ τ d ) = e μτ ξ ~ ⊤ ( A q ⊤ ( Π q diff ) ⊤ P q + P q Π q diff A q ) ξ ~ + τ d μ V ( x ) .
Using Assumption 4, we get the inequality ⟨ ∇ V ( x ) , f ⟩ ≤ − e μ τ ξ ~ ⊤ M q ξ ~ + μ τ d V ( x ) \langle\nabla V(x),f\rangle\le-e^{\mu\tau}\tilde{\xi}^\top M_q\tilde{\xi}+\frac{\mu}{\tau_d}V(x) ⟨ ∇ V ( x ) , f ⟩ ≤ − e μτ ξ ~ ⊤ M q ξ ~ + τ d μ V ( x ) for all x ∈ C x \in C x ∈ C . Using Lemma 4 and the upper bound in (31), we obtain
⟨ ∇ V ( x ) , f ⟩ ≤ ( μ τ d − λ ) V ( x ) , ∀ x ∈ C . (48) \langle\nabla V(x),f\rangle\le\left(\frac{\mu}{\tau_d}-\lambda\right)V(x),\qquad\forall x\in C. \tag*{(48)} ⟨ ∇ V ( x ) , f ⟩ ≤ ( τ d μ − λ ) V ( x ) , ∀ x ∈ C . (48)
We note that strong decrease of V V V during flows holds precisely when 1 τ d < λ / μ \frac{1}{\tau_d}<\lambda/\mu τ d 1 < λ / μ .
To establish the decrease of the Lyapunov function during jumps, let y ∈ D y \in D y ∈ D , g ∈ G ( y ) g \in G(y) g ∈ G ( y ) and consider the quantity
V ( g ) = e μ τ + ( ξ ~ + ) ⊤ P q + ( ξ ~ + ) = e μ ( τ − 1 ) ( L q + ξ ~ + Δ q , q + ) ⊤ P q + ( L q + ξ ~ + Δ q , q + ) . \begin{aligned}
V(g)&=e^{\mu\tau^+}(\tilde{\xi}^+)^\top P_{q^+}(\tilde{\xi}^+)\\
&=e^{\mu(\tau-1)}(L_{q^+}\tilde{\xi}+\Delta_{q,q^+})^\top P_{q^+}(L_{q^+}\tilde{\xi}+\Delta_{q,q^+}).
\end{aligned} V ( g ) = e μ τ + ( ξ ~ + ) ⊤ P q + ( ξ ~ + ) = e μ ( τ − 1 ) ( L q + ξ ~ + Δ q , q + ) ⊤ P q + ( L q + ξ ~ + Δ q , q + ) .
Expanding this quadratic gives us three terms:
V ( g ) = e μ ( τ − 1 ) [ ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ + 2 ξ ~ ⊤ L q + ⊤ P q + Δ q , q + + Δ q , q + ⊤ P q + Δ q , q + ] . V(g)=e^{\mu(\tau-1)}\left[\tilde{\xi}^\top L_{q^+}^\top P_{q^+}L_{q^+}\tilde{\xi}+2\tilde{\xi}^\top L_{q^+}^\top P_{q^+}\Delta_{q,q^+}+\Delta_{q,q^+}^\top P_{q^+}\Delta_{q,q^+}\right]. V ( g ) = e μ ( τ − 1 ) [ ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ + 2 ξ ~ ⊤ L q + ⊤ P q + Δ q , q + + Δ q , q + ⊤ P q + Δ q , q + ] .
We now apply Young’s inequality with free weight θ > 0 \theta> 0 θ > 0 on the cross term (CT). That is, we use 2 a ⊤ b ≤ θ a ⊤ a + 1 θ b ⊤ b 2a^\top b\le\theta a^\top a+\frac{1}{\theta}b^\top b 2 a ⊤ b ≤ θ a ⊤ a + θ 1 b ⊤ b , with a = P q + 1 / 2 L q + ξ ~ a=P_{q^+}^{1/2}L_{q^+}\tilde{\xi} a = P q + 1/2 L q + ξ ~ , b = P q + 1 / 2 Δ q , q + b=P_{q^+}^{1/2}\Delta_{q,q^+} b = P q + 1/2 Δ q , q + . This gives us
V ( g ) ≤ e μ ( τ − 1 ) [ ( 1 + θ ) ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ ⏟ ( I ) + ( 1 + 1 θ ) Δ q , q + ⊤ P q + Δ q , q + ⏟ ( I I ) ] . V(g)\le e^{\mu(\tau-1)}\left[\underbrace{(1+\theta)\tilde{\xi}^\top L_{q^+}^\top P_{q^+}L_{q^+}\tilde{\xi}}_{\mathrm{(I)}}+\underbrace{\left(1+\frac{1}{\theta}\right)\Delta_{q,q^+}^\top P_{q^+}\Delta_{q,q^+}}_{\mathrm{(II)}}\right]. V ( g ) ≤ e μ ( τ − 1 ) ( I ) ( 1 + θ ) ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ + ( II ) ( 1 + θ 1 ) Δ q , q + ⊤ P q + Δ q , q + .
We now bound the terms (I) and (II) separately. For term (I), we first multiply and divide by the quantity V ( y ) = e μ τ ξ ~ ⊤ P q ξ ~ V(y)=e^{\mu\tau}\tilde{\xi}^\top P_q\tilde{\xi} V ( y ) = e μτ ξ ~ ⊤ P q ξ ~ to get
e μ ( τ − 1 ) ( 1 + θ ) ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ = e − μ ( 1 + θ ) V ( y ) ⋅ ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ ξ ~ ⊤ P q ξ ~ ⏟ ≤ γ . e^{\mu(\tau-1)}(1+\theta)\tilde{\xi}^\top L_{q^+}^\top P_{q^+}L_{q^+}\tilde{\xi}
=e^{-\mu}(1+\theta)V(y)\cdot\underbrace{\frac{\tilde{\xi}^\top L_{q^+}^\top P_{q^+}L_{q^+}\tilde{\xi}}{\tilde{\xi}^\top P_q\tilde{\xi}}}_{\le\gamma}. e μ ( τ − 1 ) ( 1 + θ ) ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ = e − μ ( 1 + θ ) V ( y ) ⋅ ≤ γ ξ ~ ⊤ P q ξ ~ ξ ~ ⊤ L q + ⊤ P q + L q + ξ ~ .
where we have used Lemma 4 for the upper bound above. For term (II), we have the bound
e μ ( τ − 1 ) ( 1 + 1 θ ) Δ q , q + ⊤ P q + Δ q , q + ≤ e − μ e μ N 0 ( 1 + 1 θ ) Δ q , q + ⊤ P q + Δ q , q + ≤ e − μ e μ N 0 ( 1 + 1 θ ) α . \begin{aligned}
e^{\mu(\tau-1)}\left(1+\frac{1}{\theta}\right)\Delta_{q,q^+}^\top P_{q^+}\Delta_{q,q^+}
\le e^{-\mu}e^{\mu N_0}\left(1+\frac{1}{\theta}\right)\Delta_{q,q^+}^\top P_{q^+}\Delta_{q,q^+} \\
&\le e^{-\mu}e^{\mu N_0}\left(1+\frac{1}{\theta}\right)\alpha.
\end{aligned} e μ ( τ − 1 ) ( 1 + θ 1 ) Δ q , q + ⊤ P q + Δ q , q + ≤ e − μ e μ N 0 ( 1 + θ 1 ) Δ q , q + ⊤ P q + Δ q , q + ≤ e − μ e μ N 0 ( 1 + θ 1 ) α .
Combining the two bounds for the terms (I) and (II), we get V ( g ) ≤ κ V ( y ) + c V(g)\le\kappa V(y)+c V ( g ) ≤ κV ( y ) + c for all y ∈ D y\in D y ∈ D and g ∈ G ( y ) g\in G(y) g ∈ G ( y ) , where κ = e − μ ( 1 + θ ) γ \kappa=e^{-\mu}(1+\theta)\gamma κ = e − μ ( 1 + θ ) γ , and c = e − μ e μ N 0 ( 1 + 1 θ ) α c=e^{-\mu}e^{\mu N_0}\left(1+\frac{1}{\theta}\right)\alpha c = e − μ e μ N 0 ( 1 + θ 1 ) α . We observe that κ < 1 \kappa<1 κ < 1 holds precisely under θ < e μ / γ − 1 \theta<e^\mu/\gamma-1 θ < e μ / γ − 1 , which is feasible if and only if μ > ln γ \mu>\ln\gamma μ > ln γ .
For the purpose of completeness, we now present the remainder of the proof to obtain the K L \mathcal{KL} K L -bound (15). Throughout, ρ : = λ − μ τ d > 0 \rho:=\lambda-\frac{\mu}{\tau_d}>0 ρ := λ − τ d μ > 0 , and κ \kappa κ , c c c are as defined in the proof. Let dom ( x ) ⊂ R ≥ 0 × N \operatorname{dom}(x)\subset\mathbb{R}_{\ge0}\times\mathbb{N} dom ( x ) ⊂ R ≥ 0 × N be the hybrid time domain of the solution, and let s j : = inf { t ≥ 0 : ( t , j ) ∈ dom ( x ) } s_j:=\inf\{t\ge0:(t,j)\in\operatorname{dom}(x)\} s j := inf { t ≥ 0 : ( t , j ) ∈ dom ( x )} denote the continuous time at which the j j j -th jump occurs. Set s 0 : = 0 s_0:=0 s 0 := 0 , Δ j : = s j − s j − 1 ≥ 0 \Delta_j:=s_j-s_{j-1}\ge0 Δ j := s j − s j − 1 ≥ 0 , and let a j : = V ( s j , j ) a_j:=V(s_j,j) a j := V ( s j , j ) denote the value of the Lyapunov function immediately after the j j j -th jump. On the interval [ s j − 1 , s j ] [s_{j-1},s_j] [ s j − 1 , s j ] , the solution flows without jumping, so the flow bound (32) applies over the full duration Δ j \Delta_j Δ j :
V ( s j , j − 1 ) ≤ e − ρ Δ j a j − 1 , V(s_j,j-1)\le e^{-\rho\Delta_j}a_{j-1}, V ( s j , j − 1 ) ≤ e − ρ Δ j a j − 1 ,
where V ( s j , j − 1 ) V(s_j,j-1) V ( s j , j − 1 ) is the value immediately before the j j j -th jump. Applying the jump bound at ( s j , j ) (s_j,j) ( s j , j ) then gives the recursion
a j ≤ κ e − ρ Δ j a j − 1 + c . (49) a_j\le\kappa e^{-\rho\Delta_j}a_{j-1}+c. \tag*{(49)} a j ≤ κ e − ρ Δ j a j − 1 + c . (49)
The factor κ < 1 \kappa<1 κ < 1 captures the contraction introduced by the jump, while c ≥ 0 c\ge0 c ≥ 0 accounts for the shift in equilibrium at each mode transition.
Applying (33) repeatedly from j j j down to 0 and using s j = ∑ i = 1 j Δ i s_j=\sum_{i=1}^{j}\Delta_i s j = ∑ i = 1 j Δ i , we obtain a j ≤ κ j e − ρ s j a 0 + a_j\le\kappa^j e^{-\rho s_j}a_0+ a j ≤ κ j e − ρ s j a 0 + c ∑ i = 1 j κ j − i e − ρ ( s j − s i ) c\sum_{i=1}^{j}\kappa^{j-i}e^{-\rho(s_j-s_i)} c ∑ i = 1 j κ j − i e − ρ ( s j − s i ) . Bounding e − ρ ( s j − s i ) ≤ 1 e^{-\rho(s_j-s_i)}\le1 e − ρ ( s j − s i ) ≤ 1 and summing the geometric series in κ < 1 \kappa<1 κ < 1 yields
a j ≤ κ j e − ρ s j a 0 + c 1 − κ . (50) a_j\le\kappa^j e^{-\rho s_j}a_0+\frac{c}{1-\kappa}. \tag*{(50)} a j ≤ κ j e − ρ s j a 0 + 1 − κ c . (50)
The bound (34) holds only at jump times. To extend it to all ( t , j ) ∈ dom ( x ) (t,j)\in\operatorname{dom}(x) ( t , j ) ∈ dom ( x ) , fix any j j j and let t ∈ [ s j , s j + 1 ) t\in[s_j,s_{j+1}) t ∈ [ s j , s j + 1 ) , so that the solution is in its j j j -th flow interval with no jumps occurring in ( s j , t ] (s_j,t] ( s j , t ] . Applying the flow bound (32) over the elapsed flow time t − s j t-s_j t − s j gives V ( t , j ) ≤ e − ρ ( t − s j ) a j V(t,j)\le e^{-\rho(t-s_j)}a_j V ( t , j ) ≤ e − ρ ( t − s j ) a j . Substituting (34) and using e − ρ ( t − s j ) ⋅ e − ρ s j = e − ρ t e^{-\rho(t-s_j)}\cdot e^{-\rho s_j}=e^{-\rho t} e − ρ ( t − s j ) ⋅ e − ρ s j = e − ρt ,
V ( t , j ) ≤ e − ρ t κ j V ( 0 , 0 ) + c 1 − κ , (51) V(t,j)\le e^{-\rho t}\kappa^j V(0,0)+\frac{c}{1-\kappa}, \tag*{(51)} V ( t , j ) ≤ e − ρt κ j V ( 0 , 0 ) + 1 − κ c , (51)
which holds for all ( t , j ) ∈ dom ( x ) (t,j)\in\operatorname{dom}(x) ( t , j ) ∈ dom ( x ) .
The transient term in (35) decays in t t t at rate ρ \rho ρ and in j j j at rate − ln κ > 0 -\ln\kappa>0 − ln κ > 0 . To obtain a single rate of decay in the hybrid time t + j t+j t + j , let η : = min { ρ , − ln κ } > 0 \eta:=\min\{\rho,-\ln\kappa\}>0 η := min { ρ , − ln κ } > 0 . Then e − ρ t ≤ e − η t e^{-\rho t}\le e^{-\eta t} e − ρt ≤ e − η t and κ j = e j ln κ ≤ e − η j \kappa^j=e^{j\ln\kappa}\le e^{-\eta j} κ j = e j l n κ ≤ e − η j , so that e − ρ t κ j ≤ e − η t e − η j = e − η ( t + j ) e^{-\rho t}\kappa^j\le e^{-\eta t}e^{-\eta j}=e^{-\eta(t+j)} e − ρt κ j ≤ e − η t e − η j = e − η ( t + j ) . Substituting into (35),
V ( t , j ) ≤ e − η ( t + j ) V ( 0 , 0 ) + c 1 − κ . (52) V(t,j)\le e^{-\eta(t+j)}V(0,0)+\frac{c}{1-\kappa}. \tag*{(52)} V ( t , j ) ≤ e − η ( t + j ) V ( 0 , 0 ) + 1 − κ c . (52)
The bounds (31) give p ∣ x ∣ A 2 ≤ V ( x ) ≤ e μ N 0 p ∣ x ∣ A 2 p|x|_{\mathcal A}^{2}\le V(x)\le e^{\mu N_0}p|x|_{\mathcal A}^{2} p ∣ x ∣ A 2 ≤ V ( x ) ≤ e μ N 0 p ∣ x ∣ A 2 . Applying the upper bound to V ( 0 , 0 ) V(0,0) V ( 0 , 0 ) and the lower bound to V ( t , j ) V(t,j) V ( t , j ) in (36),
p ∣ x ( t , j ) ∣ A 2 ≤ e − η ( t + j ) e μ N 0 p ∣ x ( 0 , 0 ) ∣ A 2 + c 1 − κ . p|x(t,j)|_{\mathcal A}^{2}\le e^{-\eta(t+j)}e^{\mu N_0}p|x(0,0)|_{\mathcal A}^{2}+\frac{c}{1-\kappa}. p ∣ x ( t , j ) ∣ A 2 ≤ e − η ( t + j ) e μ N 0 p ∣ x ( 0 , 0 ) ∣ A 2 + 1 − κ c .
Taking square roots and applying a + b ≤ a + b \sqrt{a+b}\le\sqrt a+\sqrt b a + b ≤ a + b ,
∣ x ( t , j ) ∣ A ≤ e μ N 0 p p e − η ( t + j ) / 2 ∣ x ( 0 , 0 ) ∣ A + c p ( 1 − κ ) . |x(t,j)|_{\mathcal A}\le\sqrt{\frac{e^{\mu N_0}p}{p}}e^{-\eta(t+j)/2}|x(0,0)|_{\mathcal A}+\sqrt{\frac{c}{p(1-\kappa)}}. ∣ x ( t , j ) ∣ A ≤ p e μ N 0 p e − η ( t + j ) /2 ∣ x ( 0 , 0 ) ∣ A + p ( 1 − κ ) c .
Substituting c = e − μ e μ N 0 ( 1 + 1 θ ) α c=e^{-\mu}e^{\mu N_0}(1+\frac{1}{\theta})\alpha c = e − μ e μ N 0 ( 1 + θ 1 ) α and 1 − κ = e − μ ( e μ − ( 1 + θ ) γ ) 1-\kappa=e^{-\mu}(e^\mu-(1+\theta)\gamma) 1 − κ = e − μ ( e μ − ( 1 + θ ) γ ) into the residual term,
c p ( 1 − κ ) = e μ N 0 ( 1 + 1 θ ) α p ( e μ − ( 1 + θ ) γ ) = ν ( α ) , \sqrt{\frac{c}{p(1-\kappa)}}=\sqrt{\frac{e^{\mu N_0}(1+\frac{1}{\theta})\alpha}{p(e^\mu-(1+\theta)\gamma)}}=\nu(\alpha), p ( 1 − κ ) c = p ( e μ − ( 1 + θ ) γ ) e μ N 0 ( 1 + θ 1 ) α = ν ( α ) ,
which completes the proof of (15). ■
Proof of Theorem 2
To characterize the limiting behavior of system (12), we consider a HDS for which τ d → ∞ \tau_d\to\infty τ d → ∞ , i.e., only a finite number of jumps is allowed:
ξ ˙ = Π q d i f f ( A q ξ + b q ) , q ˙ = 0 , τ ˙ = 0 , x ∈ C (53) \dot{\xi}=\Pi_q^{\mathrm{diff}}(A_q\xi+b_q),\qquad\dot q=0,\qquad\dot\tau=0,\qquad x\in C \tag*{(53)} ξ ˙ = Π q diff ( A q ξ + b q ) , q ˙ = 0 , τ ˙ = 0 , x ∈ C (53)
\begin{bmatrix}(\xi^+,q^+)^\top\\ \tau^+\end{bmatrix}\in\begin{bmatrix}\{(\Pi_z\xi,z):z\in Q_{\mathrm{tr}}\setminus\{q\}\}\\ \tau-1\end{bmatrix},\qquad x\in D. \tag*{(54)}\end{bmatrix}
For this system, and for each q ∈ Q t r q\in Q_{\mathrm{tr}} q ∈ Q tr and j ∈ Z ≥ 0 j\in\mathbb Z_{\ge0} j ∈ Z ≥ 0 , define the set A j , q = R ( ( ( { ξ q ∗ } + ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ] ) A_{j,q}=R\left(((\{\xi_q^*\}+(j+1)^{-1}\mathbb B)\cap C_q)\times\{q\}\times[0,1]\right) A j , q = R ( (({ ξ q ∗ } + ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ] ) , as well as the sets
A q : = ⋃ j ∈ Z ≥ 0 A j , q , B : = ⋃ q ∈ Q t r A q . (55) A_q:=\bigcup_{j\in\mathbb Z_{\ge0}}A_{j,q},\qquad B:=\bigcup_{q\in Q_{\mathrm{tr}}}A_q. \tag*{(55)} A q := j ∈ Z ≥ 0 ⋃ A j , q , B := q ∈ Q tr ⋃ A q . (55)
Adapting the proof of [13 Proposition 4] to the DAE case, it can be shown that the set B B B is the Omega-limit set of System (37) starting from a sufficiently large compact set K K K that contains the set ( ⋃ q ∈ Q t r { ξ q ∗ } × { q } ) × [ 0 , N 0 ] \left(\bigcup_{q\in Q_{\mathrm{tr}}}\{\xi_q^*\}\times\{q\}\right)\times[0,N_0] ( ⋃ q ∈ Q tr { ξ q ∗ } × { q } ) × [ 0 , N 0 ] in its interior.
In what follows, we provide an explicit characterization of this Omega-limit set using the solution formula of (16).
Proposition 1. Assume N 0 = 1 N_0=1 N 0 = 1 and suppose that Assumptions 2, 3, and 4 hold. Then, the sets B B B and
A : = ⋃ q ∈ Q t r [ { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ ⋃ r ∈ Q t r r ≠ q { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } × { r } × { 0 } ] . (56) \mathcal A:=\bigcup_{q\in Q_{\mathrm{tr}}}\left[\{\xi_q^*\}\times\{q\}\times[0,1]\ \cup\ \bigcup_{\substack{r\in Q_{\mathrm{tr}}\\r\ne q}}\left\{\Theta_r^t(\Pi_r(\xi_q^*)):t\ge0\right\}\times\{r\}\times\{0\}\right]. \tag*{(56)} A := q ∈ Q tr ⋃ { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ r ∈ Q tr r = q ⋃ { Θ r t ( Π r ( ξ q ∗ )) : t ≥ 0 } × { r } × { 0 } . (56)
are equal.
Proof: Let K q j : = ( ( { ξ q ∗ } + ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ] K_q^j:=((\{\xi_q^*\}+(j+1)^{-1}\mathbb B)\cap C_q)\times\{q\}\times[0,1] K q j := (({ ξ q ∗ } + ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ] and K q ∞ : = { ξ q ∗ } × { q } × [ 0 , 1 ] K_q^\infty:=\{\xi_q^*\}\times\{q\}\times[0,1] K q ∞ := { ξ q ∗ } × { q } × [ 0 , 1 ] . Note that A j , q = R ( K q j ) A_{j,q}=R(K_q^j) A j , q = R ( K q j ) . Since K q ∞ ⊂ K q j K_q^\infty\subset K_q^j K q ∞ ⊂ K q j , for all j ≥ 0 j\ge0 j ≥ 0 , we have R ( K q ∞ ) ⊆ A j , q R(K_q^\infty)\subseteq A_{j,q} R ( K q ∞ ) ⊆ A j , q for all j ∈ Z ≥ 0 j\in\mathbb Z_{\ge0} j ∈ Z ≥ 0 . Hence R ( K q ∞ ) ⊆ ⋂ j ∈ Z ≥ 0 A j , q = A q ⊂ B R(K_q^\infty)\subseteq\bigcap_{j\in\mathbb Z_{\ge0}}A_{j,q}=A_q\subset B R ( K q ∞ ) ⊆ ⋂ j ∈ Z ≥ 0 A j , q = A q ⊂ B . To show the other direction, we note that since N 0 = 1 N_0=1 N 0 = 1 , system (37) can experience at most one jump. Therefore, for any ϕ ∈ S ( K q j ) \phi\in\mathcal S(K_q^j) ϕ ∈ S ( K q j ) , one of the following must hold true: 1) dom ( ϕ ) = [ 0 , ∞ ) × { 0 } \operatorname{dom}(\phi)=[0,\infty)\times\{0\} dom ( ϕ ) = [ 0 , ∞ ) × { 0 } ; 2) dom ( ϕ ) = [ 0 , t 1 ] × { 0 } ∪ [ t 1 , ∞ ) × { 1 } \operatorname{dom}(\phi)=[0,t_1]\times\{0\}\cup[t_1,\infty)\times\{1\} dom ( ϕ ) = [ 0 , t 1 ] × { 0 } ∪ [ t 1 , ∞ ) × { 1 } , for some t 1 ≥ 0 t_1\ge0 t 1 ≥ 0 . Let us consider the first possibility. It is clear that
ϕ ( t , 0 ) = ( Θ q t ( ξ ( 0 , 0 ) ) , q , τ ( 0 , 0 ) ) , ∀ ( t , 0 ) ∈ dom ( ϕ ) , \phi(t,0)=(\Theta_q^t(\xi(0,0)),q,\tau(0,0)),\quad\forall(t,0)\in\operatorname{dom}(\phi), ϕ ( t , 0 ) = ( Θ q t ( ξ ( 0 , 0 )) , q , τ ( 0 , 0 )) , ∀ ( t , 0 ) ∈ dom ( ϕ ) ,
where ξ ( 0 , 0 ) ∈ { ξ q ∗ } + ( j + 1 ) − 1 B \xi(0,0)\in\{\xi_q^*\}+(j+1)^{-1}\mathbb B ξ ( 0 , 0 ) ∈ { ξ q ∗ } + ( j + 1 ) − 1 B , q ∈ Q t r q\in Q_{\mathrm{tr}} q ∈ Q tr , and τ ( 0 , 0 ) ∈ [ 0 , 1 ] \tau(0,0)\in[0,1] τ ( 0 , 0 ) ∈ [ 0 , 1 ] . Since ξ q ∗ \xi_q^* ξ q ∗ is globally asymptotically stable for the q t h q^{\mathrm{th}} q th mode of System (37), there exists a constant c 1 > 0 c_1>0 c 1 > 0 such that Θ q t ( ξ ( 0 , 0 ) ) ∈ ( { ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q \Theta_q^t(\xi(0,0))\in(\{\xi_q^*\}+c_1(j+1)^{-1}\mathbb B)\cap C_q Θ q t ( ξ ( 0 , 0 )) ∈ ({ ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q for all ( t , 0 ) ∈ dom ( ϕ ) (t,0)\in\operatorname{dom}(\phi) ( t , 0 ) ∈ dom ( ϕ ) . Therefore,
ϕ ( t , i ) ∈ ( ( { ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ] \phi(t,i)\in\left((\{\xi_q^*\}+c_1(j+1)^{-1}\mathbb B)\cap C_q\right)\times\{q\}\times[0,1] ϕ ( t , i ) ∈ ( ({ ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q ) × { q } × [ 0 , 1 ]
for all ( t , i ) ∈ dom ( ϕ ) (t,i)\in\operatorname{dom}(\phi) ( t , i ) ∈ dom ( ϕ ) .
Now, we consider the second possibility. For all ( t , 0 ) ∈ dom ( ϕ ) (t,0)\in\operatorname{dom}(\phi) ( t , 0 ) ∈ dom ( ϕ ) , we have ϕ ( t , 0 ) = ( Θ q t ( ξ ( 0 , 0 ) ) , q , τ ( 0 , 0 ) ) \phi(t,0)=(\Theta_q^t(\xi(0,0)),q,\tau(0,0)) ϕ ( t , 0 ) = ( Θ q t ( ξ ( 0 , 0 )) , q , τ ( 0 , 0 )) . Now, for ( t , 1 ) ∈ dom ( ϕ ) (t,1)\in\operatorname{dom}(\phi) ( t , 1 ) ∈ dom ( ϕ ) we have
ϕ ( t , 1 ) = ( Θ q + t − t 1 ∘ Π q + ∘ Θ q t 1 ( ξ ( 0 , 0 ) ) , q + , 0 ) . \phi(t,1)=(\Theta_{q^+}^{t-t_1}\circ\Pi_{q^+}\circ\Theta_q^{t_1}(\xi(0,0)),q^+,0). ϕ ( t , 1 ) = ( Θ q + t − t 1 ∘ Π q + ∘ Θ q t 1 ( ξ ( 0 , 0 )) , q + , 0 ) .
Similar to the previous possibility, there exists a constant c 1 > 0 c_1>0 c 1 > 0 such that Θ q t ( ξ ( 0 , 0 ) ) ∈ ( { ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q \Theta_q^t(\xi(0,0))\in(\{\xi_q^*\}+c_1(j+1)^{-1}\mathbb B)\cap C_q Θ q t ( ξ ( 0 , 0 )) ∈ ({ ξ q ∗ } + c 1 ( j + 1 ) − 1 B ) ∩ C q for all ( t , 0 ) ∈ dom ( ϕ ) (t,0)\in\operatorname{dom}(\phi) ( t , 0 ) ∈ dom ( ϕ ) . Since Π q + \Pi_{q^+} Π q + is Lipschitz with constant ℓ q + : = ∥ L q + ∥ 2 \ell_{q^+}:=\|L_{q^+}\|_2 ℓ q + := ∥ L q + ∥ 2 . Therefore, the image of { ξ q ∗ } + c 1 ( j + 1 ) − 1 B \{\xi_q^*\}+c_1(j+1)^{-1}\mathbb B { ξ q ∗ } + c 1 ( j + 1 ) − 1 B under Π q + \Pi_{q^+} Π q + is contained in { Π q + ( ξ q ∗ ) } + c 1 ℓ q + ( j + 1 ) − 1 B \{\Pi_{q^+}(\xi_q^*)\}+c_1\ell_{q^+}(j+1)^{-1}\mathbb B { Π q + ( ξ q ∗ )} + c 1 ℓ q + ( j + 1 ) − 1 B . Thus, for all ( t , 1 ) ∈ dom ( ϕ ) (t,1)\in\operatorname{dom}(\phi) ( t , 1 ) ∈ dom ( ϕ ) we have
Θ q + t − t 1 ∘ Π q + ∘ Θ q t 1 ( ξ ( 0 , 0 ) ) ∈ { Θ q + t − t 1 ( ξ ) : ∣ ξ − Π q + ( ξ q ∗ ) ∣ ≤ c 1 ℓ q + ( j + 1 ) − 1 } . \Theta_{q^+}^{t-t_1}\circ\Pi_{q^+}\circ\Theta_q^{t_1}(\xi(0,0))\in\left\{\Theta_{q^+}^{t-t_1}(\xi):\left|\xi-\Pi_{q^+}(\xi_q^*)\right|\le c_1\ell_{q^+}(j+1)^{-1}\right\}. Θ q + t − t 1 ∘ Π q + ∘ Θ q t 1 ( ξ ( 0 , 0 )) ∈ { Θ q + t − t 1 ( ξ ) : ξ − Π q + ( ξ q ∗ ) ≤ c 1 ℓ q + ( j + 1 ) − 1 } .
Since ξ q + ∗ \xi_{q^+}^* ξ q + ∗ is globally exponentially stable for the ( q + ) t h (q^+)^{\mathrm{th}} ( q + ) th mode of System (37) (a direct consequence of Assumption 4), there exists c 2 ≥ 1 c_2\ge1 c 2 ≥ 1 such that ∥ e A q + d i f f t ∥ ≤ c 2 \|e^{A_{q^+}^{\mathrm{diff}}t}\|\le c_2 ∥ e A q + diff t ∥ ≤ c 2 for all t ≥ 0 t\ge0 t ≥ 0 . and q + ∈ Q t r q^{+} \in\mathcal{Q}_{\mathrm{tr}} q + ∈ Q tr (see, e.g., [9 Thm. 4.4] ). Consequently, there exists a constant c 2 > 0 c_{2} > 0 c 2 > 0 such that for all t ≥ 0 t \ge0 t ≥ 0 and q ∈ Q t r q \in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr ,
∣ Θ q t ( ξ ) − Θ q t ( ξ ′ ) ∣ ≤ c 2 ∣ ξ − ξ ′ ∣ , ∀ ξ , ξ ′ ∈ C q , t ≥ 0. \left|\Theta_{q}^{t}(\xi)-\Theta_{q}^{t}(\xi^{\prime})\right| \leq c_{2}\left|\xi-\xi^{\prime}\right|,\qquad\forall\ \xi,\xi^{\prime}\in C_{q},\quad t\geq0. Θ q t ( ξ ) − Θ q t ( ξ ′ ) ≤ c 2 ∣ ξ − ξ ′ ∣ , ∀ ξ , ξ ′ ∈ C q , t ≥ 0.
As a result we get
{ Θ q + t − t 1 ( ξ ) : ∣ ξ − Π q + ( ξ q ∗ ) ∣ ≤ c 1 ⋅ l q + ( j + 1 ) − 1 } ⊂ { Θ q + t − t 1 ( Π q + ( ξ q ∗ ) ) } + c 1 ⋅ l q + ⋅ c 2 ( j + 1 ) − 1 B . (57) \left\{\Theta_{q^{+}}^{t-t_{1}}(\xi):\left|\xi-\Pi_{q^{+}}(\xi_{q}^{*})\right|\leq c_{1}\cdot l_{q^{+}}(j+1)^{-1}\right\}
\subset
\left\{\Theta_{q^{+}}^{t-t_{1}}\left(\Pi_{q^{+}}(\xi_{q}^{*})\right)\right\}+c_{1}\cdot l_{q^{+}}\cdot c_{2}(j+1)^{-1}\mathbb{B}. \tag*{(57)} { Θ q + t − t 1 ( ξ ) : ξ − Π q + ( ξ q ∗ ) ≤ c 1 ⋅ l q + ( j + 1 ) − 1 } ⊂ { Θ q + t − t 1 ( Π q + ( ξ q ∗ ) ) } + c 1 ⋅ l q + ⋅ c 2 ( j + 1 ) − 1 B . (57)
It is clear now that for all ( t , 1 ) ∈ dom ( ϕ ) (t,1)\in\operatorname{dom}(\phi) ( t , 1 ) ∈ dom ( ϕ ) ,
ϕ ( t , 1 ) ∈ ⋃ q + ∈ Q t r ∖ { q } ( { Θ q + t − t 1 ( Π q + ( ξ q ∗ ) ) } + c 1 c 2 l ( j + 1 ) − 1 B ) × { q + } × { 0 } . \phi(t,1)\in\bigcup_{q^{+}\in\mathcal{Q}_{\mathrm{tr}}\setminus\{q\}}\left(\left\{\Theta_{q^{+}}^{t-t_{1}}\left(\Pi_{q^{+}}(\xi_{q}^{*})\right)\right\}+c_{1}c_{2}l(j+1)^{-1}\mathbb{B}\right)\times\{q^{+}\}\times\{0\}. ϕ ( t , 1 ) ∈ q + ∈ Q tr ∖ { q } ⋃ ( { Θ q + t − t 1 ( Π q + ( ξ q ∗ ) ) } + c 1 c 2 l ( j + 1 ) − 1 B ) × { q + } × { 0 } .
where l : = max r ∈ Q t r ∥ L r ∥ l:=\max_{r\in\mathcal{Q}_{\mathrm{tr}}}\|L_{r}\| l := max r ∈ Q tr ∥ L r ∥ . From the above arguments:
R ( K q ∞ ) = { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ ⋃ r ∈ Q t r ∖ { q } { ( Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } × { r } × { 0 } . R(K_{q}^{\infty})=\{\xi_{q}^{*}\}\times\{q\}\times[0,1]\cup\bigcup_{r\in\mathcal{Q}_{\mathrm{tr}}\setminus\{q\}}\{(\Theta_{r}^{t}(\Pi_{r}(\xi_{q}^{*})):t\geq0\}\times\{r\}\times\{0\}. R ( K q ∞ ) = { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ r ∈ Q tr ∖ { q } ⋃ {( Θ r t ( Π r ( ξ q ∗ )) : t ≥ 0 } × { r } × { 0 } .
Since each subsystem has an exponentially stable equilibrium point, we also have
R ( K q ∞ ) ‾ = { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ ⋃ r ∈ Q t r ∖ { q } ( { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } ∪ { ξ r ∗ } ) × { r } × { 0 } . (58) \overline{R(K_{q}^{\infty})}=\{\xi_{q}^{*}\}\times\{q\}\times[0,1]\cup\bigcup_{r\in\mathcal{Q}_{\mathrm{tr}}\setminus\{q\}}\left(\left\{\Theta_{r}^{t}\left(\Pi_{r}(\xi_{q}^{*})\right):t\geq0\right\}\cup\{\xi_{r}^{*}\}\right)\times\{r\}\times\{0\}. \tag*{(58)} R ( K q ∞ ) = { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ r ∈ Q tr ∖ { q } ⋃ ( { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } ∪ { ξ r ∗ } ) × { r } × { 0 } . (58)
We now show that A q = R ( K q ∞ ) ‾ A_{q}=\overline{R(K_{q}^{\infty})} A q = R ( K q ∞ ) . Indeed, since K q ∞ ⊂ K q j K_{q}^{\infty}\subset K_{q}^{j} K q ∞ ⊂ K q j for every j ∈ Z ≥ 0 j\in\mathbb{Z}_{\geq0} j ∈ Z ≥ 0 , it follows that R ( K q ∞ ) ‾ ⊆ R ( K q j ) ‾ \overline{R(K_{q}^{\infty})}\subseteq\overline{R(K_{q}^{j})} R ( K q ∞ ) ⊆ R ( K q j ) , and therefore R ( K q ∞ ) ‾ ⊆ R ( K q j ) ‾ = A j , q \overline{R(K_{q}^{\infty})}\subseteq\overline{R(K_{q}^{j})}=A_{j,q} R ( K q ∞ ) ⊆ R ( K q j ) = A j , q for every j ∈ Z ≥ 0 j\in\mathbb{Z}_{\geq0} j ∈ Z ≥ 0 . Thus,
R ( K q ∞ ) ‾ ⊆ ⋂ j ∈ Z ≥ 0 A j , q = A q . (59) \overline{R(K_{q}^{\infty})}\subseteq\bigcap_{j\in\mathbb{Z}_{\geq0}}A_{j,q}=A_{q}. \tag*{(59)} R ( K q ∞ ) ⊆ j ∈ Z ≥ 0 ⋂ A j , q = A q . (59)
To show the other inclusion, we define the constant c 3 : = max { c 1 , c 1 ⋅ c 2 ⋅ l } c_{3}:=\max\{c_{1},c_{1}\cdot c_{2}\cdot l\} c 3 := max { c 1 , c 1 ⋅ c 2 ⋅ l } . Using the containment in (40), it is clear that R ( K q j ) ⊆ R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B R(K_{q}^{j})\subseteq R(K_{q}^{\infty})+c_{3}(j+1)^{-1}\mathbb{B} R ( K q j ) ⊆ R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B . Taking the closure on both sides gives us, A j , q = R ( K q j ) ‾ ⊆ R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B ‾ A_{j,q}=\overline{R(K_{q}^{j})}\subseteq\overline{R(K_{q}^{\infty})+c_{3}(j+1)^{-1}\mathbb{B}} A j , q = R ( K q j ) ⊆ R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B . Since R ( K q ∞ ) ⊆ R ( K q ∞ ) ‾ R(K_{q}^{\infty})\subseteq\overline{R(K_{q}^{\infty})} R ( K q ∞ ) ⊆ R ( K q ∞ ) we further obtain A j , q ⊆ R ( K q ∞ ) ‾ + c 3 ( j + 1 ) − 1 B A_{j,q}\subseteq\overline{R(K_{q}^{\infty})}+c_{3}(j+1)^{-1}\mathbb{B} A j , q ⊆ R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B , where we have used the fact that R ( K q ∞ ) ‾ \overline{R(K_{q}^{\infty})} R ( K q ∞ ) is closed and the ball is compact. Therefore,
A q = ⋂ j ∈ Z ≥ 0 A j , q ⊆ ⋂ j ∈ Z ≥ 0 ( R ( K q ∞ ) ‾ + c 3 ( j + 1 ) − 1 B ) = R ( K q ∞ ) ‾ . (60) A_{q}=\bigcap_{j\in\mathbb{Z}_{\geq0}}A_{j,q}\subseteq\bigcap_{j\in\mathbb{Z}_{\geq0}}\left(\overline{R(K_{q}^{\infty})}+c_{3}(j+1)^{-1}\mathbb{B}\right)=\overline{R(K_{q}^{\infty})}. \tag*{(60)} A q = j ∈ Z ≥ 0 ⋂ A j , q ⊆ j ∈ Z ≥ 0 ⋂ ( R ( K q ∞ ) + c 3 ( j + 1 ) − 1 B ) = R ( K q ∞ ) . (60)
The inclusions in (42) and (43) give us A q = R ( K q ∞ ) ‾ A_{q}=\overline{R(K_{q}^{\infty})} A q = R ( K q ∞ ) . Finally, taking the union over q ∈ Q t r q\in\mathcal{Q}_{\mathrm{tr}} q ∈ Q tr and using (41), we obtain
B = ⋃ q ∈ Q t r R ( K q ∞ ) ‾ = ⋃ q ∈ Q t r [ { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ ⋃ r ∈ Q t r ∖ { q } ( { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } ∪ { ξ r ∗ } ) × { r } × { 0 } ] = A . \mathcal{B}=\bigcup_{q\in\mathcal{Q}_{\mathrm{tr}}}\overline{R(K_{q}^{\infty})}
=\bigcup_{q\in\mathcal{Q}_{\mathrm{tr}}}\left[\{\xi_{q}^{*}\}\times\{q\}\times[0,1]\cup\bigcup_{r\in\mathcal{Q}_{\mathrm{tr}}\setminus\{q\}}\left(\left\{\Theta_{r}^{t}\left(\Pi_{r}(\xi_{q}^{*})\right):t\geq0\right\}\cup\{\xi_{r}^{*}\}\right)\times\{r\}\times\{0\}\right]=\mathcal{A}. B = q ∈ Q tr ⋃ R ( K q ∞ ) = q ∈ Q tr ⋃ { ξ q ∗ } × { q } × [ 0 , 1 ] ∪ r ∈ Q tr ∖ { q } ⋃ ( { Θ r t ( Π r ( ξ q ∗ ) ) : t ≥ 0 } ∪ { ξ r ∗ } ) × { r } × { 0 } = A .
This completes the proof. ■
Proof of Theorem 2: The proof follows similar steps as in [13 Theorem 1] but uses the sharper characterization of the set A \mathcal{A} A in Proposition 1. It is clear that the set C C C and D D D are closed since Q t r \mathcal{Q}_{\mathrm{tr}} Q tr is finite, the interval [ 0 , 1 ] [0,1] [ 0 , 1 ] is closed, and any finite-dimensional affine subspace is also closed. Moreover, the maps F F F and G G G are OSC, LB and the map F F F is convex-valued. Therefore, system (11) satisfies the hybrid basic conditions. Let K K K be chosen sufficiently large such that it contains in its interior the set A \mathcal{A} A . Following the same arguments as in [13 ] , we have that Ω ( K ) = A \Omega(K)=\mathcal{A} Ω ( K ) = A . From [17 Corollary 7.7] , we obtain that the set A \mathcal{A} A is asymptotically stable for system (37). Since the preceding argument applies to every sufficiently large compact set K K K , and such compact sets can be chosen to contain any prescribed compact subset of the admissible state space, the basin of attraction of A \mathcal{A} A is the entire admissible state space. Therefore, A \mathcal{A} A is globally asymptotically stable for system (37). Now consider the inflated hybrid system H ε \mathcal{H}_{\varepsilon} H ε , given by
x ∈ C ε , x ˙ ∈ F ε ( x ) , x ∈ D ε , x + ∈ G ε ( x ) , (61) x\in C_{\varepsilon},\quad\dot{x}\in F_{\varepsilon}(x),\qquad x\in D_{\varepsilon},\quad x^{+}\in G_{\varepsilon}(x), \tag*{(61)} x ∈ C ε , x ˙ ∈ F ε ( x ) , x ∈ D ε , x + ∈ G ε ( x ) , (61)
where ε = 1 τ d \varepsilon=\frac{1}{\tau_{d}} ε = τ d 1 , and where the data of (44) is constructed from the data of H 0 \mathcal{H}_{0} H 0 as in [18 Sec. 6] . In particular, for ε = 1 / τ d \varepsilon=1/\tau_{d} ε = 1/ τ d , the data of the system satisfy C ⊆ C ε C\subseteq C_{\varepsilon} C ⊆ C ε , D ⊆ D ε D\subseteq D_{\varepsilon} D ⊆ D ε , and, for every admissible state, we have F τ d ( x ) ⊆ F ε ( x ) F_{\tau_{d}}(x)\subseteq F_{\varepsilon}(x) F τ d ( x ) ⊆ F ε ( x ) , and G τ d ( x ) ⊆ G ε ( x ) G_{\tau_{d}}(x)\subseteq G_{\varepsilon}(x) G τ d ( x ) ⊆ G ε ( x ) . Consequently, every solution of the original system is also a solution of the inflated system H ε \mathcal{H}_{\varepsilon} H ε , and, by [17, Thm. 7.21, the inflated hybrid system H ε \mathcal{H}_{\varepsilon} H ε renders the set A \mathcal{A} A semi-globally practically asymptotically stable as ε → 0 + \varepsilon\to0^{+} ε → 0 + .
Appendix C: Proofs for the Inference-Phase Switching Case
Proof of Theorem 3: Consider the function V ( x ) = e − μ τ / N 0 T ~ q P q ξ V(x)=e^{-\mu\tau/N_{0}}\widetilde{T}_{q}P_{q}\xi V ( x ) = e − μτ / N 0 T q P q ξ , where μ > 0 \mu>0 μ > 0 is a free parameter and for each q ∈ Q i n q\in\mathcal{Q}_{\mathrm{in}} q ∈ Q in , the matrices P q P_{q} P q are symmetric and positive definite on span ( V q ) \operatorname{span}(V_{q}) span ( V q ) . For each q ′ ∈ Q i n q^{\prime}\in\mathcal{Q}_{\mathrm{in}} q ′ ∈ Q in , define the integral
I ~ q ′ ( μ ) : = E v 2 ∣ v 1 = q ′ [ e − μ v 2 / N 0 ] = ∫ 0 N 0 f q ′ ( v 2 ) e − μ v 2 / N 0 d v 2 , (62) \widetilde{I}_{q^{\prime}}(\mu):=\mathbb{E}_{v_{2}\mid v_{1}=q^{\prime}}\left[e^{-\mu v_{2}/N_{0}}\right]=\int_{0}^{N_{0}}f_{q^{\prime}}(v_{2})e^{-\mu v_{2}/N_{0}}\,dv_{2}, \tag*{(62)} I q ′ ( μ ) := E v 2 ∣ v 1 = q ′ [ e − μ v 2 / N 0 ] = ∫ 0 N 0 f q ′ ( v 2 ) e − μ v 2 / N 0 d v 2 , (62)
where f q ′ f_{q^{\prime}} f q ′ is the probability density for v 2 v_{2} v 2 . It can be seen that the integral I ~ q ′ ( μ ) \widetilde{I}_{q^{\prime}}(\mu) I q ′ ( μ ) is strictly positive and monotonically decreasing in μ \mu μ , with I ~ q ′ ( 0 ) = 1 \widetilde{I}_{q^{\prime}}(0)=1 I q ′ ( 0 ) = 1 and I ~ q ′ ( μ ) → 0 \widetilde{I}_{q^{\prime}}(\mu)\to0 I q ′ ( μ ) → 0 as μ → ∞ \mu\to\infty μ → ∞ for all three modes. For the convenience of the reader, we provide explicit expressions for I ~ q ′ ( μ ) \widetilde{I}_{q^{\prime}}(\mu) I q ′ ( μ ) in Appendix D.
Next, we show that V V V is a Lagrange–Foster function for the SHDS (23) in the sense of [18 Sec. 4.4.1] . We begin by showing the class C ∞ \mathcal{C}_{\infty} C ∞ bounds in [18 (16a), (16b)] . Indeed, note that since A i n ⊂ O ε ⊂ O ‾ ε A_{\mathrm{in}}\subset O_{\varepsilon}\subset\overline{O}_{\varepsilon} A in ⊂ O ε ⊂ O ε , we have
∣ x ∣ O ‾ ε ≤ ∣ x ∣ A i n , ∀ x ∈ C ∪ D . (63) |x|_{\overline{O}_{\varepsilon}}\leq|x|_{A_{\mathrm{in}}},\qquad\forall\ x\in C\cup D. \tag*{(63)} ∣ x ∣ O ε ≤ ∣ x ∣ A in , ∀ x ∈ C ∪ D . (63)
Since τ ∈ [ 0 , N 0 ] \tau\in[0,N_{0}] τ ∈ [ 0 , N 0 ] , we have e − μ τ / N 0 ∈ [ e − μ , 1 ] e^{-\mu\tau/N_{0}}\in[e^{-\mu},1] e − μτ / N 0 ∈ [ e − μ , 1 ] , giving
e − μ p ‾ ∣ x ∣ A i n 2 ≤ V ( x ) ≤ 1 p ‾ ∣ x ∣ A i n 2 , ∀ x ∈ C ∪ D , (64) \frac{e^{-\mu}}{\underline{p}}|x|_{A_{\mathrm{in}}}^{2}\leq V(x)\leq\frac{1}{\overline{p}}|x|_{A_{\mathrm{in}}}^{2},\qquad\forall\ x\in C\cup D, \tag*{(64)} p e − μ ∣ x ∣ A in 2 ≤ V ( x ) ≤ p 1 ∣ x ∣ A in 2 , ∀ x ∈ C ∪ D , (64)
where p ‾ \underline{p} p and p ‾ \overline{p} p are defined as in Section IV, but relative to Q i n \mathcal{Q}_{\mathrm{in}} Q in . Both bounding functions are class C ∞ \mathcal{C}_{\infty} C ∞ . Using (46) and the lower bound in (47), we satisfy [18 (16a)] . The upper bound of (47) satisfies [18 (16b)] with ϖ ( x ) = ∣ x ∣ A i n \varpi(x)=|x|_{A_{\mathrm{in}}} ϖ ( x ) = ∣ x ∣ A in .
To show decrease during flows, let x ∈ C x\in C x ∈ C and consider an arbitrary direction of flow f ∈ F ( x ) f\in F(x) f ∈ F ( x ) , with worst-case τ ˙ = − 1 τ d μ τ N 0 \dot{\tau}=-\frac{1}{\tau_d}\frac{\mu\tau}{N_0} τ ˙ = − τ d 1 N 0 μτ . We have, ⟨ ∇ V ( x ) , f ⟩ = e − μ τ N 0 ( 2 ξ ~ T P q Π q d i f f A q ξ ~ ) + μ e − μ τ N 0 τ d N 0 ξ ~ T P q ξ ~ \langle\nabla V(x),f\rangle=e^{-\frac{\mu\tau}{N_0}}\left(2\tilde{\xi}^{\mathsf{T}}P_q\Pi_q^{\mathrm{diff}}A_q\tilde{\xi}\right)+\frac{\mu e^{-\frac{\mu\tau}{N_0}}}{\tau_dN_0}\tilde{\xi}^{\mathsf{T}}P_q\tilde{\xi} ⟨ ∇ V ( x ) , f ⟩ = e − N 0 μτ ( 2 ξ ~ T P q Π q diff A q ξ ~ ) + τ d N 0 μ e − N 0 μτ ξ ~ T P q ξ ~ . Using Assumption 5, we get
⟨ ∇ V ( x ) , f ⟩ ≤ e − μ τ / N 0 ( − ξ ~ T N ~ q ξ ~ ) ≤ − λ V ( x ) , (65) \langle\nabla V(x),f\rangle\le e^{-\mu\tau/N_0}\left(-\tilde{\xi}^{\mathsf{T}}\widetilde{N}_q\tilde{\xi}\right)\le-\lambda V(x), \tag*{(65)} ⟨ ∇ V ( x ) , f ⟩ ≤ e − μτ / N 0 ( − ξ ~ T N q ξ ~ ) ≤ − λV ( x ) , (65)
where λ : = m p ˉ > 0 \lambda:=\frac{m}{\bar{p}}>0 λ := p ˉ m > 0 and m : = min q ∈ Q i n λ min ( O q T N ~ q O q ) m:=\min_{q\in Q_{\mathrm{in}}}\lambda_{\min}(O_q^{\mathsf{T}}\widetilde{N}_qO_q) m := min q ∈ Q in λ m i n ( O q T N q O q ) .
Now, let x ∈ D x\in D x ∈ D and g ∈ G ( x , v 1 , v 2 ) g\in G(x,v_1,v_2) g ∈ G ( x , v 1 , v 2 ) . At a jump, we have ξ ~ + = L v 1 ξ ~ + Δ q , v 1 \tilde{\xi}^{+}=L_{v_1}\tilde{\xi}+\Delta_{q,v_1} ξ ~ + = L v 1 ξ ~ + Δ q , v 1 and τ + = v 2 \tau^{+}=v_2 τ + = v 2 , and V V V satisfies
V ( g ) = e − μ v 2 / N 0 ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) . V(g)=e^{-\mu v_2/N_0}\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right)^{\mathsf{T}}P_{v_1}\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right). V ( g ) = e − μ v 2 / N 0 ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) .
Using the tower property, we get
E [ V ( g ) ∣ x ] = E v 1 [ E v 2 ∣ v 1 [ e − μ v 2 / N 0 ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) ] ] = E v 1 [ E v 2 ∣ v 1 [ e − μ v 2 / N 0 ] ⋅ ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) ] = ∑ q ′ ∈ Q i n p q ′ I ~ q ′ ( μ ) ⋅ ( L q ′ ξ ~ + Δ q , q ′ ) T P q ′ ( L q ′ ξ ~ + Δ q , q ′ ) . \begin{aligned}
\mathbb{E}[V(g)\mid x]=\mathbb{E}_{v_1}\left[\mathbb{E}_{v_2\mid v_1}\left[e^{-\mu v_2/N_0}\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right)^{\mathsf{T}}P_{v_1}\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right)\right]\right] \\
&=\mathbb{E}_{v_1}\left[\mathbb{E}_{v_2\mid v_1}\left[e^{-\mu v_2/N_0}\right]\cdot\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right)^{\mathsf{T}}P_{v_1}\left(L_{v_1}\tilde{\xi}+\Delta_{q,v_1}\right)\right] \\
&=\sum_{q'\in Q_{\mathrm{in}}}p_{q'}\widetilde{I}_{q'}(\mu)\cdot\left(L_{q'}\tilde{\xi}+\Delta_{q,q'}\right)^{\mathsf{T}}P_{q'}\left(L_{q'}\tilde{\xi}+\Delta_{q,q'}\right).
\end{aligned} E [ V ( g ) ∣ x ] = E v 1 [ E v 2 ∣ v 1 [ e − μ v 2 / N 0 ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) ] ] = E v 1 [ E v 2 ∣ v 1 [ e − μ v 2 / N 0 ] ⋅ ( L v 1 ξ ~ + Δ q , v 1 ) T P v 1 ( L v 1 ξ ~ + Δ q , v 1 ) ] = q ′ ∈ Q in ∑ p q ′ I q ′ ( μ ) ⋅ ( L q ′ ξ ~ + Δ q , q ′ ) T P q ′ ( L q ′ ξ ~ + Δ q , q ′ ) .
Expanding and applying Young’s inequality with the weight θ > 0 \theta>0 θ > 0 , we get ( L q ′ ξ ~ + Δ q , q ′ ) T P q ′ ( L q ′ ξ ~ + Δ q , q ′ ) ≤ ( 1 + θ ) ξ ~ T L q ′ T P q ′ L q ′ ξ ~ + ( 1 + 1 θ ) Δ q , q ′ T P q ′ Δ q , q ′ \left(L_{q'}\tilde{\xi}+\Delta_{q,q'}\right)^{\mathsf{T}}P_{q'}\left(L_{q'}\tilde{\xi}+\Delta_{q,q'}\right)\le(1+\theta)\tilde{\xi}^{\mathsf{T}}L_{q'}^{\mathsf{T}}P_{q'}L_{q'}\tilde{\xi}+\left(1+\frac{1}{\theta}\right)\Delta_{q,q'}^{\mathsf{T}}P_{q'}\Delta_{q,q'} ( L q ′ ξ ~ + Δ q , q ′ ) T P q ′ ( L q ′ ξ ~ + Δ q , q ′ ) ≤ ( 1 + θ ) ξ ~ T L q ′ T P q ′ L q ′ ξ ~ + ( 1 + θ 1 ) Δ q , q ′ T P q ′ Δ q , q ′ . Finally, we multiply the above inequality with p q ′ I ~ q ′ ( μ ) p_{q'}\widetilde{I}_{q'}(\mu) p q ′ I q ′ ( μ ) , sum over the modes q ′ ∈ Q i n q'\in Q_{\mathrm{in}} q ′ ∈ Q in , and invoke the second inequality in Assumption 5 on the first term to get
E [ V ( g ) ∣ x ] ≤ κ ∗ ξ ~ T P q ξ ~ + ( 1 + 1 θ ) α Γ ( μ ) . (66) \mathbb{E}[V(g)\mid x]\le\kappa^{\ast}\tilde{\xi}^{\mathsf{T}}P_q\tilde{\xi}+\left(1+\frac{1}{\theta}\right)\alpha\Gamma(\mu). \tag*{(66)} E [ V ( g ) ∣ x ] ≤ κ ∗ ξ ~ T P q ξ ~ + ( 1 + θ 1 ) α Γ ( μ ) . (66)
Since τ = 0 \tau=0 τ = 0 at a jump, we have V ( x ) = e 0 ξ ~ T P q ξ ~ = ξ ~ T P q ξ ~ V(x)=e^0\tilde{\xi}^{\mathsf{T}}P_q\tilde{\xi}=\tilde{\xi}^{\mathsf{T}}P_q\tilde{\xi} V ( x ) = e 0 ξ ~ T P q ξ ~ = ξ ~ T P q ξ ~ . So, κ ∗ ξ ~ T P q ξ ~ = κ ∗ V ( x ) \kappa^{\ast}\tilde{\xi}^{\mathsf{T}}P_q\tilde{\xi}=\kappa^{\ast}V(x) κ ∗ ξ ~ T P q ξ ~ = κ ∗ V ( x ) , giving us the final bound
E [ V ( g ) ∣ x ] ≤ κ ∗ V ( x ) + c , ∀ x ∈ D , (67) \mathbb{E}[V(g)\mid x]\le\kappa^{\ast}V(x)+c,\ \forall x\in D, \tag*{(67)} E [ V ( g ) ∣ x ] ≤ κ ∗ V ( x ) + c , ∀ x ∈ D , (67)
where c = ( 1 + 1 θ ) α Γ ( μ ) c=\left(1+\frac{1}{\theta}\right)\alpha\Gamma(\mu) c = ( 1 + θ 1 ) α Γ ( μ ) . Next, define the truncated flow and jump sets as C ∘ : = C ∖ O ε C^{\circ}:=C\setminus O_{\varepsilon} C ∘ := C ∖ O ε , D ∘ : = D ∖ O ε D^{\circ}:=D\setminus O_{\varepsilon} D ∘ := D ∖ O ε . For x ∈ C ∘ ∪ D ∘ x\in C^{\circ}\cup D^{\circ} x ∈ C ∘ ∪ D ∘ , we have ∣ x ∣ A i n ≥ r ( α Γ ( μ ) ) + ε > r ( α Γ ( μ ) ) |x|_{A_{\mathrm{in}}}\ge r(\alpha\Gamma(\mu))+\varepsilon>r(\alpha\Gamma(\mu)) ∣ x ∣ A in ≥ r ( α Γ ( μ )) + ε > r ( α Γ ( μ )) , and therefore ( 1 − κ ∗ ) V ( x ) − c > 0 (1-\kappa^{\ast})V(x)-c>0 ( 1 − κ ∗ ) V ( x ) − c > 0 . Hence, on the truncated system, we may take ρ ( x ) = min { λ V ( x ) , [ ( 1 − κ ∗ ) V ( x ) − c ] + } > 0 \rho(x)=\min\{\lambda V(x),[(1-\kappa^{\ast})V(x)-c]_{+}\}>0 ρ ( x ) = min { λV ( x ) , [( 1 − κ ∗ ) V ( x ) − c ] + } > 0 , where [ s ] + = max { 0 , s } [s]_{+}=\max\{0,s\} [ s ] + = max { 0 , s } , to obtain the following inequalities via (48) and (50): ⟨ ∇ V ( x ) , f ⟩ ≤ − ρ ( x ) \langle\nabla V(x),f\rangle\le-\rho(x) ⟨ ∇ V ( x ) , f ⟩ ≤ − ρ ( x ) for all x ∈ C ∘ x\in C^{\circ} x ∈ C ∘ , f ∈ F ( x ) f\in F(x) f ∈ F ( x ) ; and E [ V ( g ) ∣ x ] ≤ V ( x ) − ρ ( x ) \mathbb{E}[V(g)\mid x]\le V(x)-\rho(x) E [ V ( g ) ∣ x ] ≤ V ( x ) − ρ ( x ) for all x ∈ D ∘ x\in D^{\circ} x ∈ D ∘ . To show that ρ ∈ P D ( O ε ) \rho\in PD(O_{\varepsilon}) ρ ∈ P D ( O ε ) , define the compact set R : = { x ∈ C ∪ D : ∣ x ∣ A i n ≤ r ( α Γ ( μ ) ) } R:=\{x\in C\cup D:|x|_{A_{\mathrm{in}}}\le r(\alpha\Gamma(\mu))\} R := { x ∈ C ∪ D : ∣ x ∣ A in ≤ r ( α Γ ( μ ))} and note that ( R + B ) ∩ ( C ∪ D ) ⊂ O ε (R+\mathbb{B})\cap(C\cup D)\subset O_{\varepsilon} ( R + B ) ∩ ( C ∪ D ) ⊂ O ε . Now, we only need to show that ρ ( x ) > 0 \rho(x)>0 ρ ( x ) > 0 for all x ∈ ( C ∪ D ) ∖ R x\in(C\cup D)\setminus R x ∈ ( C ∪ D ) ∖ R . Hence, ∣ x ∣ A i n > r ( α Γ ( μ ) ) |x|_{A_{\mathrm{in}}}>r(\alpha\Gamma(\mu)) ∣ x ∣ A in > r ( α Γ ( μ )) . To that end, choose any x ∈ ( C ∪ D ) ∖ R x\in(C\cup D)\setminus R x ∈ ( C ∪ D ) ∖ R and consider the following bounds: V ( x ) ≥ e − μ p ∣ x ∣ A i n 2 > e − μ p r ( α Γ ( μ ) ) 2 = c 1 − κ ∗ > 0 V(x)\ge e^{-\mu p|x|_{A_{\mathrm{in}}}^{2}}>e^{-\mu p r(\alpha\Gamma(\mu))^{2}}=\frac{c}{1-\kappa^{\ast}}>0 V ( x ) ≥ e − μ p ∣ x ∣ A in 2 > e − μ p r ( α Γ ( μ ) ) 2 = 1 − κ ∗ c > 0 , using r ( α Γ ( μ ) ) 2 = c / ( e − μ p ( 1 − κ ∗ ) ) r(\alpha\Gamma(\mu))^{2}=c/(e^{-\mu p}(1-\kappa^{\ast})) r ( α Γ ( μ ) ) 2 = c / ( e − μ p ( 1 − κ ∗ )) . Hence, ρ ( x ) > 0 \rho(x)>0 ρ ( x ) > 0 for all x ∈ ( C ∪ D ) ∖ R x\in(C\cup D)\setminus R x ∈ ( C ∪ D ) ∖ R , implying that ρ ∈ P D ( O ε ) \rho\in PD(O_{\varepsilon}) ρ ∈ P D ( O ε ) .
Therefore, V V V is a Lagrange-Foster function and by Theorem [18 4.4] the set O ε O_{\varepsilon} O ε is uniformly globally recurrent for the SHDS (23). ■
Explicit Computation of q ′ ( ) q'() q ′ ( )
In this appendix, we provide explicit expressions for the mode-dependent normalized timer-reset integral I ~ q ′ ( μ ) \widetilde{I}_{q'}(\mu) I q ′ ( μ ) for the Idle and Prefill modes, together with a general expression for the Decode mode.
Idle: Truncated Exponential
The normalized Idle timer-reset variable follows an Exp ( λ ˉ r ) \operatorname{Exp}(\bar{\lambda}_r) Exp ( λ ˉ r ) distribution truncated to [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] , with density
f i d ( v ) = λ ˉ r e − λ ˉ r v 1 − e − λ ˉ r N 0 , v ∈ [ 0 , N 0 ] . f_{\mathrm{id}}(v)=\frac{\bar{\lambda}_r e^{-\bar{\lambda}_r v}}{1-e^{-\bar{\lambda}_rN_0}},\qquad v\in[0,N_0]. f id ( v ) = 1 − e − λ ˉ r N 0 λ ˉ r e − λ ˉ r v , v ∈ [ 0 , N 0 ] .
Using the definition of the timer-reset integral and combining the exponentials gives
I ~ i d ( μ ) = λ ˉ r N 0 μ + λ ˉ r N 0 1 − e − ( μ / N 0 + λ ˉ r ) N 0 1 − e − λ ˉ r N 0 . (68) \widetilde{I}_{\mathrm{id}}(\mu)=\frac{\bar{\lambda}_rN_0}{\mu+\bar{\lambda}_rN_0}\frac{1-e^{-(\mu/N_0+\bar{\lambda}_r)N_0}}{1-e^{-\bar{\lambda}_rN_0}}. \tag*{(68)} I id ( μ ) = μ + λ ˉ r N 0 λ ˉ r N 0 1 − e − λ ˉ r N 0 1 − e − ( μ / N 0 + λ ˉ r ) N 0 . (68)
The expression is finite for every μ > 0 \mu>0 μ > 0 and satisfies I ~ i d ( 0 ) = 1 \widetilde{I}_{\mathrm{id}}(0)=1 I id ( 0 ) = 1 . Moreover,
I ~ i d ( μ ) ∼ λ ˉ r N 0 1 − e − λ ˉ r N 0 1 μ = O ( μ − 1 ) , μ → ∞ . \widetilde{I}_{\mathrm{id}}(\mu)\sim\frac{\bar{\lambda}_rN_0}{1-e^{-\bar{\lambda}_rN_0}}\frac{1}{\mu}=O(\mu^{-1}),\qquad\mu\to\infty. I id ( μ ) ∼ 1 − e − λ ˉ r N 0 λ ˉ r N 0 μ 1 = O ( μ − 1 ) , μ → ∞.
Prefill: Truncated Gamma
The normalized Prefill timer-reset variable follows Gamma( α p r e , β ˉ p r e ) (\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}) ( α pre , β ˉ pre ) , truncated to [ 0 , N 0 ] [0,N_0] [ 0 , N 0 ] , with density
f p r e ( v ) = β ˉ p r e α p r e v α p r e − 1 e − β ˉ p r e v γ ( α p r e , β ˉ p r e N 0 ) , v ∈ [ 0 , N 0 ] . f_{\mathrm{pre}}(v)=\frac{\bar{\beta}_{\mathrm{pre}}^{\alpha_{\mathrm{pre}}}v^{\alpha_{\mathrm{pre}}-1}e^{-\bar{\beta}_{\mathrm{pre}}v}}{\gamma(\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}N_0)},\qquad v\in[0,N_0]. f pre ( v ) = γ ( α pre , β ˉ pre N 0 ) β ˉ pre α pre v α pre − 1 e − β ˉ pre v , v ∈ [ 0 , N 0 ] .
where γ ( α , x ) \gamma(\alpha,x) γ ( α , x ) denotes the lower incomplete Gamma function [40 Eq. 6.5.2] . Substituting into (45) and combining the exponentials e − β ˉ p r e v e^{-\bar{\beta}_{\mathrm{pre}}v} e − β ˉ pre v and e − μ v / N 0 e^{-\mu v/N_0} e − μv / N 0 into a single term e − s v e^{-sv} e − s v with s : = β ˉ p r e + μ / N 0 s:=\bar{\beta}_{\mathrm{pre}}+\mu/N_0 s := β ˉ pre + μ / N 0 ,
I ~ p r e ( μ ) = β ˉ p r e α p r e γ ( α p r e , β ˉ p r e N 0 ) ∫ 0 N 0 v α p r e − 1 e − s v d v . (69) \widetilde{I}_{\mathrm{pre}}(\mu)=\frac{\bar{\beta}_{\mathrm{pre}}^{\alpha_{\mathrm{pre}}}}{\gamma(\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}N_0)}\int_{0}^{N_0}v^{\alpha_{\mathrm{pre}}-1}e^{-sv}\,dv. \tag*{(69)} I pre ( μ ) = γ ( α pre , β ˉ pre N 0 ) β ˉ pre α pre ∫ 0 N 0 v α pre − 1 e − s v d v . (69)
Substituting u = s v u=sv u = s v in the remaining integral gives the exact identity
∫ 0 N 0 v α p r e − 1 e − s v d v = s − α p r e γ ( α p r e , s N 0 ) , \int_{0}^{N_0}v^{\alpha_{\mathrm{pre}}-1}e^{-sv}\,dv=s^{-\alpha_{\mathrm{pre}}}\gamma(\alpha_{\mathrm{pre}},sN_0), ∫ 0 N 0 v α pre − 1 e − s v d v = s − α pre γ ( α pre , s N 0 ) ,
so that
I ~ p r e ( μ ) = β ˉ p r e α p r e γ ( α p r e , β ˉ p r e N 0 ) s − α p r e γ ( α p r e , s N 0 ) . \widetilde{I}_{\mathrm{pre}}(\mu)=\frac{\bar{\beta}_{\mathrm{pre}}^{\alpha_{\mathrm{pre}}}}{\gamma(\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}N_0)}s^{-\alpha_{\mathrm{pre}}}\gamma(\alpha_{\mathrm{pre}},sN_0). I pre ( μ ) = γ ( α pre , β ˉ pre N 0 ) β ˉ pre α pre s − α pre γ ( α pre , s N 0 ) .
As μ → ∞ \mu\to\infty μ → ∞ , s → ∞ s\to\infty s → ∞ and hence s N 0 → ∞ sN_0\to\infty s N 0 → ∞ . Since γ ( α , x ) → Γ ( α ) \gamma(\alpha,x)\to\Gamma(\alpha) γ ( α , x ) → Γ ( α ) as x → ∞ x\to\infty x → ∞ , the incomplete Gamma factor γ ( α p r e , s N 0 ) → Γ ( α p r e ) \gamma(\alpha_{\mathrm{pre}},sN_0)\to\Gamma(\alpha_{\mathrm{pre}}) γ ( α pre , s N 0 ) → Γ ( α pre ) , a fixed constant. The remaining μ \mu μ -dependence is entirely in s − α p r e s^{-\alpha_{\mathrm{pre}}} s − α pre , and s ∼ μ / N 0 s\sim\mu/N_0 s ∼ μ / N 0 for large μ \mu μ , giving
I ~ p r e ( μ ) ∼ β ˉ p r e α p r e Γ ( α p r e ) γ ( α p r e , β ˉ p r e N 0 ) ( N 0 μ ) α p r e = O ( μ − α p r e ) \widetilde{I}_{\mathrm{pre}}(\mu)\sim\frac{\bar{\beta}_{\mathrm{pre}}^{\alpha_{\mathrm{pre}}}\Gamma(\alpha_{\mathrm{pre}})}{\gamma(\alpha_{\mathrm{pre}},\bar{\beta}_{\mathrm{pre}}N_0)}\left(\frac{N_0}{\mu}\right)^{\alpha_{\mathrm{pre}}}=O(\mu^{-\alpha_{\mathrm{pre}}}) I pre ( μ ) ∼ γ ( α pre , β ˉ pre N 0 ) β ˉ pre α pre Γ ( α pre ) ( μ N 0 ) α pre = O ( μ − α pre )
As μ → ∞ \mu\to\infty μ → ∞ . For α p r e > 1 \alpha_{\mathrm{pre}}>1 α pre > 1 , the Prefill timer-reset integral decays faster with respect to μ \mu μ than the corresponding Idle integral, provided the latter has a decay rate of Θ ( μ − 1 ) \Theta(\mu^{-1}) Θ ( μ − 1 )
Decode: General Normalized Distribution on [ 0 , N 0 ] [0, N_0] [ 0 , N 0 ]
The normalized Decode timer-reset variable has a general density f d e c f_{\mathrm{dec}} f dec on [ 0 , N 0 ] [0, N_0] [ 0 , N 0 ] , obtained by scaling the corresponding physical-time Decode distribution by 1 / τ d 1/\tau_d 1/ τ d . Possible models include a truncated Pareto or log-t t t distribution. We assume that there exist constants C , δ > 0 C, \delta> 0 C , δ > 0 and ϵ ≥ 0 \epsilon\ge0 ϵ ≥ 0 such that
f d e c ( v ) ≤ C v ϵ , v ∈ [ 0 , δ ] , f_{\mathrm{dec}}(v) \le C v^{\epsilon}, \qquad v \in[0, \delta], f dec ( v ) ≤ C v ϵ , v ∈ [ 0 , δ ] ,
and that f d e c f_{\mathrm{dec}} f dec is bounded by some M < ∞ M < \infty M < ∞ on [ δ , N 0 ] [\delta, N_0] [ δ , N 0 ] . No specific parametric family is otherwise assumed. The corresponding normalized timer-reset integral is
I ~ d e c ( μ ) = ∫ 0 N 0 f d e c ( v ) e − μ v / N 0 d v . (70) \widetilde{I}_{\mathrm{dec}}(\mu) = \int_0^{N_0} f_{\mathrm{dec}}(v)e^{-\mu v/N_0}\,dv. \tag*{(70)} I dec ( μ ) = ∫ 0 N 0 f dec ( v ) e − μv / N 0 d v . (70)
Splitting the integral at δ \delta δ we obtain:
I ~ d e c ( μ ) = ∫ 0 δ f d e c ( v ) e − μ v / N 0 d v ⏟ = : J 1 ( μ ) + ∫ δ N 0 f d e c ( v ) e − μ v / N 0 d v ⏟ = : J 2 ( μ ) . \widetilde{I}_{\mathrm{dec}}(\mu) =
\underbrace{\int_0^\delta f_{\mathrm{dec}}(v)e^{-\mu v/N_0}\,dv}_{=:J_1(\mu)}
+
\underbrace{\int_\delta^{N_0} f_{\mathrm{dec}}(v)e^{-\mu v/N_0}\,dv}_{=:J_2(\mu)}. I dec ( μ ) = =: J 1 ( μ ) ∫ 0 δ f dec ( v ) e − μv / N 0 d v + =: J 2 ( μ ) ∫ δ N 0 f dec ( v ) e − μv / N 0 d v .
For the second term, since v ≥ δ v \ge\delta v ≥ δ on [ δ , N 0 ] [\delta, N_0] [ δ , N 0 ] , we have e − μ v / N 0 ≤ e − μ δ / N 0 e^{-\mu v/N_0} \le e^{-\mu\delta/N_0} e − μv / N 0 ≤ e − μ δ / N 0 . Consequently, J 2 ( μ ) ≤ M ( N 0 − δ ) e − μ δ / N 0 J_2(\mu) \le M(N_0-\delta)e^{-\mu\delta/N_0} J 2 ( μ ) ≤ M ( N 0 − δ ) e − μ δ / N 0 . For the first term, using f d e c ( v ) ≤ C v ϵ f_{\mathrm{dec}}(v) \le Cv^\epsilon f dec ( v ) ≤ C v ϵ on [ 0 , δ ] [0,\delta] [ 0 , δ ] and extending the domain of integration to [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) (which only increases the bound, since the integrand is nonnegative),
J 1 ( μ ) ≤ C ∫ 0 δ v ϵ e − μ v / N 0 d v ≤ C ∫ 0 ∞ v ϵ e − μ v / N 0 d v . J_1(\mu) \le C\int_0^\delta v^\epsilon e^{-\mu v/N_0}\,dv \le C\int_0^\infty v^\epsilon e^{-\mu v/N_0}\,dv. J 1 ( μ ) ≤ C ∫ 0 δ v ϵ e − μv / N 0 d v ≤ C ∫ 0 ∞ v ϵ e − μv / N 0 d v .
Substituting u = μ v / N 0 u=\mu v/N_0 u = μv / N 0 (so v = N 0 u / μ v=N_0u/\mu v = N 0 u / μ , d v = N 0 d u / μ dv=N_0\,du/\mu d v = N 0 d u / μ ) turns the right-hand integral into a standard Gamma-function integral:
C ∫ 0 ∞ ( N 0 u μ ) ϵ e − u N 0 μ d u = C ( N 0 μ ) ϵ + 1 ∫ 0 ∞ u ϵ e − u d u = C Γ ( ϵ + 1 ) ( N 0 μ ) ϵ + 1 . \begin{aligned}
C\int_0^\infty\left(\frac{N_0u}{\mu}\right)^\epsilon e^{-u}\frac{N_0}{\mu}\,du
=
C\left(\frac{N_0}{\mu}\right)^{\epsilon+1}\int_0^\infty u^\epsilon e^{-u}\,du \\
&= C\Gamma(\epsilon+1)\left(\frac{N_0}{\mu}\right)^{\epsilon+1}.
\end{aligned} C ∫ 0 ∞ ( μ N 0 u ) ϵ e − u μ N 0 d u = C ( μ N 0 ) ϵ + 1 ∫ 0 ∞ u ϵ e − u d u = C Γ ( ϵ + 1 ) ( μ N 0 ) ϵ + 1 .
Combining the two pieces,
I ~ d e c ( μ ) ≤ C Γ ( ϵ + 1 ) N 0 ϵ + 1 μ − ( ϵ + 1 ) + M ( N 0 − δ ) e − μ δ / N 0 , \widetilde{I}_{\mathrm{dec}}(\mu) \le C\Gamma(\epsilon+1)N_0^{\epsilon+1}\mu^{-(\epsilon+1)}
+M(N_0-\delta)e^{-\mu\delta/N_0}, I dec ( μ ) ≤ C Γ ( ϵ + 1 ) N 0 ϵ + 1 μ − ( ϵ + 1 ) + M ( N 0 − δ ) e − μ δ / N 0 ,
and since the second term is exponentially smaller than the first as μ → ∞ \mu\to\infty μ → ∞ , we obtain:
I ~ d e c ( μ ) = O ( μ − ( ϵ + 1 ) ) , μ → ∞ . \widetilde{I}_{\mathrm{dec}}(\mu)=O\left(\mu^{-(\epsilon+1)}\right), \qquad\mu\to\infty. I dec ( μ ) = O ( μ − ( ϵ + 1 ) ) , μ → ∞.
As with idle and prefill, the decay is polynomial.
Acknowledgments
This work was authored by NLR, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding provided by DOE Office of Electricity, Advanced Grid Modeling Program. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes
REFERENCES