blockScheduleDaily
Model of a schedule with daily periodicity
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Information
Limitations
Entering dates with day greater than 1 is illegal, e.g. {2,0,0,0,11.0} as this clashes with the periodicity definition. Simulation will fail.
Limitations
This model is implemented using the model combiTimeTable from Modelica Standard Library.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[5] | startTime | {0, 0, 0, 0, -10.0} | Array with time/value pair for starting time, time format: {{days,hours,minutes,seconds,startValue}} |
| Real[5] | endValue | {1, 0, 0, 0, startTime[5]} | Array needed to fix periodicity, here for daily periodicty it needs to restart on end of day i.e. 86400 s. Time format: {{days,hours,minutes,seconds,startValue}} |
| Real[:] | offset | {0.0} | Offset of output signal |
| Real[:,5] | inputIntervalsAndValue | {startTime, {0, 8, 11, 0, -10.0}, {0, 8, 11, 0, 0.5}, {0, 11, 11, 0, 0.5}, {0, 11, 11, 0, -10.0}, endValue} | Array with time/value pairings. Format: {{days,hours,minutes,seconds,value}}. First days has value 0. Need to leave startTime parameter as first and endValue parameter as last item. Discontinuities allowed by introducing values in table twice. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable |
Revisions
- March 07, 2017 by Georg Ferdinand Schneider & Georg Ambrosius Peßler:
Implemented.