<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modelreduction.org/morwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fehr</id>
	<title>MOR Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://modelreduction.org/morwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fehr"/>
	<link rel="alternate" type="text/html" href="https://modelreduction.org/morwiki/Special:Contributions/Fehr"/>
	<updated>2026-04-13T00:17:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1823</id>
		<title>File:IRKA Example.zip</title>
		<link rel="alternate" type="text/html" href="https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1823"/>
		<updated>2016-03-17T15:43:18Z</updated>

		<summary type="html">&lt;p&gt;Fehr: Fehr uploaded a new version of &amp;amp;quot;File:IRKA Example.zip&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A very rudimentary and simple implementation of the iteratively corrected rational Krylov algorithm for $H_2$ model reduction &lt;br /&gt;
proposed by Gugercin, Antoulas and Beattie [GugercinAntoulasBeattie08].&lt;br /&gt;
Part of this work is inspired from the work of Heiko K.F. Panzer [Panzer14].&lt;br /&gt;
&lt;br /&gt;
This implementation was made for the Paper&lt;br /&gt;
BEST PRACTICES FOR NUMERICAL REPLICABILITY, REPRODUCIBILITY AND REUSABILITY EXEMPLIFIED BY&lt;br /&gt;
MODEL REDUCTION SOFTWARE&lt;br /&gt;
&lt;br /&gt;
This implementation either runs with Matlab or with Octave&lt;br /&gt;
&lt;br /&gt;
# Dependencies&lt;br /&gt;
For MATLAB as well as octave the control toolbox needs to be available&lt;br /&gt;
&lt;br /&gt;
# RunMe&lt;br /&gt;
&lt;br /&gt;
1. change into installation directory&lt;br /&gt;
2. run TestIRKA.m&lt;br /&gt;
&lt;br /&gt;
Octave version &amp;gt;=3.8  with control-package needs to be installed&lt;br /&gt;
&lt;br /&gt;
# Installation&lt;br /&gt;
&lt;br /&gt;
1. no installation is required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Literature:&lt;br /&gt;
&lt;br /&gt;
[Panzer14] H. Panzer; Model Order Reduction by Krylov Subspace Methods with Global Error Bounds and &lt;br /&gt;
	Automatic Choice of Parameters. Doctoral Thesis Technische Universität München, 2014.&lt;br /&gt;
&lt;br /&gt;
[GugercinAntoulasBeattie08] S. Gugercin; A.C. Antoulas; C. Beattie: &amp;quot;H2 Model Reduction for Large-&lt;br /&gt;
	Scale Linear Dynamical Systems&amp;quot;, SIAM. J. Matrix Anal. &amp;amp; Appl., vol.30, no.2,&lt;br /&gt;
	pp.609-638, 2008.&lt;/div&gt;</summary>
		<author><name>Fehr</name></author>
	</entry>
	<entry>
		<id>https://modelreduction.org/morwiki/index.php?title=Iterative_Rational_Krylov_Algorithm&amp;diff=1822</id>
		<title>Iterative Rational Krylov Algorithm</title>
		<link rel="alternate" type="text/html" href="https://modelreduction.org/morwiki/index.php?title=Iterative_Rational_Krylov_Algorithm&amp;diff=1822"/>
		<updated>2016-03-17T15:38:34Z</updated>

		<summary type="html">&lt;p&gt;Fehr: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:method]]&lt;br /&gt;
