.Buildings.Controls.OBC.CDL.Integers.Sources.TimeTable

Information

Block that outputs Integer time table values.

The block takes as a parameter a time table of a format:

table = [ 0*3600, 2;
          6*3600, 1;
         18*3600, 8];
period = 24*3600;

where the first column of table is time and the remaining column(s) are the table values. The time column contains Real values that are in units of seconds if timeScale = 1. The parameter timeScale can be used to scale the time values, for example, use timeScale = 3600 if the values in the first column are interpreted as hours.

The values in column two and higher must be of type Integer, otherwise the model stops with an error.

Until a new tabulated value is set, the previous tabulated value is returned.

The table scope is repeated periodically with periodicity period.

Revisions


Generated at 2024-12-28T19:26:00Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos