blockScheduleYearly

Model of a schedule with yearly 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.

Parameters

TypeNameDefaultDescription
Real[5]startTime{0, 0, 0, 0, 0.0}Array with time/value pair for starting time, time format: {{days,hours,minutes,seconds,startValue}}
Real[5]endValue{365, 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, {315, 8, 11, 0, 0.0}, {315, 8, 11, 0, 0.5}, {315, 11, 11, 0, 0.5}, {315, 11, 11, 0, 0.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

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable

Revisions

  • March 07, 2017  by Georg Ferdinand Schneider & Georg Ambrosius Peßler:
    Implemented.