Sparse Second Order
R2026bRepresent sparse second-order models in Simulink
Libraries:
Control System Toolbox /
Linear Time Invariant
Description
The Sparse Second Order block lets you represent second-order sparse state-space models, in Simulink®. Such sparse models arise from finite element analysis (FEA) and are useful in fields like structural analysis, fluid flow, heat transfer and electromagnetics. The resultant matrices from this type of modeling are quite large with a sparse pattern. In continuous time, a second-order sparse mass-spring-damper state-space model is represented in the following form:
Here, the full state vector is given by , where and are the displacement and velocity vectors. u and
y represent the inputs and outputs, respectively. M,
C, and K represent the mass, damping and stiffness
matrices, respectively. B is the input matrix, while F
and G are the output matrices resulting from the two components of the
state vector. D is the input-to-output matrix.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"cstblocks/Linear Time Invariant/Sparse Second Order"
Example: add_block("cstblocks/Linear Time Invariant/Sparse Second Order","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2020b
