Linear state space model in the CT domain.
The State-Space model implements a system whose behavior is defined by:
dx/dt = Ax + Bu
y = Cx + Du
x(0) = x0
where x is the state vector, u is the input vector, and y is the output vector. The matrix coefficients must have the following characteristics:
A must be an n-by-n matrix, where n is the number of states.
B must be an n-by-m matrix, where m is the number of inputs.
C must be an r-by-n matrix, where r is the number of outputs.
D must be an r-by-m matrix.
The actor accepts m inputs and generates r outputs through a multi-input port and a multi-output port. The widths of the ports must match the number of rows and columns in corresponding matrices, otherwise, an exception will be thrown.
This actor works like a higher-order function. It is opaque after construction or the change of parameters. Upon preinitialization, the actor will create a subsystem using integrators, adders, and scales. After that, the actor becomes transparent, and the director takes over the control of the actors contained by this actor.
Field Detail |
public VisualSim.actor.TypedIOPort input
public VisualSim.actor.TypedIOPort output
public VisualSim.actor.TypedIOPort stateOutput
public VisualSim.data.expr.Parameter A
public VisualSim.data.expr.Parameter B
public VisualSim.data.expr.Parameter C
public VisualSim.data.expr.Parameter D
public VisualSim.data.expr.Parameter initialStates
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor