modelSampleStart
Test model for sampleStart function
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model tests the function Buildings.Controls.Predictors.BaseClasses.sampleStart. The function produces the following sequence of points
| simulation start | start of sampling |
|---|---|
| -10 | -10 |
| -9 | -5 |
| -8 | -5 |
| -7 | -5 |
| -6 | -5 |
| -5 | -5 |
| -4 | -0 |
| -3 | -0 |
| -2 | -0 |
| -1 | -0 |
| 0 | 0 |
| 1 | 5 |
| 2 | 5 |
| 3 | 5 |
| 4 | 5 |
| 5 | 5 |
| 6 | 10 |
| 7 | 10 |
| 8 | 10 |
| 9 | 10 |
| 10 | 10 |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time[21] | tSimSta | {i for i in -10:10} | Simulation start times |
| Modelica.Units.SI.Time | tSample | 5 | Sample time |
| Modelica.Units.SI.Time[21] | samSta | Start of sampling time |
Revisions
-
October 25, 2014 by Michael Wetter:
First implementation.