modelRen2014ACBedroom

A model to predict occupants' AC behavior in bedroom with indoor temperature

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

Information

Model predicting the state of the AC with the indoor temperature and occupancy.

Dynamics

When the space is unoccupied, the AC is always off. When the space is occupied, the lower the indoor temperature is, the lower the chance to turn on the AC and higher the chance to turn off the AC.

References

The model is documented in the paper "Ren, X., Yan, D. and Wang, C., 2014. Air-conditioning usage conditional probability model for residential buildings. Building and Environment, 81, pp.172-182."

The model parameters are regressed from the field study in China in 2014.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Temperatureu1304.40Threshold for turning off the AC of the Weibull Distribution
Modelica.Units.SI.Temperatureu2301.90Threshold for turning on the AC of the Weibull Distribution
Modelica.Units.SI.TemperatureDifferenceL113.34Normalization factor for turning off the AC of the Weibull Distribution
Modelica.Units.SI.TemperatureDifferenceL242.86Normalization factor for turning on the AC of the Weibull Distribution
Realk11.73Shape factor for turning off the AC of the Weibull Distribution
Realk21.80Shape factor for turning on the AC of the Weibull Distribution
Modelica.Units.SI.TimesamplePeriod120Sample period
IntegerlocalSeed4000Local 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.RealInputTInIndoor air temperature
Modelica.Blocks.Interfaces.BooleanInputoccIndoor occupancy, true for occupied
Modelica.Blocks.Interfaces.BooleanOutputonState of AC

Components

TypeNameDefaultDescription
RealpOnProbability of turning on the AC
RealpOffProbability of turning off the AC

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 23, 2018, by Zhe Wang:
    First implementation.