Continuous State Space
Linear state space system
Description
Equations
Connections
Parameters
Modelica Standard Library
The Continuous State Space (or State Space) block defines the relation between the input u and the output y in state space form:
x.=A⁢x+B⁢u
y=C⁢x+D⁢u
The input is a vector of length ν, the output is a vector of the length ny, and nx is the number of states. Accordingly,
A has the dimension: A⁡nx,nx,
B has the dimension: B⁡nx,ν,
C has the dimension: C⁡ny,nx,
D has the dimension: D⁡ny,ν
The dimensions of the state-space matrices specified in parameters A, B, C, and D need to be adjusted according to the number of inputs that you provide. To change the dimensions of a matrix in a parameter field, right-click (Control-click for Mac) the parameter field and select Edit Matrix Dimensions. You can then specify the number of rows and columns to include in the matrix.
Note: The context menu operation for setting the matrix dimension is not available if the parameter field is blank. In this case, you must enter a matrix as a list of lists, for example, [[1,2],[3,4]].
Name
Modelica ID
u
Real input signals
y
Real output signals
General Parameters
Default
Units
A
1001
Matrix A of state space model
B
11
Matrix B of state space model
C
Matrix C of state space model
D
*
Matrix D of state space model
Initial Values
No initialization
Type of initialization
initType
x0
zeros⁡nx
Initial or guess values of states
x_start
y0
zeros⁡ny
Initial values of outputs (remaining states are in steady state if possible)
y_start
* zeros⁡size⁡C,1,size⁡B,2
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Continuous Signal Blocks
Signal Blocks
Trademark Attributions
Download Help Document