104
IMPRS ProEng s d Magdeburg International Max Planck Research School for Advanced Methods in Process and Systems Engineering

Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction forNetworked Control Systems

Peter Benner, Sara Grundel, Petar Mlinari¢

Collective dynamics, control, and imagingETH-ZürichInstitute for Theoretical Studies (ITS)15 June 2017

Partners:

IMPRS ProEngs dMagdeburg

International Max Planck Research School forAdvanced Methods in Process and Systems Engineering

Page 2: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Outline

1. Model Order ReductionModel Order Reduction ProblemH2-Optimal Model Order Reduction

2. Multi-Agent SystemsConsensus and SynchronizationExamples

3. Model Order Reduction by ClusteringH2-Optimal Clustering ProblemNumerical ExamplesPossible ExtensionsA Priori Error Bounds

4. Agent Reduction

5. Conclusion

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 2/50

Page 3: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Full Order Model

Ex(t) = Ax(t) + Bu(t),

y(t) = Cx(t),

with:

states x(t) ∈ Rn,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Reduced Order Model

E ˙x(t) = Ax(t) + Bu(t),

y(t) = C x(t),

with:

states x(t) ∈ Rr , r � n,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Model Order Reduction Problem

Find matrices E , A, B, and C such that y ≈ y for all u. More precisely, wewant an error bound of the form ‖y − y‖ ≤ tol · ‖u‖.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 3/50

Page 4: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Full Order Model

Ex(t) = Ax(t) + Bu(t),

y(t) = Cx(t),

with:

states x(t) ∈ Rn,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Reduced Order Model

E ˙x(t) = Ax(t) + Bu(t),

y(t) = C x(t),

with:

states x(t) ∈ Rr , r � n,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Model Order Reduction Problem

Find matrices E , A, B, and C such that y ≈ y for all u. More precisely, wewant an error bound of the form ‖y − y‖ ≤ tol · ‖u‖.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 3/50

Page 5: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Full Order Model

Ex(t) = Ax(t) + Bu(t),

y(t) = Cx(t),

with:

states x(t) ∈ Rn,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Reduced Order Model

E ˙x(t) = Ax(t) + Bu(t),

y(t) = C x(t),

with:

states x(t) ∈ Rr , r � n,

inputs u(t) ∈ Rm,

outputs y(t) ∈ Rp.

Model Order Reduction Problem

Find matrices E , A, B, and C such that y ≈ y for all u. More precisely, wewant an error bound of the form ‖y − y‖ ≤ tol · ‖u‖.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 3/50

Page 6: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

H2-Optimal MOR

Denoting S(s) = C (sE − A)−1B, S(s) = C (sE − A)−1B, solve

minimizeA,B,C

‖S − S‖H2.

H2-norm

‖S‖H2=

√1

∫ ∞−∞‖S(iω)‖2F dω

Output Error Bound

‖y − y‖L∞ ≤ ‖S − S‖H2‖u‖L2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 4/50

Page 7: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

H2-Optimal MOR

Denoting S(s) = C (sE − A)−1B, S(s) = C (sE − A)−1B, solve

minimizeA,B,C

‖S − S‖H2.

H2-norm

‖S‖H2=

√1

∫ ∞−∞‖S(iω)‖2F dω

Output Error Bound

‖y − y‖L∞ ≤ ‖S − S‖H2‖u‖L2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 4/50

Page 8: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

H2-Optimal MOR

Denoting S(s) = C (sE − A)−1B, S(s) = C (sE − A)−1B, solve

minimizeA,B,C

‖S − S‖H2.

H2-norm

‖S‖H2=

√1

∫ ∞−∞‖S(iω)‖2F dω

Output Error Bound

‖y − y‖L∞ ≤ ‖S − S‖H2‖u‖L2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 4/50

