modelRijal2007WindowsTInTOutTComf

A model to predict occupants' window behavior with indoor, outdoor and comfort temperature

Extends from Modelica.Blocks.Icons.DiscreteBlock (Graphical layout of discrete block component icon).

Information

Model predicting the state of the window with the indoor, outdoor and comfort temperature and occupancy.

Dynamics

When the space is unoccupied, the window is always closed. When the space is occupied, the window state is determined by the indoor, outdoor and comfort temperature.

When the indoor temperature is within the comfort temperature plus and minus 2 degC, the window state will not be changed.

When the indoor temperature is above the comfort temperature plus 2 degC, if the window is open, it would be kept open; if the window is closed, it might be opened, the probability to open the window is determined by the indoor and outdoor temperature.

When the indoor temperature is below the comfort temperature minus 2 degC, if the window is closed, it would be kept closed; if the window is open, it might be closed, the probability to close the window is determined by the indoor and outdoor temperature.

References

The model is documented in the paper "Rijal, H.B., Tuohy, P., Humphreys, M.A., Nicol, J.F., Samuel, A. and Clarke, J., 2007. Using results from field surveys to predict the effect of open windows on thermal comfort and energy use in buildings. Energy and buildings, 39(7), pp.823-836."

The model parameters are regressed from the field study conducted in 15 office buildings in UK between March 1996 and September 1997. Nine of the buildings were in the Oxford area in the central south of England (seven naturally ventilated (NV) and two air conditioned (AC)). Six of the buildings were in Aberdeen on the north-east coast of Scotland (three NV and three AC).

Parameters

TypeNameDefaultDescription
RealAIn0.171Slope of the indoor temperature in the logistic relation
RealAOut0.166Slope of the outdoor temperature in the logistic relation
RealB-6.4Intercept of the logistic relation
IntegerlocalSeed3007Local 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.RealInputTInIndoor air temperature
Modelica.Blocks.Interfaces.RealInputTOutOutdoor air temperature
Modelica.Blocks.Interfaces.RealInputTComfComfort 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.