[[Category:linear]]&lt;br /&gt;
[[Category:time invariant]]&lt;br /&gt;
[[Category:first differential order]]&lt;br /&gt;
[[Category:linear algebra]]&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IRKA&#039;&#039;&#039; (iterative rational Krylov algorithm)  is an interpolation-based model reduction method for [[List_of_abbreviations#SISO|SISO]] linear time invariant systems&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;equation id=&amp;quot;gensys&amp;quot; shownumber&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(t)=A x(t)+b u(t), \quad&lt;br /&gt;
y(t)=c^Tx(t),\quad  A\in\mathbb{R}^{n\times n},~b\in\mathbb{R}^{n},~c\in\mathbb{R}^{n}.\qquad (1)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/equation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a given system &amp;lt;math&amp;gt;G &amp;lt;/math&amp;gt; and a prescribed reduced system order &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the goal of the algorithm is to find a local minimizer &amp;lt;math&amp;gt;\hat{G} &amp;lt;/math&amp;gt; for the &amp;lt;math&amp;gt; H_2 &amp;lt;/math&amp;gt; model reduction problem&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
||G-\hat{G} ||_{H_2} = \min_{\text{dim}(\tilde{G})=r} ||G-\tilde{G}||_{H_2}. &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initially investigated in &amp;lt;ref name=&amp;quot;MeiL67&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;, first order necessary conditions for a local minimizer &amp;lt;math&amp;gt;\hat{G}&amp;lt;/math&amp;gt; imply that its rational transfer function &amp;lt;math&amp;gt;\hat{G}(s)=\hat{c}^T (sI-\hat{A})^{-1}b&amp;lt;/math&amp;gt; is a Hermite interpolant of the original transfer function at its reflected system poles, i.e., &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
G(-\hat{\lambda}_i) = \hat{G}(-\hat{\lambda}_i), \quad G&#039;(-\hat{\lambda}_i) = \hat{G}&#039;(-\hat{\lambda}_i), \quad, i =1,\dots,r, &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\{\hat{\lambda}_1,\dots,\hat{\lambda}_r\} &amp;lt;/math&amp;gt; are assumed to be the simple poles of &amp;lt;math&amp;gt; \hat{G} &amp;lt;/math&amp;gt;. Based on the idea of rational interpolation by rational Krylov subspaces, in &amp;lt;ref name=&amp;quot;GugAB08&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt; the authors have picked up the optimality conditions and proposed to iteratively correct projection subspaces until interpolation at the reflected reduced system poles is ensured. In pseudocode, the classical &#039;&#039;&#039;IRKA&#039;&#039;&#039; algorithm from &amp;lt;ref name=&amp;quot;GugAB08&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt; looks like&lt;br /&gt;
&lt;br /&gt;
 1. Make an initial selection of &amp;lt;math&amp;gt;\sigma_i &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\dots,r &amp;lt;/math&amp;gt; that is closed under conjugation and fix a convergence tolerance &amp;lt;math&amp;gt;tol&amp;lt;/math&amp;gt;.&lt;br /&gt;
 2. Choose &amp;lt;math&amp;gt;V_r &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; W_r&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\text{Ran}(V_r) =\{(\sigma_1 I -A)^{-1}b,\dots,(\sigma_rI-A)^{-1}b \} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{Ran}(W_r) =\{(\sigma_1 I -A^T)^{-1}c,\dots,   (\sigma_rI-A^T)^{-1}c \} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; W_r^TV_r=I&amp;lt;/math&amp;gt;.&lt;br /&gt;
 3. while (relative change in &amp;lt;math&amp;gt;\{\sigma_i\} &amp;gt; tol&amp;lt;/math&amp;gt;)&lt;br /&gt;
  (a) &amp;lt;math&amp;gt;\hat{A} = W_r^TAV_r&amp;lt;/math&amp;gt;&lt;br /&gt;
  (b) Assign &amp;lt;math&amp;gt;\sigma_i \leftarrow -\lambda_i(\hat{A}),&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt; i=1,\dots,r&amp;lt;/math&amp;gt;&lt;br /&gt;
  (c) Update &amp;lt;math&amp;gt;V_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W_r&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\text{Ran}(V_r) =\{(\sigma_1 I -A)^{-1}b,\dots,(\sigma_rI-A)^{-1}b \} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{Ran}(W_r) =\{(\sigma_1 I -A^T)^{-1}c,\dots,   (\sigma_rI-A^T)^{-1}c \} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; W_r^TV_r=I&amp;lt;/math&amp;gt;.&lt;br /&gt;
 4. &amp;lt;math&amp;gt;\hat{A} = W_r^TAV_r, \hat{b}= W_r^Tb, \hat{c}^T = c^TV_r.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although a rigorous convergence proof so far has only be given for symmetric state space systems &amp;lt;ref name=&amp;quot;FlaBG12&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;, numerous experiments have shown that the algorithm often converges rapidly. Moreover, the algorithm has been extended to, e.g., multiple-input-multiple output, discrete time and differential algebraic systems.&lt;br /&gt;