Page 9: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order ReductionTheorem (H2 Necessary Optimality Conditions [Gugercin et al. '08])

Let S(s) =∑r

i=1

cibTi

s−λi be the H2-optimal reduced model for S . Then

S(−λi )bi = S(−λi )bi ,

cTi S(−λi ) = cTi S(−λi ),

cTi S ′(−λi )bi = cTi S ′(−λi )bi ,

(1)

for i = 1, 2, . . . , r .

Tangential Hermite Interpolation

If E = W TEV , A = W TAV , B = W TB, C = CV where

(−λiE − A)−1Bbi ∈ range(V ) , (−λiE − A)−TCT ci ∈ range(W ) ,

for i = 1, 2, . . . , r , then S(s) = C (sE − A)−1B satis�es (1).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 5/50

Page 10: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order ReductionTheorem (H2 Necessary Optimality Conditions [Gugercin et al. '08])

Let S(s) =∑r

i=1

cibTi

s−λi be the H2-optimal reduced model for S . Then

S(−λi )bi = S(−λi )bi ,

cTi S(−λi ) = cTi S(−λi ),

cTi S ′(−λi )bi = cTi S ′(−λi )bi ,

(1)

for i = 1, 2, . . . , r .

Tangential Hermite Interpolation

If E = W TEV , A = W TAV , B = W TB, C = CV where

(−λiE − A)−1Bbi ∈ range(V ) , (−λiE − A)−TCT ci ∈ range(W ) ,

for i = 1, 2, . . . , r , then S(s) = C (sE − A)−1B satis�es (1).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 5/50

Page 11: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Iterative Rational Krylov Algorithm (IRKA) [Gugercin et al. '08]

Fixed-point iteration algorithm, based on interpolation-based H2

necessary optimality conditions.

In every iteration, 2r linear systems with sE − A as the system matrixneed to be solved.

Convergence proved for state-space symmetric systems (A = AT ,B = CT ). [Flagg/Beattie/Gugercin '12]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 6/50

Page 12: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Iterative Rational Krylov Algorithm (IRKA) [Gugercin et al. '08]

Fixed-point iteration algorithm, based on interpolation-based H2

necessary optimality conditions.

In every iteration, 2r linear systems with sE − A as the system matrixneed to be solved.

Convergence proved for state-space symmetric systems (A = AT ,B = CT ). [Flagg/Beattie/Gugercin '12]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 6/50

Page 13: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Model Order Reduction

Iterative Rational Krylov Algorithm (IRKA) [Gugercin et al. '08]

Fixed-point iteration algorithm, based on interpolation-based H2

necessary optimality conditions.

In every iteration, 2r linear systems with sE − A as the system matrixneed to be solved.

Convergence proved for state-space symmetric systems (A = AT ,B = CT ). [Flagg/Beattie/Gugercin '12]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 6/50

Page 14: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Applications

biological swarms

robot swarms

energy transportationnetworks

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 7/50

Page 15: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Applications

biological swarms

robot swarms

energy transportationnetworks

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 7/50

Page 16: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Applications

biological swarms

robot swarms

energy transportationnetworks

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 7/50

Page 17: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Applications

biological swarms

robot swarms

energy transportationnetworks

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 7/50

Page 18: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Applications

biological swarms

robot swarms

energy transportationnetworks

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 7/50

Page 19: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) = f (xi (t), zi (t), uk(i)(t))

Interconnections

zi (t) =N∑j=1

aijg(xi (t), xj(t))

Output

y(t) = h(x1(t), x2(t), . . . , xN(t))

x1 x2

x3 x4

a12

a13 a23 a24

u1

u2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 8/50

Page 20: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Consensus and Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Consensus

We say agents achieve consensus if, for any initial condition and zeroinput, the states xi (t) (or some value of interest) converge to the samevector c as t tends to in�nity, i.e.

limt→∞

F (xi (t)) = c .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 9/50

Page 21: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Consensus and Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Synchronization

We say agents achieve synchronization if, for any initial condition and zeroinput, the states xi (t) (or some value of interest) converge to the sametrajectory as t tends to in�nity, i.e.

limt→∞

[F (xi (t))− F (xj(t))] = 0.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 10/50

Page 22: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Consensus and Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2000 2005 2010 2015

0

200

400 Total number: 1888

Number

ofpap

ers

Figure: Number of papers per year (until 2016) containing �multi-agent systems�and �consensus� or �synchronization� in the title (source: Scopus).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 11/50

Page 23: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Examples (Linear Multi-Agents Systems). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) = zi (t) + uk(i)(t)

Interconnections

zi (t) =N∑j=1

aij(xj(t)− xi (t))

Applications in:

mass-damper systems

opinion dynamics

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 12/50

Page 24: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Examples (Linear Multi-Agents Systems). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) + dxi (t) + kxi (t) = zi (t) + uk(i)(t)

Interconnections

zi (t) =N∑j=1

aij(xj(t)− xi (t))

Applications in:

power systems (frequency synchronization).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 13/50

Page 25: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Examples (Attraction and Repulsion). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) = zi (t) + uk(i)(t)

Interconnections [Shu/Zheng/Shao '09]

zi (t) =N∑j=1

aij‖xj(t)− xi (t)‖ − d

‖xj(t)− xi (t)‖(xj(t)− xi (t))

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 14/50

Page 26: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Examples (Chemical Reaction Networks). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) = zi (t) + uk(i)(t)

Interconnections [Chatterjee et al. '10]

zi (t) =∑

j∈reactionsaijkj

∏k∈species

xk(t)αkj

aij ∈ {0,±1}, kj > 0, αkj ∈ {0, 1}

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 15/50

Page 27: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Multi-Agent Systems

Examples (Mobile Robot Swarms). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

xi (t) = (vi (t) + di (t)) cos θi (t)

yi (t) = (vi (t) + di (t)) sin θi (t)

θi (t) = ωi (t) + σi (t)

Interconnections [Ajorlou/Asadi/Aghdam/Blouin '15]

rix(t) =∑N

j=1 aij(xj(t)− xi (t)), riy (t) =∑N

j=1 aij(yj(t)− yi (t)),θ∗i (t) = atan2(riy (t), rix(t)),

vi (t) = vMi

ωi (t) = θ∗i (t)− κi (θi (t)− θ∗i (t))

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 16/50

Page 28: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

x1 x2

x3 x4

Galerkin projection

For �rst-order agents:

V = W = P(π) =

1 0 01 0 00 1 00 0 1

.For higher-order agents:

V = W = P(π)⊗ I .

Motivation

The approximation x(t) ≈ V x(t)means that agents in the samecluster are approximated as beingequal.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 17/50

Page 29: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

x1 x2

x3 x4

Galerkin projection

For �rst-order agents:

V = W = P(π) =

1 0 01 0 00 1 00 0 1

.For higher-order agents:

V = W = P(π)⊗ I .

Motivation

The approximation x(t) ≈ V x(t)means that agents in the samecluster are approximated as beingequal.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 17/50

Page 30: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Literature Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

[Ishizaki/Kashima/Imura '14, '15, '16]

for linear multi-agent systems, on undirected or certain directedgraphs, where the output is the complete state

the method consists of clustering rows in a low-rank factor of thecontrollability Gramian

extension to higher-order agents

[Cheng/Kawano/Scherpen '16, '17]

for linear multi-agent systems, with �rst-order of second-order agents,where the output is the complete state

the method consists of clustering rows in a low-rank factor of thecontrollability Gramian

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 18/50

Page 31: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Literature Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

[Besselink/Sandberg/Johansson '16]

for linear multi-agent systems, where agents are passive systems, andthe graph is a tree (can be directed)

limited to clustering neighboring agents

developed an a priori H∞-error boundthe method consists of �nding diagonal generalized Gramians of theedge system (solutions of linear matrix inequalities of the size of thenumber of agents minus one)

[Xue/Chakrabortty '16]

LQR controller reduction by clustering

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 19/50

Page 32: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

H2-Optimal Clustering Problem

Motivated by IRKA, we consider:

minimizeπ∈Π|π|=r

‖S − S‖H2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 33: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

H2-Optimal Clustering Problem

minimizeV ,W∈RN×r

‖S − S‖H2

subject to V = P(π)

W = P(π)

π ∈ Π, |π| = r

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 34: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

H2-Optimal Clustering Problem

minimizeV ,W∈RN×r

‖S − S‖H2

subject to range(V ) = range(P(π))

range(W ) = range(P(π))

π ∈ Π, |π| = r

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 35: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

H2-Optimal Clustering Problem

minimizeV ,W∈RN×r

‖S − S‖H2

subject to range(V ) = range(P(π))

range(W ) = range(P(π))

π ∈ Π, |π| = r

Finding π

In [Benner/Grundel/Mlinari¢ '15], we proposed using IRKA on S to�nd V and the QR decomposition-based clustering from [Zha et al.

'08] on the rows of V to �nd π.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 36: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Finding π

In [Benner/Grundel/Mlinari¢ '15], we proposed using IRKA on S to�nd V and the QR decomposition-based clustering from [Zha et al.

'08] on the rows of V to �nd π.

We observed that for a �xed r , IRKA gives a much better reducedorder model than clustering, in terms of the relative H2-error (a feworders of magnitude di�erence).

Furthermore, we observed very slow convergence of IRKA for large r(e.g. r = 100).

For these reasons, we were looking for a way to cluster the rows of Vinto more than r clusters.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 37: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Finding π

In [Benner/Grundel/Mlinari¢ '15], we proposed using IRKA on S to�nd V and the QR decomposition-based clustering from [Zha et al.

'08] on the rows of V to �nd π.

We observed that for a �xed r , IRKA gives a much better reducedorder model than clustering, in terms of the relative H2-error (a feworders of magnitude di�erence).

Furthermore, we observed very slow convergence of IRKA for large r(e.g. r = 100).

For these reasons, we were looking for a way to cluster the rows of Vinto more than r clusters.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 38: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Finding π

In [Benner/Grundel/Mlinari¢ '15], we proposed using IRKA on S to�nd V and the QR decomposition-based clustering from [Zha et al.

'08] on the rows of V to �nd π.

We observed that for a �xed r , IRKA gives a much better reducedorder model than clustering, in terms of the relative H2-error (a feworders of magnitude di�erence).

Furthermore, we observed very slow convergence of IRKA for large r(e.g. r = 100).

For these reasons, we were looking for a way to cluster the rows of Vinto more than r clusters.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 20/50

Page 39: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

K-Means. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Beattie/Gugercin/Wyatt '12])

‖H1 − H2‖H∞12

(‖H1‖H∞ + ‖H2‖H∞)≤ M max(sin Θ(V1,V2), sin Θ(W1,W2))

Motivation to Use K-Means

If V1 and V2 are orthonormal, then

sin Θ(V1,V2) =∥∥∥(I − V1V

T1

)V2

∥∥∥2≤∥∥∥(I − V1V

T1

)V2

∥∥∥F.

If also V1 = P(π)(P(π)TP(π))−12 , then∥∥∥(I − V1V

T1

)V2

∥∥∥2F

= k-means objective functional.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 21/50

Page 40: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

K-Means. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Beattie/Gugercin/Wyatt '12])

‖H1 − H2‖H∞12

(‖H1‖H∞ + ‖H2‖H∞)≤ M max(sin Θ(V1,V2), sin Θ(W1,W2))

Motivation to Use K-Means

If V1 and V2 are orthonormal, then

sin Θ(V1,V2) =∥∥∥(I − V1V

T1

)V2

∥∥∥2≤∥∥∥(I − V1V

T1

)V2

∥∥∥F.

If also V1 = P(π)(P(π)TP(π))−12 , then∥∥∥(I − V1V

T1

)V2

∥∥∥2F

= k-means objective functional.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 21/50

Page 41: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

K-Means. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Beattie/Gugercin/Wyatt '12])

‖H1 − H2‖H∞12

(‖H1‖H∞ + ‖H2‖H∞)≤ M max(sin Θ(V1,V2), sin Θ(W1,W2))

Motivation to Use K-Means

If V1 and V2 are orthonormal, then

sin Θ(V1,V2) =∥∥∥(I − V1V

T1

)V2

∥∥∥2≤∥∥∥(I − V1V

T1

)V2

∥∥∥F.

If also V1 = P(π)(P(π)TP(π))−12 , then∥∥∥(I − V1V

T1

)V2

∥∥∥2F

= k-means objective functional.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 21/50

Page 42: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Algorithm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Algorithm 1 Clustering-Based Model Order Reduction Method

Input: Full order model (A,B,C ).Output: Clustered reduced order model (A, B, C ).

1: Project the system to the stable subspace, using sparse matrices Vstab

and Wstab.2: Reduce the stable model using IRKA, where the resulting projection

matrices are VIRKA and WIRKA.3: Compute V by concatenating VstabVIRKA and the unstable subspace.4: Apply k-means to the rows (or block-rows, if agents are not of �rst-order)

of V to �nd a partition π.5: Project the original model by clustering with partition π.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 22/50

Page 43: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Numerical Examples (Linear Consensus, xi (t) ∈ R, y(t) = x(t)). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

0 100 200 300 400 500

0

0.5

1

Number of clusters

RelativeH

2-error

Figure: Relative H2-errors when clustering a linear multi-agent system evolving ona randomly generated small-world network with 500 nodes.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 23/50

Page 44: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Nonlinear Multi-Agent Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Observation

In our clustering algorithm, it is possible to replace IRKA by anyprojection-based MOR method.

In particular, this includes MOR methods for nonlinear systems, e.g.Proper Orthogonal Decomposition (POD).

For certain classes of nonlinear multi-agent systems, e.g.

xi (t) = f (xi (t)) + zi (t) + uk(i)(t),

zi (t) =N∑j=1

aijg(xi (t), xj(t)),

the reduced clustered model is obtained by projecting the adjacencymatrix A = [aij ] to a reduced adjacency matrix A = W TAV .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 24/50

Page 45: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Nonlinear Multi-Agent Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Observation

In our clustering algorithm, it is possible to replace IRKA by anyprojection-based MOR method.

In particular, this includes MOR methods for nonlinear systems, e.g.Proper Orthogonal Decomposition (POD).

For certain classes of nonlinear multi-agent systems, e.g.

xi (t) = f (xi (t)) + zi (t) + uk(i)(t),

zi (t) =N∑j=1

aijg(xi (t), xj(t)),

the reduced clustered model is obtained by projecting the adjacencymatrix A = [aij ] to a reduced adjacency matrix A = W TAV .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 24/50

Page 46: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Nonlinear Multi-Agent Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Observation

In our clustering algorithm, it is possible to replace IRKA by anyprojection-based MOR method.

In particular, this includes MOR methods for nonlinear systems, e.g.Proper Orthogonal Decomposition (POD).

For certain classes of nonlinear multi-agent systems, e.g.

xi (t) = f (xi (t)) + zi (t) + uk(i)(t),

zi (t) =N∑j=1

aijg(xi (t), xj(t)),

the reduced clustered model is obtained by projecting the adjacencymatrix A = [aij ] to a reduced adjacency matrix A = W TAV .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 24/50

Page 47: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Numerical Examples (Lorenz Systems as Agents). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Figure: Impulse response of the full order multi-agent system with 500 Lorenzsystems as agents.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 25/50

Page 48: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Numerical Examples (Lorenz Systems as Agents). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Figure: Time domain L2 errors for the impulse (u(t) = δ(t)) and rectangle(u(t) = χ[0,1](t)) response for di�erent number of clusters. In both cases, 10dominant POD modes from impulse response snapshots were taken to de�ne V .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 26/50

Page 49: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Possible Extensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Directed Graphs

Our approach is still applicable.

But, it is still an open question what are the simplest su�cientconditions for preserving consensus or synchronization.

Non-Identical Agents

If there is a small number of types of agents in the network, we caneasily modify the clustering to only allow clustering of the agents ofthe same type.

Otherwise, we could allow clustering of di�erent agents. The clusteredagent would then have an averaged dynamics of the agents in thecluster.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 27/50

Page 50: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

We focus on linear agents

xi = Axi + Bzi + Euk(i),

with xi (t) ∈ Rn (i = 1, 2, . . . ,N) and uj(t) ∈ Rµ (j = 1, 2, . . . ,m).

Interconnections

For an undirected, weighted graph G = (V, E ,A) with adjacency matrixA = [aij ] de�ne

zi =N∑j=1

aij(xj − xi ).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 28/50

Page 51: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Agents

We focus on linear agents

xi = Axi + Bzi + Euk(i),

with xi (t) ∈ Rn (i = 1, 2, . . . ,N) and uj(t) ∈ Rµ (j = 1, 2, . . . ,m).

Interconnections

For an undirected, weighted graph G = (V, E ,A) with adjacency matrixA = [aij ] de�ne

zi =N∑j=1

aij(xj − xi ).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 28/50

Page 52: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Multi-Agent System Dynamics

and Output

x = (IN ⊗ A− L⊗ B)x + (M ⊗ E )u,

y =

{(W

12RT ⊗ In

)x ,

(L⊗ In)x ,

where

L ∈ RN×N is the Laplacian matrix,

M ∈ RN×m is the input matrix,

R ∈ RN×p is the incidence matrix,

W ∈ Rp×p is the edge weights matrix.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 29/50

Page 53: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Multi-Agent System Dynamics and Output

x = (IN ⊗ A− L⊗ B)x + (M ⊗ E )u,

y =

{(W

12RT ⊗ In

)x ,

(L⊗ In)x ,

where

L ∈ RN×N is the Laplacian matrix,

M ∈ RN×m is the input matrix,

R ∈ RN×p is the incidence matrix,

W ∈ Rp×p is the edge weights matrix.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 29/50

Page 54: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Special Case: Single Integrator Agents

For A = 0, B = 1, and E = 1, agents are

xi = zi + uk(i)

with xi , zi , uj ∈ R.The multi-agent system dynamics becomes

x = −Lx + Mu.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 30/50

Page 55: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

De�nition of Almost Equitable Partitions (Graphically). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

2

3

4

5

6 7

8

9

10

5

2

2

5

7

6 1

1

1

2 133 6 7

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 31/50

Page 56: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

De�nition of Almost Equitable Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition (Almost Equitable Partition)

Partition π = {C1,C2, . . . ,Cr} of a graph G is almost equitable if

(∀ p, q ∈ {1, 2, . . . , r}, p 6= q)(∃ cpq ∈ R)(∀ i ∈ Cp)∑j∈Cq

aij = cpq.

Example (Trivial Almost Equitable Partitions)

π = {{1}, {2}, . . . , {N}},π = {{1, 2, . . . ,N}}.

Simpler, equivalent condition?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 32/50

Page 57: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

De�nition of Almost Equitable Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition (Almost Equitable Partition)

Partition π = {C1,C2, . . . ,Cr} of a graph G is almost equitable if

(∀ p, q ∈ {1, 2, . . . , r}, p 6= q)(∃ cpq ∈ R)(∀ i ∈ Cp)∑j∈Cq

aij = cpq.

Example (Trivial Almost Equitable Partitions)

π = {{1}, {2}, . . . , {N}},π = {{1, 2, . . . ,N}}.

Simpler, equivalent condition?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 32/50

Page 58: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

De�nition of Almost Equitable Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition (Almost Equitable Partition)

Partition π = {C1,C2, . . . ,Cr} of a graph G is almost equitable if

(∀ p, q ∈ {1, 2, . . . , r}, p 6= q)(∃ cpq ∈ R)(∀ i ∈ Cp)∑j∈Cq

aij = cpq.

Example (Trivial Almost Equitable Partitions)

π = {{1}, {2}, . . . , {N}},π = {{1, 2, . . . ,N}}.

Simpler, equivalent condition?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 32/50

Page 59: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

De�nition of Almost Equitable Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition (Almost Equitable Partition)

Partition π = {C1,C2, . . . ,Cr} of a graph G is almost equitable if

(∀ p, q ∈ {1, 2, . . . , r}, p 6= q)(∃ cpq ∈ R)(∀ i ∈ Cp)∑j∈Cq

aij = cpq.

Example (Trivial Almost Equitable Partitions)

π = {{1}, {2}, . . . , {N}},π = {{1, 2, . . . ,N}}.

Simpler, equivalent condition?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 32/50

Page 60: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Equivalent Condition for Almost-Equitableness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Cardoso/Delorme/Rama '07])

Partition π is almost equitable for G if and only if range(P(π)) is

L-invariant.

Example

L =

5 −5

5 −3 −26 −1 −2 −3−1 6 −5

−3 −2 −5 25 −2 −6 −7−5 −2 −3 −2 25 −6 −7

−6 −6 15 −1 −1 −1−7 −7 −1 15

−1 1−1 1

, P(π) =

1111111111

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 33/50

Page 61: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Equivalent Condition for Almost-Equitableness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Cardoso/Delorme/Rama '07])

Partition π is almost equitable for G if and only if range(P(π)) is

L-invariant.

Example

L =

5 −5

5 −3 −26 −1 −2 −3−1 6 −5

−3 −2 −5 25 −2 −6 −7−5 −2 −3 −2 25 −6 −7

−6 −6 15 −1 −1 −1−7 −7 −1 15

−1 1−1 1

, P(π) =

1111111111

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 33/50

Page 62: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Equivalent Condition for Almost-Equitableness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Cardoso/Delorme/Rama '07])

Partition π is almost equitable for G if and only if range(P(π)) is

L-invariant.

Example

LP(π) =

5 −5 0 0 05 −5 0 0 05 −5 0 0 05 −5 0 0 0−10 23 −6 −7 0−10 23 −6 −7 00 −12 15 −1 −20 −14 −1 15 00 0 −1 0 10 0 −1 0 1

= P(π)

5 −5 0 0 0−10 23 −6 −7 00 −12 15 −1 −20 −14 −1 15 00 0 −1 0 1

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 33/50

Page 63: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

AEPs and Controllability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Zhang/Cao/Çamlibel '14])

Let π be an almost equitable partition (AEP) such that

{v1}, {v2}, . . . , {vm} ∈ π.

Then

K ⊂ range(P(π)⊗ In) ,

where K is the controllable subspace of the multi-agent system.

In particular,

dimK ≤ |π| n.

{{1}, {2}, . . . , {N}} always satis�es the above assumptions. Existence of acoarser partition implies uncontrollability (good for model reduction).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 34/50

Page 64: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

AEPs and Controllability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Zhang/Cao/Çamlibel '14])

Let π be an almost equitable partition (AEP) such that

{v1}, {v2}, . . . , {vm} ∈ π.

Then

K ⊂ range(P(π)⊗ In) ,

where K is the controllable subspace of the multi-agent system.

In particular,

dimK ≤ |π| n.

{{1}, {2}, . . . , {N}} always satis�es the above assumptions. Existence of acoarser partition implies uncontrollability (good for model reduction).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 34/50

Page 65: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

AEPs and Controllability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Zhang/Cao/Çamlibel '14])

Let π be an almost equitable partition (AEP) such that

{v1}, {v2}, . . . , {vm} ∈ π.

Then

K ⊂ range(P(π)⊗ In) ,

where K is the controllable subspace of the multi-agent system.

In particular,

dimK ≤ |π| n.

{{1}, {2}, . . . , {N}} always satis�es the above assumptions. Existence of acoarser partition implies uncontrollability (good for model reduction).

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 34/50

Page 66: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Expression for the H2-Error (Single Integrator Agents and AEPs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Monshizadeh/Trentelman/Çamlibel '14])

Assume agents are single integrators and output is y = W12RT x . Let

π = {C1,C2, . . . ,Cr} be an AEP of G. Then

‖S − S‖2H2=

1

2

m∑i=1

(1− 1

|Cki |

),

‖S − S‖2H2

‖S‖2H2

=

m∑i=1

(1− 1

|Cki |

)m(1− 1

N

) ,

where ki ∈ {1, 2, . . . , r} is such that cluster Cki contains leader vi .

Generalization to arbitrary agents? Arbitrary graph partitions?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 35/50

Page 67: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Expression for the H2-Error (Single Integrator Agents and AEPs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Theorem ([Monshizadeh/Trentelman/Çamlibel '14])

Assume agents are single integrators and output is y = W12RT x . Let

π = {C1,C2, . . . ,Cr} be an AEP of G. Then

‖S − S‖2H2=

1

2

m∑i=1

(1− 1

|Cki |

),

‖S − S‖2H2

‖S‖2H2

=

m∑i=1

(1− 1

|Cki |

)m(1− 1

N

) ,

where ki ∈ {1, 2, . . . , r} is such that cluster Cki contains leader vi .

Generalization to arbitrary agents? Arbitrary graph partitions?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 35/50

Page 68: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if

xi (t)− xj(t)→ 0 as t →∞,

for all i , j ∈ V and any initial condition x(0) = x0 ∈ RNn.

Theorem ([Monshizadeh/Trentelman/Çamlibel '13])

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if and only if

A− λB is Hurwitz ,

for every positive eigenvalue λ of L.

Synchronization is preserved in the reduced multi-agent system whenclustering by an AEP or if the agents are single integrators.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 36/50

Page 69: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if

xi (t)− xj(t)→ 0 as t →∞,

for all i , j ∈ V and any initial condition x(0) = x0 ∈ RNn.

Theorem ([Monshizadeh/Trentelman/Çamlibel '13])

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if and only if

A− λB is Hurwitz ,

for every positive eigenvalue λ of L.

Synchronization is preserved in the reduced multi-agent system whenclustering by an AEP or if the agents are single integrators.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 36/50

Page 70: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

De�nition

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if

xi (t)− xj(t)→ 0 as t →∞,

for all i , j ∈ V and any initial condition x(0) = x0 ∈ RNn.

Theorem ([Monshizadeh/Trentelman/Çamlibel '13])

Multi-agent system x = (IN ⊗ A− L⊗ B)x is synchronized if and only if

A− λB is Hurwitz ,

for every positive eigenvalue λ of L.

Synchronization is preserved in the reduced multi-agent system whenclustering by an AEP or if the agents are single integrators.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 36/50

Page 71: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Auxiliary Systems

Denote by Sλ the transfer function of

ξ = (A− λB)ξ + Ed ,

z = λξ,i.e.

Sλ(s) = λ(sIn − A + λB)−1E .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 37/50

Page 72: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Theorem (H2-Error Bounds for AEPs)

Assume that the multi-agent system is synchronized and y = (L⊗ In)x .Let π be an AEP of G. Then

‖S − S‖2H2≤ S2

max,H2

m∑i=1

(1− 1

|Cki |

),

‖S − S‖2H2

‖S‖2H2

≤S2

max,H2

S2min,H2

m∑i=1

(1− 1

|Cki |

)m(1− 1

N

) ,

where

Smax,H2 := maxλ∈σ(L)\σ(L)

‖Sλ‖H2,

Smin,H2 := minλ∈σ(L)\{0}

‖Sλ‖H2.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 38/50

Page 73: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

H∞-norm

‖S‖H∞ = supω∈R‖S(iω)‖2

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 39/50

Page 74: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Theorem (H∞-Error Bounds for AEPs)

Assume that the multi-agent system is synchronized, y = (L⊗ In)x , andmatrices A and B are symmetric. Let π be an AEP of G. Then

‖S − S‖2H∞ ≤

S2

max,H∞ max1≤i≤m

(1− 1

|Cki |

)if the leaders are

in di�erent clusters,S2

max,H∞ otherwise,

‖S − S‖2H∞‖S‖2H∞

S2

max,H∞S2

min,H∞max1≤i≤m

(1− 1

|Cki |

)if the leaders are

in di�erent clusters,S2

max,H∞S2

min,H∞otherwise.

where

Smax,H∞ := maxλ∈σ(L)\σ(L)

‖Sλ‖H∞ ,

Smin,H∞ := minλ∈σ(L)\{0}

σmin (Sλ(0)) .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 40/50

Page 75: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Generalizing to Arbitrary Graph Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Idea: Change the Graph

For a given partition π of the graph G, �nd a graph GAEP such that

π is an AEP for GAEP,GAEP is �close� to G.

Then use triangle inequality to obtain a bound

‖S − S‖Hp≤ ‖S − SAEP‖Hp

+ ‖SAEP − SAEP‖Hp+ ‖SAEP − S‖Hp

.

Ideas How to Change the Graph

1. add/remove edges [Jongsma/Trentelman/Çamlibel '15]

2. modify edge weights [Jongsma/Mlinari¢/Grundel/Benner/Trentelman '16]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 41/50

Page 76: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Generalizing to Arbitrary Graph Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Idea: Change the Graph

For a given partition π of the graph G, �nd a graph GAEP such that

π is an AEP for GAEP,GAEP is �close� to G.

Then use triangle inequality to obtain a bound

‖S − S‖Hp≤ ‖S − SAEP‖Hp

+ ‖SAEP − SAEP‖Hp+ ‖SAEP − S‖Hp

.

Ideas How to Change the Graph

1. add/remove edges [Jongsma/Trentelman/Çamlibel '15]

2. modify edge weights [Jongsma/Mlinari¢/Grundel/Benner/Trentelman '16]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 41/50

Page 77: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Generalizing to Arbitrary Graph Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Idea: Change the Graph

For a given partition π of the graph G, �nd a graph GAEP such that

π is an AEP for GAEP,GAEP is �close� to G.

Then use triangle inequality to obtain a bound

‖S − S‖Hp≤ ‖S − SAEP‖Hp

+ ‖SAEP − SAEP‖Hp+ ‖SAEP − S‖Hp

.

Ideas How to Change the Graph

1. add/remove edges [Jongsma/Trentelman/Çamlibel '15]

2. modify edge weights [Jongsma/Mlinari¢/Grundel/Benner/Trentelman '16]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 41/50

Page 78: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Generalizing to Arbitrary Graph Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Idea: Change the Graph

For a given partition π of the graph G, �nd a graph GAEP such that

π is an AEP for GAEP,GAEP is �close� to G.

Then use triangle inequality to obtain a bound

‖S − S‖Hp≤ ‖S − SAEP‖Hp

+ ‖SAEP − SAEP‖Hp+ ‖SAEP − S‖Hp

.

Ideas How to Change the Graph

1. add/remove edges [Jongsma/Trentelman/Çamlibel '15]

2. modify edge weights [Jongsma/Mlinari¢/Grundel/Benner/Trentelman '16]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 41/50

Page 79: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Generalizing to Arbitrary Graph Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Idea: Change the Graph

For a given partition π of the graph G, �nd a graph GAEP such that

π is an AEP for GAEP,GAEP is �close� to G.

Then use triangle inequality to obtain a bound

‖S − S‖Hp≤ ‖S − SAEP‖Hp

+ ‖SAEP − SAEP‖Hp+ ‖SAEP − S‖Hp

.

Ideas How to Change the Graph

1. add/remove edges [Jongsma/Trentelman/Çamlibel '15]

2. modify edge weights [Jongsma/Mlinari¢/Grundel/Benner/Trentelman '16]

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 41/50

Page 80: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

We restrict to multi-agent systems with single-integrator agents

x = −Lx + Mu,

y = Lx .

In this case, synchronization preservation is guaranteed for every partition.We have the following transfer functions:

S(s) = L(sI + L)−1M, S(s) = LP(π)(sI + L)−1M,

SAEP(s) = LAEP(sI + LAEP)−1M, SAEP(s) = LAEPP(π)(sI + LAEP)−1M.

Idea

Find LAEP close to L.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 42/50

Page 81: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

We restrict to multi-agent systems with single-integrator agents

x = −Lx + Mu,

y = Lx .

In this case, synchronization preservation is guaranteed for every partition.

We have the following transfer functions:

S(s) = L(sI + L)−1M, S(s) = LP(π)(sI + L)−1M,

SAEP(s) = LAEP(sI + LAEP)−1M, SAEP(s) = LAEPP(π)(sI + LAEP)−1M.

Idea

Find LAEP close to L.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 42/50

Page 82: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

We restrict to multi-agent systems with single-integrator agents

x = −Lx + Mu,

y = Lx .

In this case, synchronization preservation is guaranteed for every partition.We have the following transfer functions:

S(s) = L(sI + L)−1M, S(s) = LP(π)(sI + L)−1M,

SAEP(s) = LAEP(sI + LAEP)−1M, SAEP(s) = LAEPP(π)(sI + LAEP)−1M.

Idea

Find LAEP close to L.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 42/50

Page 83: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

A Priori Error Bounds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

We restrict to multi-agent systems with single-integrator agents

x = −Lx + Mu,

y = Lx .

In this case, synchronization preservation is guaranteed for every partition.We have the following transfer functions:

S(s) = L(sI + L)−1M, S(s) = LP(π)(sI + L)−1M,

SAEP(s) = LAEP(sI + LAEP)−1M, SAEP(s) = LAEPP(π)(sI + LAEP)−1M.

Idea

Find LAEP close to L.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 42/50

Page 84: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Optimization Problem

Denote P := P(π)(P(π)TP(π)

)−1P(π)T , the orthogonal projector onto

range(P(π)).

Consider the optimization problem

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,

(LAEP)ij ≤ 0, for i 6= j .

This is a quadratic programming problem, which can be solved e�ciently.Can this problem be solved analytically?What if we ignore the inequality constraints?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 43/50

Page 85: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Optimization Problem

Denote P := P(π)(P(π)TP(π)

)−1P(π)T , the orthogonal projector onto

range(P(π)).Consider the optimization problem

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,

(LAEP)ij ≤ 0, for i 6= j .

This is a quadratic programming problem, which can be solved e�ciently.Can this problem be solved analytically?What if we ignore the inequality constraints?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 43/50

Page 86: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Optimization Problem

Denote P := P(π)(P(π)TP(π)

)−1P(π)T , the orthogonal projector onto

range(P(π)).Consider the optimization problem

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,

(LAEP)ij ≤ 0, for i 6= j .

This is a quadratic programming problem, which can be solved e�ciently.

Can this problem be solved analytically?What if we ignore the inequality constraints?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 43/50

Page 87: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Optimization Problem

Denote P := P(π)(P(π)TP(π)

)−1P(π)T , the orthogonal projector onto

range(P(π)).Consider the optimization problem

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,

(LAEP)ij ≤ 0, for i 6= j .

This is a quadratic programming problem, which can be solved e�ciently.Can this problem be solved analytically?

What if we ignore the inequality constraints?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 43/50

Page 88: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Optimization Problem

Denote P := P(π)(P(π)TP(π)

)−1P(π)T , the orthogonal projector onto

range(P(π)).Consider the optimization problem

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,

(LAEP)ij ≤ 0, for i 6= j .

This is a quadratic programming problem, which can be solved e�ciently.Can this problem be solved analytically?What if we ignore the inequality constraints?

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 43/50

Page 89: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Solving the (Relaxed) Optimization Problem

The unique solution to

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,is

LAEP = PLP + (IN − P)L(IN − P).

LAEP can have positive o�-diagonal elements, i.e. GAEP can have negativeweights.But, LAEP is symmetric positive semi-de�nite and ker LAEP = span{1N}.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 44/50

Page 90: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Solving the (Relaxed) Optimization Problem

The unique solution to

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,is

LAEP = PLP + (IN − P)L(IN − P).

LAEP can have positive o�-diagonal elements, i.e. GAEP can have negativeweights.But, LAEP is symmetric positive semi-de�nite and ker LAEP = span{1N}.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 44/50

Page 91: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Solving the (Relaxed) Optimization Problem

The unique solution to

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,is

LAEP = PLP + (IN − P)L(IN − P).

LAEP can have positive o�-diagonal elements, i.e. GAEP can have negativeweights.

But, LAEP is symmetric positive semi-de�nite and ker LAEP = span{1N}.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 44/50

Page 92: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Solving the (Relaxed) Optimization Problem

The unique solution to

minimizeLAEP

‖L− LAEP‖2F ,

subject to (IN − P)LAEPP(π) = 0,

LAEP = LTAEP,

LAEP1N = 0,is

LAEP = PLP + (IN − P)L(IN − P).

LAEP can have positive o�-diagonal elements, i.e. GAEP can have negativeweights.But, LAEP is symmetric positive semi-de�nite and ker LAEP = span{1N}.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 44/50

Page 93: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

G: 1 2 3 4 51 1 1 1

GAEP: 1 2 3 4 579

109

12 1

19

− 16

13

13

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 45/50

Page 94: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

G: 1 2 3 4 51 1 1 1

GAEP: 1 2 3 4 579

109

12 1

19

− 16

13

13

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 45/50

Page 95: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

G: 1 2 3 4 51 1 1 1

GAEP: 1 2 3 4 579

109

12 1

19

− 16

13

13

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 45/50

Page 96: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Error Bounds (Single Integrator Agents and Arbitrary Partition)

‖S − SAEP‖Hp≤ 2

∥∥(L− LAEP)(sI + L)−1M∥∥Hp

‖SAEP − S‖Hp≤∥∥∥(L− LAEP)P(π)(sI + L)−1M

∥∥∥Hp

�Almost Almost Equitable Partitions�

If π is such that LAEP ≈ L, then ‖S − S‖Hpis `small'.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 46/50

Page 97: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

MOR by Clustering

Error Bounds (Single Integrator Agents and Arbitrary Partition)

‖S − SAEP‖Hp≤ 2

∥∥(L− LAEP)(sI + L)−1M∥∥Hp

‖SAEP − S‖Hp≤∥∥∥(L− LAEP)P(π)(sI + L)−1M

∥∥∥Hp

�Almost Almost Equitable Partitions�

If π is such that LAEP ≈ L, then ‖S − S‖Hpis `small'.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 46/50

Page 98: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Agent Reduction

Linear Multi-Agent System

x(t) = (I ⊗ A− L⊗ BC )x(t) + (G ⊗ B)u(t)

y(t) = (H ⊗ C )x(t)

Reduced System

˙x(t) = (I ⊗ A− L⊗ BC ) x(t) + (G ⊗ B) u(t)

y(t) = (H ⊗ C ) x(t)

H2-Optimality Conditions

Di�erentiate‖S − S‖2H2

with respect to A, B, and C .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 47/50

Page 99: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Agent Reduction

Linear Multi-Agent System

x(t) = (I ⊗ A− L⊗ BC )x(t) + (G ⊗ B)u(t)

y(t) = (H ⊗ C )x(t)

Reduced System

˙x(t) = (I ⊗ A− L⊗ BC ) x(t) + (G ⊗ B) u(t)

y(t) = (H ⊗ C ) x(t)

H2-Optimality Conditions

Di�erentiate‖S − S‖2H2

with respect to A, B, and C .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 47/50

Page 100: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Agent Reduction

Linear Multi-Agent System

x(t) = (I ⊗ A− L⊗ BC )x(t) + (G ⊗ B)u(t)

y(t) = (H ⊗ C )x(t)

Reduced System

˙x(t) = (I ⊗ A− L⊗ BC ) x(t) + (G ⊗ B) u(t)

y(t) = (H ⊗ C ) x(t)

H2-Optimality Conditions

Di�erentiate‖S − S‖2H2

with respect to A, B, and C .

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 47/50

Page 101: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Agent Reduction

Necessary Optimality Conditions for H2-Optimal Agent Reduction

The necessary optimality conditions are

N∑i=1

N∑j=1

QTji APji −

N∑i=1

N∑j=1

N∑k=1

`jk QTji BCPki +

N∑i=1

N∑j=1

Qij APji −N∑i=1

N∑j=1

N∑k=1

`jk Qij BC Pki = 0,

−N∑i=1

N∑j=1

N∑k=1

`ik QTji Pjk C

T −N∑i=1

N∑j=1

N∑k=1

`ik QTji Pjk C

T +N∑i=1

N∑j=1

[GGT ]ji QTji B +

N∑i=1

N∑j=1

[GGT ]ji QTji B = 0,

−BTN∑i=1

N∑j=1

N∑k=1

`ik QTji Pjk − BT

N∑i=1

N∑j=1

N∑k=1

`ik QTji Pjk − C

N∑j=1

N∑k=1

[HTH]jk Pjk + CN∑j=1

N∑k=1

[HTH]jk Pjk = 0,

where P = [Pij ] and P = [Pij ] are the upper-right and lower-right block in

the controllability Gramian of the error system, and similarly Q = [Qij ] and

Q = [Qij ] are blocks in the observability Gramian.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 48/50

Page 102: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Conclusion

Summary

H2-quasi-optimal clustering-based MOR method combining IRKA andk-means.

Extension to nonlinear network systems, using a nonlinear MORmethod and k-means.

H2-optimality conditions for agent reduction.

Outlook

Error bounds for the clustering method.

E�cient implementation of H2-optimal agent reduction MOR method.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 49/50

Page 103: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

Conclusion

Summary

H2-quasi-optimal clustering-based MOR method combining IRKA andk-means.

Extension to nonlinear network systems, using a nonlinear MORmethod and k-means.

H2-optimality conditions for agent reduction.

Outlook

Error bounds for the clustering method.

E�cient implementation of H2-optimal agent reduction MOR method.

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 49/50

Page 104: Model Order Reduction for Networked Control Systems...Model Order Reduction Iterative Rational Krylov Algorithm (IRKA) [ Gugercin et al. '08 ] Fixed-point iteration algorithm, based

References

P. Benner, S. Grundel, and P. Mlinari¢, E�cient Model Order Reduction for Multi-Agent Systems Using QRDecomposition-Based Clustering, Proceedings of the 54th IEEE Conference on Decision and Control (CDC), pp.4794-4799, December 2015

H.-J. Jongsma, P. Mlinari¢, S. Grundel, P. Benner, H. L. Trentelman, Model Reduction by Clustering and Associated H2-and H∞-Error Bound, arXiv preprint, October 2016

T. Ishizaki, K. Kashima, A. Girard, J.-i. Imura, L. Chen, and K. Aihara, Clustered model reduction of positive directednetworks, Automatica, vol. 59, pp. 238�247, 2015

T. Ishizaki, Risong Ku, and J.-i. Imura, Clustered model reduction of networked dissipative systems, Proceedings of theAmerican Control Conference (ACC), pp. 3662�3667, 2016

X. Cheng, Y. Kawano, and J. M. A. Scherpen, Graph structure-preserving model reduction of linear network systems,Proceedings of the European Control Conference (ECC), pp. 1970�1975, 2016

X. Cheng, Y. Kawano, and J. M. A. Scherpen, Reduction of Second-Order Network Systems with Structure Preservation,IEEE Transactions on Automatic Control, 2017

B. Besselink, H. Sandberg, and K. H. Johansson, Clustering-Based Model Reduction of Networked Passive Systems, IEEETransactions on Automatic Control, vol. 61, pp. 2958�2973, 2016

N. Xue and A. Chakrabortty, H2-clustering of closed-loop consensus networks under generalized LQR designs,Proceedings of the 55th IEEE Conference on Decision and Control (CDC), pp. 5116�5121, 2016

Peter Benner, [email protected] Model Order Reduction for Networked Control Systems 50/50