Salta al contenuto
Note per Studenti Compartmental Systems - Structure, Flows and Stability Report

Compartmental Systems - Structure, Flows and Stability

In questa pagina 4

The model

A compartmental system is a set of compartments (numbered 1,2,3,…1,2,3,\dots, drawn as circles) that exchange a conserved quantity (mass, water, ...) through flows drawn as arrows:

  • xi(t)x_i(t) is the content of compartment ii, with xi≥0x_i\ge0;
  • fij≥0f_{ij}\ge0 is the flow coefficient for the arrow from compartment ii to compartment jj; an arrow to the outside world is written with index 00 (for instance f20f_{20} leaves compartment 2);
  • ui(t)u_i(t) is an external input entering compartment ii (for instance u3u_3 entering compartment 3).

The board's example has compartments 1, 2, 3 with arrows f12f_{12} (1 to 2), f13f_{13} (1 to 3), f23f_{23} (2 to 3), the loss f20f_{20} out of compartment 2 and the input u3u_3 into compartment 3.

Dynamics

For each compartment the content changes by incoming flows minus outgoing flows: x˙i(t)=∑incoming flows to the i-th compartment−∑outgoing flows from the i-th compartment\dot x_i(t)=\sum\text{incoming flows to the }i\text{-th compartment}-\sum\text{outgoing flows from the }i\text{-th compartment} =∑j≠ifjixj(t)−∑j≠ifijxi(t)+ui(t).=\sum_{j\ne i}f_{ji}x_j(t)-\sum_{j\ne i}f_{ij}x_i(t)+u_i(t). In matrix form x˙=Fx+Gu\dot x=Fx+Gu, and FF and GG have a sign structure: [F]ii≤0,[F]ij≥0 (i≠j),[G]ij≥0.[F]_{ii}\le0,\qquad[F]_{ij}\ge0\ (i\ne j),\qquad[G]_{ij}\ge0.

Example - water tank model

Three tanks in a chain: tank 1 receives an input u1u_1 and flows into tank 3 with coefficient f13f_{13}; tank 3 flows into tank 2 with coefficient f32f_{32}; tank 2 receives a supply u2u_2 and loses water through the outflow f20f_{20} (the board annotates it: demand, leaks, ...). With the state ordered as (x1,x2,x3)(x_1,x_2,x_3): F=(−f13000−f20f32f130−f32).F=\begin{pmatrix}-f_{13}&0&0\\0&-f_{20}&f_{32}\\f_{13}&0&-f_{32}\end{pmatrix}. Each diagonal entry is minus the sum of the flows leaving that compartment; each off-diagonal entry is the coefficient of an incoming flow.

Stability

A compartmental system (a matrix FF with the sign structure above) is always at least simply stable: Re⁡(λ)≤0 for every eigenvalue,\operatorname{Re}(\lambda)\le0\ \text{for every eigenvalue,} and an eigenvalue with Re⁡(λ)=0\operatorname{Re}(\lambda)=0 has geometric multiplicity 1 (so it produces no divergent mode tt); moreover Re⁡(λ)=0\operatorname{Re}(\lambda)=0 happens only for λ=0\lambda=0 (the board writes "Re⁡(λ)=0↔\operatorname{Re}(\lambda)=0\leftrightarrow geom. mult. =1=1" and "in fact Re⁡(λ)=0↔λ=0\operatorname{Re}(\lambda)=0\leftrightarrow\lambda=0"). The board states these as facts and does not prove them in the strips read.

Related: eigenvalues, modes and Jordan blocks are discussed in Worked Examples - Jordan Form, Modes and Stability of Linear SystemsFour worked exercises on continuous-time linear systems: Jordan form from algebraic and geometric multiplicity, modes, equilibria, stability from modes or eigenvalues, the solution through the Laplace transform, outputs of block-diagonal systems and rectilinear trajectories.Worked Examples - Jordan Form, Modes and Stability of Linear Systems →.

Versione ripasso

  • Compartments ii with content xi≥0x_i\ge0, flows fij≥0f_{ij}\ge0 (i→ji\to j, index 0 = outside), inputs uiu_i.
  • x˙i=∑j≠ifjixj−∑j≠ifijxi+ui\dot x_i=\sum_{j\ne i}f_{ji}x_j-\sum_{j\ne i}f_{ij}x_i+u_i (incoming minus outgoing flows).
  • Sign structure: [F]ii≤0[F]_{ii}\le0, [F]ij≥0[F]_{ij}\ge0 for i≠ji\ne j, [G]ij≥0[G]_{ij}\ge0.
  • Water tanks (1 to 3 to 2, input u1u_1, supply u2u_2, outflow f20f_{20}): F=(−f13000−f20f32f130−f32)F=\begin{pmatrix}-f_{13}&0&0\\0&-f_{20}&f_{32}\\f_{13}&0&-f_{32}\end{pmatrix}.
  • Always at least simply stable: Re⁡(λ)≤0\operatorname{Re}(\lambda)\le0; Re⁡(λ)=0\operatorname{Re}(\lambda)=0 only for λ=0\lambda=0, with geometric multiplicity 1.