&lt;br /&gt;
== A minimal example ==&lt;br /&gt;
&lt;br /&gt;
For the lecture Model [http://www.itm.uni-stuttgart.de/courses/model_reduction/model_reduction_en.php MOR] of Mechanical System from the Institute of Engineering and Computational Mechanics University of Stuttgart a very simple example of the IRKA Algorithm were written. &lt;br /&gt;
&lt;br /&gt;
The implementation with two basic exampless can be found here&lt;br /&gt;
&lt;br /&gt;
 [[Media:IRKA_Example.zip]]&lt;br /&gt;
&lt;br /&gt;
This code is published under the BSD3-Clause License&lt;br /&gt;
All rights reserved. (c) 2015, Joerg.Fehr, University of Stuttgart&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;MeiL67&amp;quot;&amp;gt; L. Meier, D.G. Luenberger, &amp;quot;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1098680&amp;amp;tag=1 Approximation of linear constant systems]&amp;lt;/span&amp;gt;&amp;quot;, IEEE Transactions on Automatic Control, vol.12, no.5, pp.585-588, 1967.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;GugAB08&amp;quot;&amp;gt; S. Gugercin, A.C. Antoulas, C. Beattie &amp;quot;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://epubs.siam.org/doi/abs/10.1137/060666123 H2 Model Reduction for Large-Scale Linear Dynamical Systems]&amp;lt;/span&amp;gt;&amp;quot;, SIAM. J. Matrix Anal. &amp;amp; Appl., vol.30, no.2, pp.609-638, 2008.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;FlaBG12&amp;quot;&amp;gt; G. Flagg, C. Beattie, S. Gugercin &amp;quot;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.sciencedirect.com/science/article/pii/S0167691112000576 Convergence of the Iterative Rational Krylov Algorithm]&amp;lt;/span&amp;gt;&amp;quot;, Systems &amp;amp; Control Letters, vol.61, no.6, pp.688-691, 2012.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fehr</name></author>
	</entry>
	<entry>
		<id>https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1821</id>
		<title>File:IRKA Example.zip</title>
		<link rel="alternate" type="text/html" href="https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1821"/>
		<updated>2016-03-17T15:24:18Z</updated>

		<summary type="html">&lt;p&gt;Fehr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A very rudimentary and simple implementation of the iteratively corrected rational Krylov algorithm for $H_2$ model reduction &lt;br /&gt;
proposed by Gugercin, Antoulas and Beattie [GugercinAntoulasBeattie08].&lt;br /&gt;
Part of this work is inspired from the work of Heiko K.F. Panzer [Panzer14].&lt;br /&gt;
&lt;br /&gt;
This implementation was made for the Paper&lt;br /&gt;
BEST PRACTICES FOR NUMERICAL REPLICABILITY, REPRODUCIBILITY AND REUSABILITY EXEMPLIFIED BY&lt;br /&gt;
MODEL REDUCTION SOFTWARE&lt;br /&gt;
&lt;br /&gt;
This implementation either runs with Matlab or with Octave&lt;br /&gt;
&lt;br /&gt;
# Dependencies&lt;br /&gt;
For MATLAB as well as octave the control toolbox needs to be available&lt;br /&gt;
&lt;br /&gt;
# RunMe&lt;br /&gt;
&lt;br /&gt;
1. change into installation directory&lt;br /&gt;
2. run TestIRKA.m&lt;br /&gt;
&lt;br /&gt;
Octave version &amp;gt;=3.8  with control-package needs to be installed&lt;br /&gt;
&lt;br /&gt;
# Installation&lt;br /&gt;
&lt;br /&gt;
1. no installation is required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Literature:&lt;br /&gt;
&lt;br /&gt;
[Panzer14] H. Panzer; Model Order Reduction by Krylov Subspace Methods with Global Error Bounds and &lt;br /&gt;
	Automatic Choice of Parameters. Doctoral Thesis Technische Universität München, 2014.&lt;br /&gt;
&lt;br /&gt;
[GugercinAntoulasBeattie08] S. Gugercin; A.C. Antoulas; C. Beattie: &amp;quot;H2 Model Reduction for Large-&lt;br /&gt;
	Scale Linear Dynamical Systems&amp;quot;, SIAM. J. Matrix Anal. &amp;amp; Appl., vol.30, no.2,&lt;br /&gt;
	pp.609-638, 2008.&lt;/div&gt;</summary>
		<author><name>Fehr</name></author>
	</entry>
	<entry>
		<id>https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1820</id>
		<title>File:IRKA Example.zip</title>
		<link rel="alternate" type="text/html" href="https://modelreduction.org/morwiki/index.php?title=File:IRKA_Example.zip&amp;diff=1820"/>
		<updated>2016-03-17T13:47:23Z</updated>

		<summary type="html">&lt;p&gt;Fehr: Example files of an IRKA implementation
includes a Test File, a p-coded version of Frequency Response matrix, and an IRKA implementation for SISO LTI systems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example files of an IRKA implementation&lt;br /&gt;
includes a Test File, a p-coded version of Frequency Response matrix, and an IRKA implementation for SISO LTI systems&lt;/div&gt;</summary>
		<author><name>Fehr</name></author>
	</entry>
</feed>