IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v14y2022i21p14644-d965629.html
   My bibliography  Save this article

Indoor Occupancy Detection Based on Environmental Data Using CNN-XGboost Model: Experimental Validation in a Residential Building

Author

Listed:
  • Abolfazl Mohammadabadi

    (Department of Statistical Sciences, Sapienza University of Rome, 00185 Rome, Italy)

  • Samira Rahnama

    (Department of the Built Environment, Aalborg University, 2450 Copenhagen, Denmark)

  • Alireza Afshari

    (Department of the Built Environment, Aalborg University, 2450 Copenhagen, Denmark)

Abstract

Indoor occupancy prediction can play a vital role in the energy-efficient operation of building engineering systems and maintaining satisfactory indoor climate conditions at the lowest possible energy use by operating these systems on the basis of occupancy data. Many methods have been proposed to predict occupancy in residential buildings according to different data types, e.g., digital cameras, motion sensors, and indoor climate sensors. Among these proposed methods, those with indoor climate data as input have received significant interest due to their less intrusive and cost-effective approach. This paper proposes a deep learning method called CNN-XGBoost to predict occupancy using indoor climate data and compares the performance of the proposed method with a range of supervised and unsupervised machine learning algorithms plus artificial neural network algorithms. The comparison is performed using mean absolute error, confusion matrix, and F 1 score. Indoor climate data used in this work are CO 2 , relative humidity, and temperature measured by sensors for 13 days in December 2021. We used inexpensive sensors in different rooms of a residential building with a balanced mechanical ventilation system located in northwest Copenhagen, Denmark. The proposed algorithm consists of two parts: a convolutional neural network that learns the features of the input data and a scalable end-to-end tree-boosting classifier. The result indicates that CNN-XGBoost outperforms other algorithms in predicting occupancy levels in all rooms of the test building. In this experiment, we achieved the highest accuracy in occupancy detection using inexpensive indoor climate sensors in a mechanically ventilated residential building with minimum privacy invasion.

