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
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | occupancy | 3600*{7, 19} | Occupancy table, each entry switching occupancy on or off |
| Boolean | firstEntryOccupied | true | Set to true if first entry in occupancy denotes a changed from unoccupied to occupied |
| Modelica.Units.SI.Time | startTime | 0 | Start time of periodicity |
| Modelica.Units.SI.Time | endTime | 86400 | End time of periodicity |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | tNexNonOcc | Time until next non-occupancy | |
| Modelica.Blocks.Interfaces.RealOutput | tNexOcc | Time until next occupancy | |
| Modelica.Blocks.Interfaces.BooleanOutput | occupied | Outputs true if occupied at current time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.BoundaryConditions.SimInfoManager | sim |
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.