pymor.reductors.bt¶
Module Contents¶
Classes¶
Generic Balanced Truncation reductor. |
|
Standard (Lyapunov) Balanced Truncation reductor. |
|
Balanced Truncation reductor using frequency domain representation of Gramians. |
|
Linear Quadratic Gaussian (LQG) Balanced Truncation reductor. |
|
Bounded Real (BR) Balanced Truncation reductor. |
- class pymor.reductors.bt.GenericBTReductor(fom, mu=None)[source]¶
Bases:
pymor.core.base.BasicObjectGeneric Balanced Truncation reductor.
Parameters
- fom
The full-order
LTIModelto reduce.- mu
- reduce(self, r=None, tol=None, projection='bfsr')[source]¶
Generic Balanced Truncation.
Parameters
- r
Order of the reduced model if
tolisNone, maximum order iftolis specified.- tol
Tolerance for the error bound if
risNone.- projection
Projection method used:
'sr': square root method'bfsr': balancing-free square root method (default, since it avoids scaling by singular values and orthogonalizes the projection matrices, which might make it more accurate than the square root method)'biorth': like the balancing-free square root method, except it biorthogonalizes the projection matrices (usinggram_schmidt_biorth)
Returns
- rom
Reduced-order model.
- class pymor.reductors.bt.BTReductor(fom, mu=None)[source]¶
Bases:
GenericBTReductorStandard (Lyapunov) Balanced Truncation reductor.
See Section 7.3 in [Ant05].
Parameters
- fom
The full-order
LTIModelto reduce.- mu
- class pymor.reductors.bt.FDBTReductor(fom, ast_pole_data=None, mu=None, solver_options=None)[source]¶
Bases:
GenericBTReductorBalanced Truncation reductor using frequency domain representation of Gramians.
See [ZSW99].
Parameters
- fom
The full-order
LTIModelto reduce.- ast_pole_data
Can be:
dictionary of parameters for
eigs,list of anti-stable eigenvalues (scalars),
tuple
(lev, ew, rev)whereewcontains the anti-stable eigenvalues andlevandrevareVectorArraysrepresenting the eigenvectors.Noneif anti-stable eigenvalues should be computed via dense methods.
- mu
- class pymor.reductors.bt.LQGBTReductor(fom, mu=None, solver_options=None)[source]¶
Bases:
GenericBTReductorLinear Quadratic Gaussian (LQG) Balanced Truncation reductor.
See Section 3 in [MG91].
Parameters
- fom
The full-order
LTIModelto reduce.- mu
- solver_options
The solver options to use to solve the Riccati equations.
- class pymor.reductors.bt.BRBTReductor(fom, gamma=1, mu=None, solver_options=None)[source]¶
Bases:
GenericBTReductorBounded Real (BR) Balanced Truncation reductor.
See [Ant05] (Section 7.5.3) and [OJ88].
Parameters
- fom
The full-order
LTIModelto reduce.- gamma
Upper bound for the \(\mathcal{H}_\infty\)-norm.
- mu
- solver_options
The solver options to use to solve the positive Riccati equations.