functiontimeResponseMask
Declares the common structure for the set of response functions
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | sc | ||
| Real | dt | 0 | Sample time [s] |
| Real | tSpan | 0 | Simulation time span [s] |
| Integer[:,:] | toWindow | fill(-1, size(sc.C, 1), size(sc.B, 2)) | -1/0/>0 plot in new window/last window/window ID |
| Boolean[:,:] | clearWindow | fill(false, size(sc.C, 1), size(sc.B, 2)) | True, if previous window content is removed |
| String[:,:] | heading | fill("Time response", size(sc.C, 1), size(sc.B, 2)) | Heading of the response diagram |
| String[size(sc.C, 1) + 1] | columnLabels | Modelica_LinearSystems2.Internal.defaultColumnLabels(size(sc.C, 1)) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,size(sc.C, 1),size(sc.B, 2)] | y | Output response: (number of samples) x (number of outputs) x (number of inputs) | |
| Real[:] | t | Time vector: (number of samples) | |
| Real[:,size(sc.A, 1),size(sc.B, 2)] | x_continuous | State trajectories: (number of samples) x (number of states) x (number of inputs) |