Continuous State Space - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Continuous State Space

Linear state space system

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Continuous State Space (or State Space) block defines the relation between the input u and the output y in state space form:

x.=Ax+Bu

y=Cx+Du

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: Anx,nx,

B has the dimension: Bnx,ν,

C has the dimension: Cny,nx,

D has the dimension: Dny,ν

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]].

Equations

x.=Ax+Bu

y=Cx+Du

Connections

Name

Description

Modelica ID

u

Real input signals

u

y

Real output signals

y

Parameters

General Parameters

Name

Default

Units

Description

Modelica ID

A

1001

 

Matrix A of state space model

A

B

11

 

Matrix B of state space model

B

C

11

 

Matrix C of state space model

C

D

*

 

Matrix D of state space model

D

Initial Values

No initialization

 

Type of initialization

initType

x0

zerosnx

 

Initial or guess values of states

x_start

y0

zerosny

 

Initial values of outputs (remaining states are in steady state if possible)

y_start

* zerossizeC,1,sizeB,2

Modelica Standard Library

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