Profile
International Journal of Mechanical Systems Engineering Volume 3 (2017), Article ID 3:IJMSE-123, 4 pages
http://dx.doi.org/10.15344/2455-7412/2017/123
Review Article
Estimation of Occupancy in a Naturally Ventilated Room using Bayesian Method Based on CO2 Concentration

Haolia Rahman and Hwataik Han*

Mechanical Engineering, Kookmin University, 77 Jeongneung-ro, Seongbuk-gu, Seoul, 136-702, Korea
Prof. Hwataik Han, Mechanical Engineering, Kookmin University, 77 Jeongneung-ro, Seongbuk-gu, Seoul, 136-702, Korea, Tel: 821072114687; E-mail: hhan@kookmin.ac.kr
17 October 2017; 25 November 2017; 27 November 2017
Rahman H, Han H (2017) Estimation of Occupancy in a Naturally Ventilated Room using Bayesian Method Based on CO2 Concentration. Int J Mech Syst Eng 3: 123. https://doi.org/10.15344/2455-7412/2017/123
This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2016R1D1A1B01009625).

Abstract

We introduce a Bayesian Markov chain Monte Carlo approach for occupancy estimation in a room with an immeasurable ventilation rate, with the objective of investigating the effects of ventilation estimation and uncertainty in CO2 data on the occupancy estimation. Measured CO2 concentrations are used as inputs for the Bayesian estimation and ventilation calculation. The ventilation rate is obtained quantitatively by the concentration decay and the sum-up methods. The ventilation rate is determined by the decay rates at night with no occupancy and by sum up the average concentration level during a day with known occupancy. The Bayesian calculation uses a mathematical model based on the dynamic CO2 mass-balance equation in space. The result shows that the accuracy of occupancy estimation depends upon the estimate of ventilation rate, as well as the uncertainty in CO2 measurements.


1. Introduction

Occupancy information is useful for building management to operate lighting and ventilation systems with a view to reduce operational cost [1,2]. Furthermore, real-time occupancy monitoring can assume paramount importance during emergency evacuation [3].

Additional equipment and procedures are required to obtain occupancy information in a given space; such equipment may include video cameras, radio-frequency identification tags, and passive infrared sensors. However, these devices can potentially disturb privacy and are limited only to observing certain areas. Carbon dioxide sensors used for indoor environmental monitoring purposes may have better performance in eliminating the aforementioned drawbacks although they have high uncertainty and slow response characteristics.

Therefore, various post-processing methods have been developed to estimate the number of occupants. Mumma [4] used CO2 measurement to determine the number of occupants for variable air volume (VAV) applications. Based on a mass-balance equation for the contaminant, a transient equation was used to accurately detect occupants, and only the steady-state terms were used when the transient method results in oscillation of the estimated occupancy. Methods based on neural networks [5] also work well to estimate the number of occupants but require a large amount of data for the preliminary training phases.

Our aim is to develop a Bayesian method that relies on a mathematical model and does not require a training phase. However, detailed parameters concerning input models such as ventilation rates are required. In this study, the occupancy profiles in rooms with immeasurable ventilation are estimated based upon CO2- concentration profiles. The CO2 concentration profiles obtained over seven days were also used to obtain the appraisal ventilation rate by decay and sum-up methods. We investigate the effect of both the ventilation rate methods upon the estimated number of occupants.

2. Methods

2.1 Model development

The model space is a seminar room with a total volume of 159 m3. The room is located on the third floor of the engineering building at the Kookmin University. One side of the room’s wall is exposed to the outdoor environment with four operable windows that were kept closed during the measurement. There is no mechanical ventilation system for the room. Adjacent rooms are present on both sides and the hallway is connected to the fourth side of the room, as illustrated in Figure 1.

figure 1
Figure 1: Space layout.

2.2 Bayesian Markov-chain Monte Carlo (MCMC) approach

The Bayesian MCMC approach is a stochastic simulation technique for computing inferential quantities. According to the Bayesian method, the posterior probability is computed on the basis of the prior probability and the likelihood function is derived from a probability model for the data to be observed. The posterior-distribution relation is given by a combination of the prior distribution and the likelihood as

π( N|C )= π( N )f( C|N ) π( N )f( C|N )dN

where π(N) is the prior probability of proposed number of occupants and f(C|N) is the likelihood of observing CO2 given number of occupants. π(N|C) is the posterior probability of the number of occupants. Carbon concentration in the room is generated by the CO2 mass-balance equation as follows:

V dC( t ) dt = m ˙ N+Q( C out C t1 )

where V is the volume of the room, m is the CO2-generation rate per person, N represents the number of occupants, Q is ventilationrate, and Cout is outdoor CO2 concentration. The dynamic model as a solution of Eq. (2), which is used to generate the likelihood function, can be expressed as

C t =α· C tΔt +( 1α )· C

The concentration at the current time step, Ct, is determined by the concentration at the previous time step, Ct-Δt and the steady concentration, C =( C SA + m ˙ N i Q i ) . The weighting factor, α=( e Q i V i Δt ) , depends upon the air-exchange rate, i, and the time step, Δt. We used the informative Bayesian prior of N with a calculation time step of 3 min.

We input the prior information based on the most likely occurrences in the observed system, which should approximate the true values as closely as possible. In this study, the prior of N was uniformly distributed with minimum and maximum levels of 0 and 25 persons, respectively. The remaining prior information was assumed to have a Gaussian distribution. The mean of the prior probability, m, was assumed to be 0.553 g/min, equivalent to sitting with a standard deviation of 30%. We set the mean and the standard deviation of the prior Q according to the measured steady-state-ventilation rate in section 2.3. The means of the prior concentrations of CO2 outdoors and CO2 background is 480 PPM at 5% standard deviation. The MH-MCMC algorithm for each time step is shown in Figure 2. We performed 10,000 iterations to collect 5,000 posterior samples after a burn-in period comprising the first 5,000 iterations.

