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 startstart 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

TypeNameDefaultDescription
Modelica.Units.SI.Time[21]tSimSta{i for i in -10:10}Simulation start times
Modelica.Units.SI.TimetSample5Sample time
Modelica.Units.SI.Time[21]samStaStart of sampling time

Revisions

  • October 25, 2014 by Michael Wetter:
    First implementation.