blockOccupancySchedule
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Hypothesis and equations
This model outputs whether the building is currently occupied, and how long it will take until the next time when the building will be occupied or non-occupied. The latter may be used, for example, to start a ventilation system half an hour before occupancy starts in order to ventilate the room.
The occupancy is defined by a time schedule of the form
occupancy = 3600*{7, 12, 14, 19}
This indicates that the occupancy is from 7:00 until 12:00 and from 14:00 to 19:00. This will be repeated periodically. The parameters startTime and endTime define the periodicity.
Bibliography
none
Instructions for use
none
Known limits / Use precautions
none
Validations
none
--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : EDF (2011)
--------------------------------------------------------------
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 |
Revisions
-
April 2, 2009, by Michael Wetter:
First implementation.