Professional Documents
Culture Documents
Golestan 2018
Golestan 2018
277
e-Energy ’18, June 12–15, 2018, Karlsruhe, Germany Shadan Golestan, Sepehr Kazemian, and Omid Ardakanian
presents our preliminary results which are sufficiently promising Table 1: Our testbed
that a much broader study of these techniques is warranted. Data Sets Sensors
Building 1 VOC: Volatile organic compounds concentration
2 RELATED WORK
BLE: No. BLE beacons in the range of the receiver
There is a rich and growing corpus of work on estimating the occu- CAL: Calendar with scheduled events
pancy schedules of different rooms in a building. Most related work DAY: Flag indicating a weekday or a weekend
focuses on the application of machine learning and time-series anal-
ysis techniques to detecting human presence and determining the Building 2 CO2 : Carbon-dioxide concentration
number of occupants in a single room or a multistory building [2– Damper POS: VAV Damper position
5, 8, 13, 18, 19, 25]. Our approach is similar to these data-driven
methods have been used in the past to solve the binary occupancy
modelling techniques with two main differences. First, we adopt
detection problem [5, 18]. In this paper, the filtering problem of
particle filters and dynamic neural networks, which are powerful
interest is how to incorporate measurements of different sensors to
techniques for estimating hidden states in nonlinear dynamical sys-
estimate of the number of occupants of each room.
tems. Second, we compare the accuracy of these methods on two
In general, two models are required to estimate the hidden state
data sets with common and dedicated sensors. To our knowledge,
using a particle filter: a model describing the evolution of the state
these techniques have not been compared in previous work with
with time (the system model) and a model relating the noisy mea-
respect to the accuracy of predicting the number of occupants.
surements to the hidden state (the measurement model). The particle
In addition to the data-driven models, related work has uti-
filter represents the posterior occupancy state of a room by a set of
lized physics-based models of the indoor environment, such as the [s]
Resistance-Capacitance (RC) model [12, 21], to infer the occupancy random state samples or particles (x t with 1 ≤ s ≤ S) drawn from
schedules of a building from experimental or simulated data. The the system model, and assigns weights to these samples according
advantage of such models is their high granularity of temperature to the measurement model which represents the reliability of each
modeling, but they are high-dimensional and must be customized sensor. Assuming a Markov process of order one, the recursive
for each room, rendering them computationally expensive. Bayesian estimation can be written as:
278
Data-Driven Models for Building Occupancy Estimation e-Energy ’18, June 12–15, 2018, Karlsruhe, Germany
Multilayer Table 2: The RMSE of PF and NARX methods (Ri is the ith
perceptron room in Building 2)
Zt Xt
with one Building 2
Method Building 1
hidden layer R1 R2 R3 R4
X t −1:t −d PF 0.4 1.5 0.8 1.4 2.9
NARX 0.3 0.4 0.4 0.5 0.8
Figure 1: Time Series Neural Network block diagram. Maximum no. occupants 7 29 35 39 67
Average no. occupants 0.4 2.7 2.5 3.6 7.4
where b E(Z ti |X t = x) and V(Z
b i |X t = x) are the estimated condi-
t Peak-to-avg. occ. ratio 0.06 0.09 0.07 0.09 0.11
tional mean and variance of the ith sensor, respectively.
Algorithm 1 [22] describes the PF algorithm. Note that the more
accurately a particle estimates the state, the higher weight (impor-
tance) it would get.
279
e-Energy ’18, June 12–15, 2018, Karlsruhe, Germany Shadan Golestan, Sepehr Kazemian, and Omid Ardakanian
5 DISCUSSION
Data-driven occupancy modelling techniques show great promise
in both residential and commercial buildings equipped with ded-
icated and common occupancy-indicative sensors. As shown in
Table 2, both PF and NARX models exhibit better performance on
Building 1. This can be partly attributed to the dedicated occupancy-
indicative sensors that were installed in this building; however, it
can also be due to the fact that we had fewer occupants in this
building. We cannot draw a conclusion without analyzing data
from a building that has a higher typical occupancy level and is
equipped with dedicated sensors. In any case, both techniques also
exhibit acceptable performance on Building 2, which has a higher
Figure 5: Estimated occupancy count using NARX in Build- occupancy level and only includes commonly available sensors.
ing 2, Room 4 | RMSE = 0.8 There is an inherent trade-off between the complexity of a model
returned to two. The algorithm missed this rapid change in occu- and its predictive accuracy. However, although physics-based mod-
pancy. This can also be seen in Figure 4. In addition, the predicted els are typically more accurate, our findings confirm that black-box
occupancy count decreases gradually when the room becomes un- models can achieve comparable performance with much less train-
occupied. These two observations can be attributed to the fact that ing effort. Thus, they should be seen as contenders to complex
the CO2 concentration level builds up and drops slowly. Further- physics-based models which must be customized per room.
more, the PF algorithm predicts the occupancy slightly ahead of
the actual incident in Building 1. We attribute this to the fact that
6 CONCLUSIONS
we take scheduled events (from the calendar) into account when Modern buildings are increasingly being instrumented with a myr-
we train the models. Thus, when there is a scheduled event, the iad of networked sensors to gain more insight into their operation.
probability of seeing a change in the occupancy state increases. However, modelling and estimation of building occupancy is still
It should be noted that although NARX outperforms PF in both an open problem due to the highly uncertain and complex nature
data sets, its predicted occupancy starts to fluctuate when number of occupancy dynamics and variations seen across multiple time
of occupants increases to seven in Building 1; this is evident in scales. We developed two data-driven occupancy models by fusing
Figure 3. We further study how the room occupancy level affects data from dedicated and commonly available occupancy-indicative
the prediction accuracy of our methods. In particular, running the sensors. Using data collected from two test buildings, we showed
PF method with 1000 particles on Room 1 of Building 2, gives an that these models are capable of predicting the number of occu-
RMSE of 0.72 when there are only 23 occupants in that room. Given pants in each room with a high accuracy. This paper presents our
that the maximum occupancy of Room 1 is 29, we can conclude that preliminary results and discusses several issues that will be ad-
the PF algorithm makes more erroneous predictions as the number dressed in future work. We plan to compare the performance of
of occupants increases. these black-box models with physics-based models on a larger data
The performance of the PF method depends on the number set to understand how much we can improve the prediction accu-
of particles that it uses to represent the posterior. To study the racy by increasing the model complexity. Furthermore, we intend
sensitivity of the results to the number of particles, we run the to quantify the potential energy savings associated with the im-
PF algorithm with different numbers of particles on Building 2 plementation of a learning-based model predictive control scheme
(Room 1 and Room 4) where the algorithm performed relatively that relies on the obtained occupancy models.
poorly. Table 3 shows the average RMSE over 10 runs for each 4 The standard deviation is very small (∼ 50s).
280
Data-Driven Models for Building Occupancy Estimation e-Energy ’18, June 12–15, 2018, Karlsruhe, Germany
REFERENCES [23] Amee Trivedi, Jeremy Gummeson, David Irwin, Deepak Ganesan, and Prashant
[1] Yuvraj Agarwal, Bharathan Balaji, Seemanta Dutta, Rajesh K. Gupta, and Thomas Shenoy. 2017. iSchedule: Campus-scale HVAC scheduling via mobile WiFi moni-
Weng. 2011. Duty-cycling buildings aggressively: The next frontier in HVAC toring. In Proc. 8th International Conference on Future Energy Systems (e-Energy).
control. In Proc. 10th International Conference on Information Processing in Sensor ACM, 132–142.
Networks (IPSN). ACM/IEEE, 246–257. [24] United Nations Environmental Programme, Sustainable Buildings and Climate
[2] Omid Ardakanian, Arka Bhattacharya, and David Culler. 2016. Non-intrusive Initiative. 2009. Buildings and climate change: Summary for decision-makers.
techniques for establishing occupancy related energy savings in commercial [25] Datong P. Zhou, Qie Hu, and Claire Tomlin. 2017. Quantitative comparison of
buildings. In Proc. 3rd International Conference on Systems for Energy-Efficient data-driven and physics-based models for commercial building HVAC systems.
Built Environments (BuildSys). ACM, 21–30. In Proc. American Control Conference. 2900–2906.
[3] Irvan B Arief-Ang, Flora D Salim, and Margaret Hamilton. 2017. DA-HOC:
Semi-Supervised Domain Adaptation for Room Occupancy Prediction using CO2
Sensor Data. In Proc. 4th International Conference on Systems for Energy-Efficient
Built Environments (BuildSys). ACM, In Press.
[4] Neal Master Jay Taneja David Culler Aswani, Anil and Claire Tomlin. 2012.
Reducing transient and steady state electricity consumption in HVAC using
learning-based model-predictive control. Proc. IEEE 100, 1 (Jan. 2012), 240–253.
[5] Luis M. Candanedo, VÃľronique Feldheim, and Dominique Deramaix. 2017. A
methodology based on Hidden Markov Models for occupancy detection and
a case study in a low energy residential building. Energy and Buildings 148,
Supplement C (2017), 327–341.
[6] Wen-Kuei Chang and Tianzhen Hong. 2013. Statistical analysis and modeling of
occupancy patterns in open-plan offices using measured lighting-switch data.
Building Simulation 6, 1 (Mar. 2013), 23–32.
[7] Georg Dorffner. 1996. Neural networks for time series processing. 6 (1996),
447–468.
[8] Varick L. Erickson, Stefan Achleitner, and Alberto E. Cerpa. 2013. POEM: Power-
efficient occupancy-based energy management system. In Proc. 12th International
Conference on Information Processing in Sensor Networks (IPSN). ACM/IEEE, 203–
216.
[9] Varick L. Erickson, Miguel Á. Carreira-Perpinán, and Alberto E. Cerpa. 2011.
OBSERVE: Occupancy-based system for efficient reduction of HVAC energy. In
Proc. 10th International Conference on Information Processing in Sensor Networks
(IPSN). ACM/IEEE, 258–269.
[10] Florian Fiebig, Sebastian Kochanneck, Ingo Mauser, and Hartmut Schmeck. 2017.
Detecting occupancy in smart buildings by data fusion from low-cost sensors:
poster description. In Proc. 8th International Conference on Future Energy Systems
(e-Energy). ACM, 259–261.
[11] Sunil K. Ghai, Lakshmi V. Thanayankizil, Deva P. Seetharam, and Dipanjan
Chakraborty. 2012. Occupancy detection in commercial buildings using oppor-
tunistic context sources. In Pervasive Computing and Communications Workshops.
IEEE, 463–466.
[12] Qie Hu, Frauke Oldewurtel, Maximilian Balandat, Evangelos Vrettos, Datong
Zhou, and Claire J Tomlin. 2016. Building model identification during regular
operation - empirical results and challenges. In Proc. American Control Conference.
605–610.
[13] Ming Jin, Nikolaos Bekiaris-Liberis, Kevin Weekly, Costas Spanos, and Alexandre
Bayen. 2015. Sensing by Proxy: Occupancy Detection Based on Indoor CO2 Con-
centration. In Proc. 9th International Conference on Mobile Ubiquitous Computing,
Systems, Services and Technologies. 1–10.
[14] KIT. Accessed Jan. 2018. KIT Energy Smart Home Lab. Online https://github.
com/aifb/eshl-occupancy/. (Accessed Jan. 2018).
[15] MATLAB. 2018. Toolbox for TSNN. Online https://www.mathworks.com/help/
nnet/modeling-and-prediction-with-narx-and-time-delay-networks.html.
(2018).
[16] Jorge J Moré. 1978. The Levenberg-Marquardt algorithm: Implementation and
theory. In Numerical analysis. Springer, 105–116.
[17] Bill Von Neida, Dorene Manicria, and Allan Tweed. 2001. An Analysis of the En-
ergy and Cost Savings Potential of Occupancy Sensors for Commercial Lighting
Systems. Illuminating Engineering Society 30, 2 (2001), 111–125.
[18] Jose Luis Gomez Ortega, Liangxiu Han, and Nicholas Bowring. 2016. A novel
dynamic hidden semi-Markov model (D-HSMM) for occupancy pattern detec-
tion from sensor data stream. In Proc. 8th IFIP International Conference on New
Technologies, Mobility and Security (NTMS). 1–5.
[19] Yuzhen Peng, Adam Rysanek, Zoltán Nagy, and Arno Schlüter. 2018. Using
machine learning techniques for occupancy-prediction-based cooling control in
office buildings. Applied Energy 211 (2018), 1343–1358.
[20] Luis Pérez-Lombard, José Ortiz, and Christine Pout. 2008. A review on buildings
energy consumption information. Energy and Buildings 40, 3 (2008), 394–398.
[21] Fisayo C. Sangogboye, Krzysztof Arendt, Ashok Singh, Christian T. Veje,
Mikkel Baun Kjærgaard, and Bo Nørregaard Jørgensen. 2017. Performance
comparison of occupancy count estimation and prediction with common versus
dedicated sensors for building model predictive control. Building Simulation 10,
6 (Dec. 2017), 829–843.
[22] Sebastian Thrun, Wolfram Burgard, and Dieter Fox. 2005. Probabilistic Robotics
(Intelligent Robotics and Autonomous Agents). The MIT Press.
281