modelHaldi2008WindowsTOut
A model to predict occupants' window behavior with outdoor temperature
Extends from Modelica.Blocks.Icons.DiscreteBlock (Graphical layout of discrete block component icon).
Information
Model predicting the state of the window with the outdoor air temperature and occupancy.
Dynamics
When the space is unoccupied, the window is always closed. When the space is occupied, the lower the outdoor temperature is, the lower the chance to open the window.
References
The model is documented in the paper "Haldi, F. and Robinson, D., 2008. On the behaviour and adaptation of office occupants. Building and environment, 43(12), pp.2163-2177."
The model parameters are regressed from the field study in eight Swiss office buildings in 2006. The outdoor air temperature range during the study is 5 ~ 35 degC.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | A | 0.049 | Slope of the logistic relation |
| Real | B | -1.12 | Intercept of the logistic relation |
| Integer | localSeed | 3002 | Local seed to be used to generate the initial state of the random number generator |
| Integer | globalSeed | 30129 | Global seed to be combined with the local seed |
| Modelica.Units.SI.Time | samplePeriod | 120 | Sample period |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | TOut | Outdoor air temperature | |
| Modelica.Blocks.Interfaces.BooleanInput | occ | Indoor occupancy, true for occupied | |
| Modelica.Blocks.Interfaces.BooleanOutput | on | State of window, true for open |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | p | Probability of window opened |
Revisions
-
December 6, 2024, by Michael Wetter:
Refactored implementation of random number calculations, transfering the local state of the random number generator from one call to the next.
This is for #4069. -
July 25, 2018, by Zhe Wang:
First implementation.