modelZhang2012WindowsAll
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 "Zhang, Y. and Barrett, P., 2012. Factors influencing the occupants’ window opening behaviour in a naturally ventilated office building. Building and Environment, 50, pp.125-134."
The model parameters are regressed from the field study in a naturally ventilated office building in Sheffield, UK in 2005/2006. The outdoor air temperature range during the study is 0 ~ 30 degC.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | A | 0.10 | Slope of the logistic relation |
| Real | B | -4.01 | Intercept of the logistic relation |
| Integer | localSeed | 3010 | 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.