Building occupation modelling using motion sensor data

Nils-Olav Skeie
Department of Electrical Engineering, Information Technology and Cybernetics, University of South-Eastern Norway, Porsgrunn, Norway

Jørund Martinsen
Department of Electrical Engineering, Information Technology and Cybernetics, University of South-Eastern Norway, Porsgrunn, Norway

Ladda ner artikelhttps://doi.org/10.3384/ecp2017043

Ingår i: Proceedings of The 60th SIMS Conference on Simulation and Modelling SIMS 2019, August 12-16, Västerås, Sweden

Linköping Electronic Conference Proceedings 170:7, s. 43-50

Visa mer +

Publicerad: 2020-01-24

ISBN: 978-91-7929-897-5

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


In smart building environments, both office and residential buildings, it is important to have some information about the use and occupation. Today this is normally solved by a fixed time schedule meaning the occupants must adapt to the system, not the other way around. This paper discuss the usage of a top hat probability models, based on a four weeks history from inexpensive sensor devices, for prediction of the occupation in the next week. The model was divided into seven groups, one group for each of day of the week. A software system, based on several modules, was developed. One module was used to record the information from the motion sensors and stored the data as historical data. One module was used to create the model, and another module was used to prediction of occupation for the next days, up to a week. The models are working satisfactory as long as the behavior patterns are similar for the training and prediction period. However, the models are sensitive to changes in the daily behavior pattern of the occupants, like holidays or taking a day off.


probability model, building occupation, PIR sensor devices, motion sensor devices, building occupation prediction


Anna A. Adamopoulou, Athanasios M. Tryferidis, and Dimitrios K. Tzovaras. A context-aware method for building occupancy prediction. Energy and Buildings, 110: 229-244, 2016.

J. P. Boyd. Asymptotic Fourier coefficients for a C bell (smoothed “top-hat”) and the Fourier extension problem. Journal of Scientific Computing, 2006.

Danilo Bzdok, Naomi Altman, and Martin Krzywinski. Statistics versus machine learning. Nature methods, 15:233-234, 2018.

C. M. Clevenger and J. Haymaker. The impact of the building occupant on energy modeling simulations. IEA-EBC Annex 66, 2006.

M. Fowler and K. Scott, K. UML Distilled: Applying the standard object modeling language. Addison-Wesley, USA, 1997.

U. Habib and G. Zucker. Automatic occupancy prediction using unsupervised learning in buildings data. IEEE International Symposium on Industrial Electronics (ISIE), 2017. DOI: 10.1109/ISIE.2017.8001463.

Jørund Martinsen. Modeling of building occupation using motion sensor data. Master’s Thesis, University of South-Eastern Norway (USN), 2019.

D. W. U. Perera, C. Pfeiffer, and N.-O. Skeie. Modelling the heat dynamics of a residential building unit: Application to Norwegian buildings. Modeling, Identification and Control (MIC) 35:43-57, 2014.

S. Ryu and J. M. Hyeun. Development of an occupancy prediction model using indoor environmental data based on machine learning techniques. Building and Environment 107, 2016. DOI: 10.1016/j.buildenv.2016.06.039.

J. Shi, N. Yu, and W. Yao. Energy efficient building HVAC control algorithm with real-time occupancy prediction. Energy Procedia 111:267-276, 2016.

W. Wang, J. Chen, and T. Hong. Occupancy prediction through machine learning and data fusion of the environmental sensing and Wi-Fi sensing in buildings. Automation in Construction, 94:233-243, 2018. DOI: 10.1016/.j.autcon.2018.07.007.

D. Yan, W. O’Brien, T. Hong, X. Feng, H. B. Gunay, F. Tahmasebi, and A. Mahdavi. Occupant behavior modeling for building performance simulation: Current state and future challenges. Energy and Buildings, 107:264-278, 2015.

Citeringar i Crossref