StateSpace
| StateSpace implements a linear state-space system. |
Element | Direction | Remark |
in::continuous[m] | input | block input For m inputs, set the Dimension in the element's properties editor to m. |
out::continuous[r] | output | block output For r outputs, set the Dimension in the element's properties editor to r. |
internal::continuous[3] | discrete state; reserved for internal calculations
| |
x::continuous[n] | continuous state; states For n states, set the Dimension in the element's properties editor to n. | |
modifyable values in matrices A, B, C, D | matrices provided via the Matrix class
|
The system's behavior is described by the equations:
dx | = | Ax + Bu |
dt | ||
y | = | Cx + Du |
(x is the state vector, u is the input vector, y is the output vector)
Note |
|---|
Before starting an experiment, the sizes of the arrays x, in, out and of the matrices A, B, C, and D must be determined correctly. |
