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

TypeNameDefaultDescription
RealA0.049Slope of the logistic relation
RealB-1.12Intercept of the logistic relation
IntegerlocalSeed3002Local seed to be used to generate the initial state of the random number generator
IntegerglobalSeed30129Global seed to be combined with the local seed
Modelica.Units.SI.TimesamplePeriod120Sample period

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTOutOutdoor air temperature
Modelica.Blocks.Interfaces.BooleanInputoccIndoor occupancy, true for occupied
Modelica.Blocks.Interfaces.BooleanOutputonState of window, true for open

Components

TypeNameDefaultDescription
RealpProbability 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.