Suggested Citation

  • Abolfazl Mohammadabadi & Samira Rahnama & Alireza Afshari, 2022. "Indoor Occupancy Detection Based on Environmental Data Using CNN-XGboost Model: Experimental Validation in a Residential Building," Sustainability, MDPI, vol. 14(21), pages 1-17, November.
  • Handle: RePEc:gam:jsusta:v:14:y:2022:i:21:p:14644-:d:965629
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/14/21/14644/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/14/21/14644/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Peng, Yuzhen & Rysanek, Adam & Nagy, Zoltán & Schlüter, Arno, 2018. "Using machine learning techniques for occupancy-prediction-based cooling control in office buildings," Applied Energy, Elsevier, vol. 211(C), pages 1343-1358.
    2. Zhang, Wuxia & Wu, Yupeng & Calautit, John Kaiser, 2022. "A review on occupancy prediction through machine learning for enhancing energy efficiency, air quality and thermal comfort in the built environment," Renewable and Sustainable Energy Reviews, Elsevier, vol. 167(C).
    3. He, Zhiyuan & Hong, Tianzhen & Chou, S.K., 2021. "A framework for estimating the energy-saving potential of occupant behaviour improvement," Applied Energy, Elsevier, vol. 287(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Aya Nabil Sayed & Faycal Bensaali & Yassine Himeur & Mahdi Houchati, 2023. "Edge-Based Real-Time Occupancy Detection System through a Non-Intrusive Sensing System," Energies, MDPI, vol. 16(5), pages 1-14, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yan, Biao & Yang, Wansheng & He, Fuquan & Zeng, Wenhao, 2023. "Occupant behavior impact in buildings and the artificial intelligence-based techniques and data-driven approach solutions," Renewable and Sustainable Energy Reviews, Elsevier, vol. 184(C).
    2. Jing, Gang & Cai, Wenjian & Zhang, Xin & Cui, Can & Yin, Xiaohong & Xian, Huacai, 2019. "An energy-saving oriented air balancing strategy for multi-zone demand-controlled ventilation system," Energy, Elsevier, vol. 172(C), pages 1053-1065.
    3. Panagiotis Michailidis & Iakovos Michailidis & Dimitrios Vamvakas & Elias Kosmatopoulos, 2023. "Model-Free HVAC Control in Buildings: A Review," Energies, MDPI, vol. 16(20), pages 1-45, October.
    4. John Kaiser Calautit & Hassam Nasarullah Chaudhry, 2022. "Sustainable Buildings: Heating, Ventilation, and Air-Conditioning," Energies, MDPI, vol. 15(21), pages 1-5, November.
    5. Imran & Naeem Iqbal & Shabir Ahmad & Do Hyeun Kim, 2021. "Towards Mountain Fire Safety Using Fire Spread Predictive Analytics and Mountain Fire Containment in IoT Environment," Sustainability, MDPI, vol. 13(5), pages 1-23, February.
    6. Gautham Krishnadas & Aristides Kiprakis, 2020. "A Machine Learning Pipeline for Demand Response Capacity Scheduling," Energies, MDPI, vol. 13(7), pages 1-25, April.
    7. Jing Zhao & Yu Shan, 2020. "A Fuzzy Control Strategy Using the Load Forecast for Air Conditioning System," Energies, MDPI, vol. 13(3), pages 1-17, January.
    8. Muhammad Emad-Ud-Din & Ya Wang, 2023. "Indoor Occupancy Sensing via Networked Nodes (2012–2022): A Review," Future Internet, MDPI, vol. 15(3), pages 1-20, March.
    9. Tien, Paige Wenbin & Wei, Shuangyu & Calautit, John Kaiser & Darkwa, Jo & Wood, Christopher, 2022. "Real-time monitoring of occupancy activities and window opening within buildings using an integrated deep learning-based approach for reducing energy demand," Applied Energy, Elsevier, vol. 308(C).
    10. Hidayatus Sibyan & Jozef Svajlenka & Hermawan Hermawan & Nasyiin Faqih & Annisa Nabila Arrizqi, 2022. "Thermal Comfort Prediction Accuracy with Machine Learning between Regression Analysis and Naïve Bayes Classifier," Sustainability, MDPI, vol. 14(23), pages 1-18, November.
    11. Cheng, Fanyong & Cui, Can & Cai, Wenjian & Zhang, Xin & Ge, Yuan & Li, Bingxu, 2022. "A novel data-driven air balancing method with energy-saving constraint strategy to minimize the energy consumption of ventilation system," Energy, Elsevier, vol. 239(PB).
    12. Marco Pau & Panagiotis Kapsalis & Zhiyu Pan & George Korbakis & Dario Pellegrino & Antonello Monti, 2022. "MATRYCS—A Big Data Architecture for Advanced Services in the Building Domain," Energies, MDPI, vol. 15(7), pages 1-22, April.
    13. Hany Habbak & Mohamed Mahmoud & Khaled Metwally & Mostafa M. Fouda & Mohamed I. Ibrahem, 2023. "Load Forecasting Techniques and Their Applications in Smart Grids," Energies, MDPI, vol. 16(3), pages 1-33, February.
    14. Zhao, Haitao & Ezeh, Collins I. & Ren, Weijia & Li, Wentao & Pang, Cheng Heng & Zheng, Chenghang & Gao, Xiang & Wu, Tao, 2019. "Integration of machine learning approaches for accelerated discovery of transition-metal dichalcogenides as Hg0 sensing materials," Applied Energy, Elsevier, vol. 254(C).
    15. Gohar Gholamibozanjani & Mohammed Farid, 2021. "A Critical Review on the Control Strategies Applied to PCM-Enhanced Buildings," Energies, MDPI, vol. 14(7), pages 1-39, March.
    16. Mahmud, Arafat & Dhrubo, Ehsan Ahmed & Ahmed, S. Shahnawaz & Chowdhury, Abdul Hasib & Hossain, Md. Farhad & Rahman, Hamidur & Masood, Nahid-Al, 2022. "Energy conservation for existing cooling and lighting loads," Energy, Elsevier, vol. 255(C).
    17. Jing, Gang & Cai, Wenjian & Zhang, Xin & Cui, Can & Yin, Xiaohong & Xian, Huacai, 2019. "Modeling, air balancing and optimal pressure set-point selection for the ventilation system with minimized energy consumption," Applied Energy, Elsevier, vol. 236(C), pages 574-589.
    18. Tomasz Szul & Sylwester Tabor & Krzysztof Pancerz, 2021. "Application of the BORUTA Algorithm to Input Data Selection for a Model Based on Rough Set Theory (RST) to Prediction Energy Consumption for Building Heating," Energies, MDPI, vol. 14(10), pages 1-13, May.
    19. Md Mijanur Rahman & Mohammad Shakeri & Sieh Kiong Tiong & Fatema Khatun & Nowshad Amin & Jagadeesh Pasupuleti & Mohammad Kamrul Hasan, 2021. "Prospective Methodologies in Hybrid Renewable Energy Systems for Energy Prediction Using Artificial Neural Networks," Sustainability, MDPI, vol. 13(4), pages 1-28, February.
    20. Liang, Xinbin & Chen, Siliang & Zhu, Xu & Jin, Xinqiao & Du, Zhimin, 2023. "Domain knowledge decomposition of building energy consumption and a hybrid data-driven model for 24-h ahead predictions," Applied Energy, Elsevier, vol. 344(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:14:y:2022:i:21:p:14644-:d:965629. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.