sminreal
R2026bEliminates structurally disconnected states, delays, and blocks
Syntax
Description
Use sminreal to eliminate the states of a state-space model
that do not affect the input-output response of the model.
In state-space models, sminreal eliminates all states and internal
delay signals that are structurally disconnected from the inputs and outputs. The simplified
model is structurally minimal, that is, generically minimal when randomizing the nonzero
entries of state matrices.
In generalized models, sminreal further eliminates all tunable or
uncertain blocks that are structurally disconnected from the inputs and outputs.
In gridded LTV and LPV models, sminreal eliminates states and
internal delays that are structurally disconnected for all models in the
grid. The remaining states and internal delay signals are the same for all models across the
grid.
eliminates the states of the state-space model msys = sminreal(sys)sys that do not affect
the input-output response and returns the simplified model msys. All of
the states of the resulting state-space model msys are also states of
sys and the input/output response of msys is
equivalent to that of sys.
adds the requirement that the response to the initial condition in msys = sminreal(sys,info)info
must be preserved. Here, info is typically a matrix containing initial
conditions. Note that the presence of offsets and initial conditions influences the
input-to-state map and therefore affects which states can be safely removed.
[
also returns the updated msys,xkeep,info] = sminreal(___)info structure, containing updated projection
and initial condition information to reflect the transformation performed by
sminreal, as last output. Here, the info input
argument is typically a structure containing both initial condition and projection matrices
to propagate through the transformation. For more information on projector matrices, see
Spectral Projector Matrices.
When you use "consistent", xkeep is always a
vector, and the info output argument is always a single
structure.
Examples
Input Arguments
Output Arguments
Tips
The model resulting from sminreal(sys) is not necessarily minimal, and may
have a higher order than one resulting from minreal(sys). However,
sminreal(sys) retains a subset of the original states of
sys, while, in general, minreal(sys) does
not.
References
[1] Heinkenschloss, M., T. Reis, and A. C. Antoulas. “Balanced Truncation Model Reduction for Systems with Inhomogeneous Initial Conditions.” Automatica 47, no. 3 (2011): 559–64. https://doi.org/10.1016/j.automatica.2010.12.002.