figure 2
Figure 2: The MH-MCMC algorithm.

2.3 Quantification of the ventilation rate

The prior information used to calculate the Bayesian model should be identified with high specificity in order to avoid over- and underestimation. However, some parameters cannot be measured accurately due to uncontrollable characteristics. For instance, there could be difficulties measuring and controlling the ventilation rate in a space without a ducting system. Infiltration takes place through cracks in the walls and windows depending on the outdoor-wind conditions. In this study, the ventilation rate is determined using two methods: the concentration decay method and the sum-up method. Both the methods evaluate CO2 levels with respect to time. CO2 concentration was recorded minutely for seven days during typical weekdays in the observed room. The alteration of CO2 concentration is illustrated in Figure 3.

figure 3
Figure 3: CO2 concentration measured in the space over seven days.

The concentration decay method is commonly used to measure the ventilation rate by applying a tracer gas technique [6]. We utilize the CO2 naturally generated by humans as a tracer gas. The ventilation rate is estimated by analyzing the concentration decay rate at the end of each day.

The space concentration decays down to the background concentration after unoccupied time due to dilution of outdoor concentration. Assuming that the space concentration is mixed uniformly and the ventilation rate is constant, the exponential decay from Figure 4 can be observed. The decay concentration is normalized from the observed period as

C n = C ( t ) C out C 0 C out ,

figure 4
Figure 4: Log-normalized concentration of selected periods.

where CO is the initial concentration at the start of the decay observation period. The log-normalized concentration during the selected period is illustrated in Figure 4. The slopes of linear fitting in the figure represent the air-exchange rates summarized in Table 1. The steady-state-ventilation rate can be obtained by averaging the seven observed air-exchange rates and then multiplying the result by the given space volume. The calculated ventilation rate was defined to have 0.60 ACH (1.6 ±0.74 m3/min) with a standard deviation of 0.74 m3/min or 46% of the mean.

table 1
Table 1: Specific airflow rates calculated from various decay periods.

The sum-up method integrating total CO2 generation rate and number of occupant over the concentration deference between indoor and outdoor as formulated in Eq. 5. A summary of the appraised ventilation rates obtained by the sum-up method is shown in Table 2. The average of ventilation rate is 1.52 m3/min and the standard deviation is 0.30 m3/min or 20% from the mean:

Q ¯ = t=i t=f ( m ˙ N (t) )dt t=i t=f ( C (t) C out )dt

table 2
Table 2: Calculation summary of daily ventilation rate by the sum-up method.

3. Occupancy Estimation

Each ventilation rate appraisal is used as a prior input for Bayesian estimation. The mean values of Q obtained from the decay and sumup methods are similar, but the standard deviation between them has a large difference. The occupancy estimation using the Q prior of the decay method is shown in Figure 5. A wide standard deviation in the Q prior produces severe fluctuation in the occupation time. Figure 6 shows occupancy estimation using the Q prior according to the sumup method. Estimation with this method fluctuates less compared to the decay method. Error estimates using the Q priors of the decay and sum-up methods are 138% and 130%, respectively. The high error shown by both methods may result from variation of the ventilation rate at each time step. However, both methods produce highly valuable information concerning space-ventilation characteristics and the estimation profile also showed good agreement with the real occupancy schedule.

figure 5
Figure 5: Occupancy estimation when ventilation rate is calculated by decay method.
figure 6
Figure 6: Occupancy estimation when the ventilation rate is calculated by the sum-up method.

4. Conclusion

Occupancy estimation based on the measured CO2 concentration has been successfully conducted using the Bayesian MCMC approach. The CO2-concentration profile is also used to quantify the ventilation rate by the concentration decay and sum-up methods. The mean and standard deviation obtained from seven samples of ventilation measurement are used as the input priors for the Bayesian MCMC. Wide standard deviations of the ventilation rates measured using the decay method reduce the accuracy of Bayesian estimation through severe fluctuations and a narrow standard deviation produced by the sum-up method can offset the estimation. Quantification of the ventilation rate using the concentration decay and sum-up approaches produces reasonable Bayesian estimation results with similar error values.

Competing Interests

The authors declare that they have no competing interests.


References

  1. Dodier RH, Henze GP, Tiller DK, Guo X (2006) Building occupancy detection through sensor belief networks. Energy Buildings 38: 1033-1043. View
  2. Kuutti J, Saarikko P, Sepponen RE (2014) Real time building zone occupancy detection and activity visualization utilizing a visitor counting sensor network, in Proc. 11th Int. Conf. Remote Eng. Virtual Instrum. (REV), pp. 219-224. View
  3. Nyarko K, Brown WC (2013) Cloud based passive building occupancy characterization for attack and disaster response, in Proc. IEEE Int. Conf. Technol. Homeland Secur. (HST), pp. 748-753. View
  4. Mumma SA (2004) Transient occupancy ventilation by monitoring CO2. IAQ Applications, pp. 21-23, View
  5. Han H, Jang KJ, Han C, Lee J (2013) Occupancy estimation based on CO2 concentration using dynamic neural network model, AIVC, Athen, Greece. View
  6. Cui S, Cohen M, Stabat P, Marchio D (2015) CO2 tracer gas concentration decay method for measuring air change rate. Building and Environment 84:162-169. View