modelWang2005Occupancy

A model to predict Occupancy of a single person office

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

Information

Model predicting the occupancy of a single person office.

References

The model is documented in the paper "Wang, D., Federspiel, C.C. and Rubinstein, F., 2005. Modeling occupancy in single person offices. Energy and buildings, 37(2), pp.121-126."

The model parameters are regressed from a field study in California with 35 single person offices at a large office building from 12/29/1998 to 12/20/1999.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Timeone_mu4368Mean occupancy duration
Modelica.Units.SI.Timezero_mu2556Mean vacancy duration
IntegerlocalSeed2005Local seed to be used to generate the initial state of the random number generator
IntegerglobalSeed30129Global seed to be combined with the local seed

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputoccThe State of occupancy, true for occupied

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.
  • August 16, 2021, by Michael Wetter:
    Reformulated model so it works also if the simulation does not start at 0.
    To improve efficiency, this reformulation also changes the event triggering function so that it leads to time events rather than state events.
    This is for #2590.
  • August 1, 2018, by Zhe Wang:
    First implementation.