Problemcore
Model order reduction
Also called model reduction, MOR.
Given a linear system with many states, find one with far fewer states whose input-output behavior is close to it in a stated norm, such as the H-infinity or H2 norm.
Model order reduction (MOR) replaces a large model of a dynamical system by a small one that gives almost the same outputs for the same inputs. Large linear models appear when a physical system is described in fine detail: a finite element model of a bridge, a circuit model of the wires on a chip, or a discretized heat or fluid equation can have to state variables, far too many to simulate many times or to design a controller for. A reduced model with states, often between 5 and 100, can be simulated and analysed quickly. The question is how to choose it so that the error in the outputs is small and, where possible, provably small. For linear time-invariant systems the error is measured by a norm of the difference of the transfer functions, usually the norm (the worst gain over all frequencies) or the norm (the energy of the impulse response error). The main methods are balanced truncation, which has an a priori error bound in terms of the Hankel singular values, and interpolation methods such as the iterative rational Krylov algorithm, which scale to very large sparse models. Every asymptotically stable model of order has an error of at least the th Hankel singular value, so these values also say how far any reduction can go.
In plain words
A detailed computer model of a machine can have millions of numbers in its state, because it describes every small piece. But the engineer only cares about a few inputs, such as forces or voltages, and a few outputs, such as a position or a current. Most of the internal detail has almost no effect on what goes from those inputs to those outputs. Model reduction finds a much smaller model that has nearly the same effect from the inputs to the outputs. A good method also says how large the error can be, for every input. The small model is then used for fast simulation, for control design, or inside an optimization that must run the model many times.
Definition
Data. A linear time-invariant system in state-space form
with transfer function , usually with Hurwitz, and a target order .
Problem. Find , , and such that is close to in a stated norm, and such that keeps the properties that matter, above all that is Hurwitz. The usual norms are
- the H-infinity norm , the worst ratio of output error energy to input energy;
- the H2 norm , the energy of the impulse response error, and the worst peak output error for unit energy inputs of a system with one output;
- the Hankel norm , the gain from past inputs to future outputs, which equals the largest Hankel singular value of .
Optimal versions. For a fixed norm and order, minimize the error over all asymptotically stable of order . For the Hankel norm the problem is solved exactly (Glover 1984). For the norm it is a nonconvex smooth problem with known first-order conditions. For the norm no finite algorithm for the optimum is known; the methods used give bounds, not the optimum.
Variants
- Projection methods. Most methods choose with and set , , , . Balanced truncation and Krylov methods are of this kind; only the choice of and differs.
- Structure-preserving reduction. Second-order systems from mechanics, port-Hamiltonian systems, and passive circuits need reduced models with the same structure, so that the reduced model is again passive or again mechanical.
- Frequency-weighted reduction. Minimize for weights that stress a frequency band. Enns (1984) gave a frequency-weighted version of balanced truncation. It is used for controller reduction, where the error that matters is the closed-loop error.
- Unstable systems. Keep the unstable part exactly and reduce the asymptotically stable part, or reduce a coprime factorization (see coprime factorization).
- Parametric and nonlinear reduction. For models with parameters, or nonlinear models, projection bases are built from samples. Proper orthogonal decomposition takes the bases from the singular value decomposition of a matrix of simulated states, the same computation as principal component analysis. Dynamic mode decomposition fits a small linear model to data.
- Discrete time. The same problem for , with Schur stable and the norms on the unit circle.
Examples
- First order to order 0. has one Hankel singular value . The best constant approximation in the norm is , with for every : the lower bound is attained. Balanced truncation to order 0 gives and the error , which is its upper bound. This shows the factor 2 between the two bounds.
- A chain of four first-order sections. has Hankel singular values , , and . The table compares balanced truncation (BT) and IRKA, both computed by the implementations of their pages; the errors are maxima over a grid of about 1200 frequencies (a measurement).
| lower bound | BT error, | BT bound | IRKA error, | BT error, | IRKA error, | |
|---|---|---|---|---|---|---|
| 1 | 0.0082179 | 0.014601 | 0.018816 | 0.014429 | 0.013113 | 0.012742 |
| 2 | 0.0011269 | 0.0021479 | 0.0023804 | 0.0020534 | 0.0028737 | 0.0028186 |
| 3 | 0.0000632855 | 0.00012657 | 0.00012657 | 0.00011394 | 0.00022450 | 0.00022340 |
The norm of is and its norm is , so a model with two states already has a relative error of about 5 percent. Every error lies between the lower bound and the BT bound, as the two theorems below require. IRKA, which targets the norm, has the smaller error, as it should; on this system it also has the smaller error, which is a measurement, not a rule.
- No good reduction. If all Hankel singular values are equal, the lower bound and the upper bound show that no model of lower order is better than the constant by more than a factor 2. This happens for a delay approximated by an all-pass Padé model (see Padé approximation): a delay has no small accurate model.
Known algorithms
- Balanced truncation (Moore 1981). Solve two Lyapunov equations for the Gramians, change to the balanced realization, and drop the states with small Hankel singular values. is asymptotically stable when , and the error bound is of the distinct dropped values. Dense cost .
- Balanced singular perturbation approximation. In the balanced coordinates, set the derivative of the small states to zero instead of the states themselves (see singular perturbation method). It matches the gain at exactly instead of at , and it has the same error bound.
- Optimal Hankel-norm approximation (Glover 1984). It reaches the smallest possible Hankel norm error , and with a suitable constant term it has an error of at most the sum of the distinct tail values, half the bound of balanced truncation.
- Iterative rational Krylov algorithm (Gugercin, Antoulas and Beattie 2008). It meets the first-order conditions of optimality by interpolation at mirrored reduced poles. It needs only solves with , so it works for sparse with millions of states. It has no a priori error bound.
- Moment matching. Match the Taylor coefficients of at one or more points with bases from a Krylov subspace, computed by the Arnoldi iteration or the Lanczos algorithm. At this matches the Markov parameters; the one-point version gives a Padé approximation of . Cheap, but neither asymptotic stability nor the error is guaranteed.
- Modal truncation. Keep the eigenvalues of nearest the imaginary axis, or those with the largest residues. It keeps asymptotic stability, but its error depends on the residues, and it can miss important states for non-normal .
- Low-rank Gramian methods. For large sparse systems, balanced truncation is applied with low-rank factors of the Gramians, which iterative Lyapunov solvers compute; the cost is then a number of sparse solves.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Asymptotic waveform evaluation | Θ(n³ + q n² + q³ + I q²) worst · average · best | Θ(n² + q²) extra | deterministicnot exactiterative | 1 language |
| Balanced truncation | O(n^3 + n^2 (m + p)) worst | O(n^2) extra | deterministicnot exactofflineiterative | 1 language |
| Iterative rational Krylov algorithm | O(k r n^3) worst | O(n^2 + n r) extra | deterministicnot exactofflineiterative | 1 language |
| PRIMA | Θ(n³ + k n² + k² n) worst · average · best | Θ(n² + k n) extra | deterministicnot exactiterative | 1 language |
Bounds
- Lower bound for every method. For every asymptotically stable of order at most , . This is a theorem (Glover 1984): the Hankel operator of has rank at most , and the best approximation of rank of a compact operator has error .
- Upper bound by balanced truncation. with each distinct value counted once. This is a theorem; see the error bound page. So the best error of order is between and twice the sum of the distinct tail values.
- Hankel-norm optimum. The minimum of over asymptotically stable of order is exactly , and Glover (1984) describes all minimizers.
- H2 norm. No a priori bound of this kind is used in practice for the error of IRKA. The optimal problem has local minima, and the first-order conditions (Meier and Luenberger 1967) are what IRKA meets.
- Cost. Dense balanced truncation costs operations and memory. Krylov and IRKA methods cost a number of linear solves with ; for sparse this is close to linear in per solve in many applications, a measurement that depends on the solver.
Reductions
- To Lyapunov equations and an SVD. Balanced truncation reduces the problem to two Lyapunov equations and a singular value decomposition of a product of Cholesky or square-root factors.
- To rational interpolation. optimality reduces to Hermite interpolation of at the mirror images of the reduced poles (see Hermite interpolation). Moment matching is interpolation at fixed points.
- To low-rank matrix approximation. The Hankel-norm problem is a structured version of the best rank approximation of the Hankel operator; the unstructured version is solved by the SVD, and the structured one by Glover's all-pass construction.
- From realization. When the data are impulse response samples instead of a state-space model, the Ho-Kalman algorithm and the eigensystem realization algorithm truncate the SVD of a Hankel matrix of Markov parameters, which is a data-driven form of balanced truncation.
Applications
- Circuit simulation. The interconnect of integrated circuits gives RLC networks with millions of elements. Krylov methods reduce them to small models that the circuit simulator can use.
- Structural dynamics. Finite element models of vehicles, aircraft and buildings are reduced for vibration analysis and for active control.
- Controller reduction. An or LQG controller has the order of the plant model plus the weights. Balanced or frequency-weighted reduction gives a controller of low order that can run on a small processor.
- Control of partial differential equations. Heat, flow and acoustic models are discretized, reduced, and then used to design controllers and observers.
- Many-query problems. Optimization, uncertainty quantification and real-time digital twins run a model many times; the reduced model makes that affordable.
References
- Athanasios C. Antoulas, Approximation of Large-Scale Dynamical Systems, SIAM, 2005, Chapter 7, Balancing and balanced approximations; the later chapters on Krylov and moment matching methods
- Kemin Zhou, John C. Doyle and Keith Glover, Robust and Optimal Control, Prentice Hall, 1996, Chapter 7, Model Reduction by Balanced Truncation; Chapter 8, Hankel Norm Approximation
- B. C. Moore, Principal component analysis in linear systems, controllability, observability, and model reduction, IEEE Transactions on Automatic Control 26(1), 17-32, 1981, balanced realizations and the truncation of weakly controllable and weakly observable states
- Keith Glover, All optimal Hankel-norm approximations of linear multivariable systems and their L-infinity error bounds, International Journal of Control 39(6), 1115-1193, 1984, the optimal Hankel-norm approximation, the lower bound by the Hankel singular values, and the L-infinity error bounds
- S. Gugercin, A. C. Antoulas and C. Beattie, H2 model reduction for large-scale linear dynamical systems, SIAM Journal on Matrix Analysis and Applications 30(2), 609-638, 2008, the interpolation conditions for H2 optimality and the iterative rational Krylov algorithm
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 67E45Z Edit this page History Report an error Markdown