recordStateSpace2

Continuous state space description of a linear, time invariant differential equation system (data + operations)

Extends from Modelica.Icons.Record (Icon for records).

Information

This record defines a linear time invariant differential equation system in state space form:

    der(x) = A * x + B * u
        y  = C * x + D * u

with

  • u - the input vector
  • y - the output vector
  • x - the state vector
  • A,B,C,D - matrices of appropriate dimensions

Components

TypeNameDefaultDescription
Real[:,size(A, 1)]A
Real[size(A, 1),:]B
Real[:,size(A, 1)]C
Real[size(C, 1),size(B, 2)]D

Contents

NameDescription
'constructor'Default constructors for a StateSpace record
'-'Contains operators for subtraction of state space systems
'+'Parallel connection of two state space systems (= inputs are the same, outputs of the two systems are added)
'*'Series connection of two state space systems
'=='Check whether two linear systems have identical matrices
ImportUtilitiy functions to import StaeSpace representations