modelSchedule

Single schedule with look-ahead

Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

This block implements a schedule. The Modelica built-in variable 'time' is used to compute the hour, assuming that time=0 corresponds to midnight on the first of january.

It may be removed in the future since its implementation is not very efficient.

Parameters

TypeNameDefaultDescription
Real[:]occupancy3600*{7, 19}Occupancy table, each entry switching occupancy on or off
BooleanfirstEntryOccupiedtrueSet to true if first entry in occupancy denotes a changed from unoccupied to occupied
Modelica.Units.SI.TimestartTime0Start time of periodicity
Modelica.Units.SI.TimeendTime86400End time of periodicity

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputtNexNonOccTime until next non-occupancy
Modelica.Blocks.Interfaces.RealOutputtNexOccTime until next occupancy
Modelica.Blocks.Interfaces.BooleanOutputoccupiedOutputs true if occupied at current time

Components

TypeNameDefaultDescription
IDEAS.BoundaryConditions.SimInfoManagersim

Revisions

  • Revised implementation since timLoc was removed from the SimInfoManger. Moreover, this seems to be the wrong variable to use, since this relative time is a function of the building position, which should not be the case.