Professional Documents
Culture Documents
Non intrusiveMeasurementMethodfortheWindowOpeningBehavior PDF
Non intrusiveMeasurementMethodfortheWindowOpeningBehavior PDF
Non intrusiveMeasurementMethodfortheWindowOpeningBehavior PDF
net/publication/333383475
CITATIONS READS
21 371
4 authors, including:
Kai Zhang
Nanjing Tech University (China)
77 PUBLICATIONS 606 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Numerical simulation and verification of temperature distribution in underground space View project
All content following this page was uploaded by Fei Li on 29 May 2019.
PII: S0378-7788(19)30004-0
DOI: https://doi.org/10.1016/j.enbuild.2019.05.052
Reference: ENB 9213
Please cite this article as: Hengjie Zheng , Fei Li , Hao Cai , Kai Zhang , Non-intrusive
Measurement Method for the Window Opening Behavior, Energy & Buildings (2019), doi:
https://doi.org/10.1016/j.enbuild.2019.05.052
This is a PDF file of an unedited manuscript that has been accepted for publication. As a service
to our customers we are providing this early version of the manuscript. The manuscript will undergo
copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please
note that during the production process errors may be discovered which could affect the content, and
all legal disclaimers that apply to the journal pertain.
ACCEPTED MANUSCRIPT
T
IP
China
CR
* Corresponding author: Fei Li
Tel: +86-25-83239533;
E-mail: faylee@njtech.edu.cn
US
AN
[Submitted to Energy and Building]
M
ED
PT
CE
AC
1
ACCEPTED MANUSCRIPT
Abstract
The occupant windows opening behavior has a great impact on indoor air quality
behavior and factors that affect it are important for the occupant behavior modeling
T
IP
methods which can achieve large-scale sampling for the window state. An image
recognition code based on MATLAB was used to conduct projective transform of the
CR
building elevation maps, identify the window positions and determine their opening
US
proportions. The method can recognize most of window open states with the error of
8%. Based on this method, the window opening states for a hospital building from
AN
August to December in 2018 (about 6,000 samples) was collected. Then the
M
different factors were analyzed. The results showed the outdoor temperature had the
ED
most significant effect, and the frequency of the window opening proportion in the
PT
range of 0.3 to 0.5 within 20°C to 30°C is significantly higher than other temperature
ranges. This large-scale sampling method proposed in this paper provided a powerful
CE
2
ACCEPTED MANUSCRIPT
1. Introduction
People spend about two-thirds of their time indoors[1]. Therefore, a good indoor
environment must be ensured in order to improve their health and life quality. Natural
ventilation is the most common ventilation mode[2] and always used to introduce
outdoor fresh air, discharge pollutants and improve indoor thermal comfort[3]. In
T
IP
addition, the natural ventilation also has a significant impact on the building energy
consumption[4]. Huang[2] reported this was an important cause for heating energy
CR
increase in cold area of China. Wang[5] found the HVAC (Heating, Ventilation and
US
Air Conditioning) energy could be saved of 17–47% with mixed-mode ventilation
behavior[6]. Therefore, to better understand the occupant interaction with the window
controls and build more efficient statistic model, it needs large sampling for window
ED
opening behavior and factors that affect it. This is important for designing healthier
PT
For the window state detection, there are generally two main methods. One
CE
method is to monitor the open or closed state of windows through the magnetic
AC
switch[7, 8]. The other method is to monitor the window opening proportion based on
laser technology[9]. In this way, the target window status can be monitored in real
time. However, these methods have limited sample sizes due to the cost and intrusive
installation of the sampling devices, and the intrusive installation may also interfere
with the occupant window opening behavior. Besides,Rijal et al. [10] obtained the
3
ACCEPTED MANUSCRIPT
status of 15 office buildings through field surveys, and determined the status of the
window through the surveys and questionnaires. But it takes a long time, and the
Image processing and recognition technology has been applied in the facial
T
segmenting, filtering, and the like. Wang et al.[11] used image recognition technology
IP
to accurately locate facial feature points, proposed fatigue classification algorithm to
CR
analyze the fatigue degree of the personnel. The model accuracy was 87.82%. Sui et
US
al.[12] used wavelet transform in image processing tools to establish an image
processing schemes to analyze the occupancy of personnel seats in the report hall. By
ED
comparison, the method with the lowest number of wrong decisions is the improved
PT
average of 10.4 wrong decisions on 120 seats. O'Brien et al.[14] analyzed the
CE
potential benefits of building facade drapes. The image processing tool is used to
AC
correct and recognize the captured image to obtain the façade utilization of the
building. The recognition error of each façade is about 5%. These studies demonstrate
4
ACCEPTED MANUSCRIPT
program to obtain the window states of the whole building. In addition, based on the
field-sampling data, the effects of outdoor temperature, relative humidity and PM2.5
T
IP
The image recognition technology was used to calculate and record the window
CR
states. This method has three steps: 1) photography, 2) photograph pre-processing, 3)
image recognition.
2.1 Photography US
AN
The building facades were captured by photography and converted to a digital
University and a hospital building in Nanjing. For the dormitory and hospital building,
ED
a lot of people lived in, and the occupant behavior could fully affect the window
opening states. Besides, these building facades were regular and easy to be shot. The
PT
sampling time was from August to December in 2018, and the sampling frequency
CE
was one per hour, from 8 am to 5 pm. During this measurement period, outdoor
temperature, relative humidity, PM2.5 concentration, wind speed and direction were
AC
also recorded.
be normal to the surface, the photograph was always not taken at a perfect angle.
Therefore, a projection transformation using MATLAB was used to correct the facade
5
ACCEPTED MANUSCRIPT
of projective spaces.
T
IP
CR
US
Fig. 1 Schematic of the projection transformation
AN
The principle of projection transformation is shown in Fig. 1. Points A’, B’, C’,
where x' is the coordinate point on the plane after the projection transformation; h is a
homogeneous matrix; x is the coordinate point on the original plane. In our method,
firstly, the image is converted to gray scale to reduce the complexity of image
recognition. Then, the pixel coordinates of the facade were determined by selecting
four corners of the image. Finally, the projection transformation based on MATLAB
6
ACCEPTED MANUSCRIPT
code was used to correct each photo according to the selected coordinates. After the
projection transformation, the sizes of windows in the final image were equal (Fig. 4).
The pixel intensity of the open window portion has obvious difference with the
closed part. Therefore, a recognition algorithm was established to identify the window
T
opening state in each image based on the pixel intensity.
IP
As shown in Fig. 2, X axis and Y axis are the height and width of the window
CR
respectively, the colorful contour is the pixel intensity distribution. The left window is
US
closed, and the right window is opened. A pixel threshold is needed to accurately
distinguish the pixel intensity value between the open and closed parts of the window.
AN
M
ED
PT
CE
Fig. 2 Window image (left) and the window pixel intensity distribution (right)
AC
states. Fig. 3 shows the histogram of the window pixel intensity, X axis is the pixel
intensity value,and Y axis is the number of pixel intensity. Two main pixel intensity
peaks are shown in the Fig. 3. The left peak is the pixel intensity for the open part
7
ACCEPTED MANUSCRIPT
with the highest probability density, and the right peak is the pixel intensity for the
close part with the highest probability density. The selected pixel threshold is the
middle pixel intensity (black point in Fig. 3). For different windows, the pixel
T
IP
CR
US
AN
By calculating the number of pixel intensities for the open part and the entire
window, the opening proportion could be determined. However, due to the variation
PT
of the pixel intensity for similar objects, the pixel threshold cannot be universally
CE
a window. In addition, during the identification process, the threshold selection for
AC
each picture should takes into account the weather factor. The pixel threshold can be
manually modified depending on the weather conditions at different times though the
method above.
8
ACCEPTED MANUSCRIPT
3. Analysis of variance
This study selected the data collection in the hospital building for data analysis.
6,000 sample data of the window opening states. During this sampling, outdoor
temperature, relative humidity and PM2.5 concentration around the target building
T
IP
were recorded simultaneously. The theory of variance analysis was used to conduct
the significant analysis of the influencing factors on the window opening behavior.
CR
The variance analysis can identify whether there is a significant difference in the
US
observed variables with different control variables. The analysis of variance process
where μk is the mean of the kth level; H0 indicates there is no significant difference
sum of squares between levels (SSA) and the sum of squares within levels (SSE):
Where k is the number of levels, 𝑥̅𝑖 is the sample mean of the ith level; 𝑛𝑖 is the
9
ACCEPTED MANUSCRIPT
sample size of the ith level; 𝑥̿ is the overall mean; 𝑥𝑖𝑗 is the jth observation of the ith
level. SSE is a measure of the variation of the data within the treatment levels, and
T
where n is the number of all observations. The value of Eq. (9) is compared with the
IP
threshold Fα at a given significance level α. If F>Fα, H0 is rejected, and the control
CR
variable is considered to have a significant influence on the observed values; if F< Fα,
US
H0 is accepted, and it is not possible to determine that the control variable has a
Taking the dormitory for example, the results of projection transformation on the
10
ACCEPTED MANUSCRIPT
projection transformation, and the windows are marked by red boxes. The window
T
2.3. However, due to the window reflections, some errors will occur, and we need
IP
handle it manually.
CR
Table.1 Pixel threshold selection for four windows
Window
number
Average
window pixel
Average pixel
value of the
US
Average pixel
value of the
Pixel
threshold
Window picture
AN
intensity open part closed part
1 87.64 40.12 104.02 45
2 107.89 0 107.89 45
M
3 90.64 0 90.64 60
ED
We use four window states to illustrate the distribution of pixel intensity and
CE
threshold selection. Table.1 shows the pixel intensity distribution for different
windows, and the pixel thresholds were selected based on the histograms of pixel
AC
intensity shown in Fig. 3. For fully closed and open windows, such as No. 2 and No. 3,
their pixel thresholds were set as the values of their surrounding window.
X1 X2 X3 X4 X5 X6
11
ACCEPTED MANUSCRIPT
T
Y8 1.00 0.89 0.96 0.77* (1.00) 1.00 1.00
IP
Y9 0.95 1.00 0.93 0.87 1.00 1.00
CR
Y10 1.00 0.78* (1.00) 0.87 0.00 1.00 1.00
US
AN
Table 2 shows the calculated results of the window opening proportion on the
façade of the building in Fig. 4. X and Y axes are their corresponding positions.
M
Compared with the data handled manually, if the difference of the opening proportion
ED
is larger than 0.2, this calculated result is regarded as an error. In the table, the marked
values are the data with large errors, and the corrected values are shown in
PT
The non-intrusive image recognition method was used to collect the states of the
AC
shown in Fig. 5. The frequency is the ratio of the number of windows with assigned
12
ACCEPTED MANUSCRIPT
T
IP
CR
(a)
US
AN
M
ED
(b)
PT
Fig.5 (a) shows the window opening proportion distribution for the hospital
AC
building under different outdoor temperature levels. We divide the temperature from 5℃
to 35°C into five intervals. It can be seen that in 20°C to 25°C, the frequency of larger
opening proportions (0.3 to 0.5) is relatively higher. This is because the outdoor
temperature is comfortable at this range, and it is the most suitable for natural
ventilation. But in the hot summer, as outdoor temperatures gradually rise, occupants
13
ACCEPTED MANUSCRIPT
begin to use air conditioning to regulate the indoor environment and reduce the use of
zero) between 30°C and 34°C is the largest (about 0.73); and the frequency of larger
opening proportion in the range of 0.3 to 0.5 within 20°C to 30°C is significantly
T
higher than other temperature ranges. Fig.5 (b) shows window opening proportion
IP
distribution at different outdoor relative humidity levels. When the relative humidity
CR
is in the range of 30% to 45%, the frequency of the larger window opening
US
proportions (0.3 to 0.5) is higher due to the comfortable outdoor air as well. However,
when the relative humidity is between 75% and 90%, the outdoor air is muggy in
AN
Nanjing district, and people tend to use air conditioning with windows closed which
M
From Fig.5, it is also found that the frequency of closed windows is the highest,
ED
and the opening proportions is mainly in the range of 0.2 to 0.4. This is because for
PT
the hospital building, some high-rise rooms rarely opened windows, and in order to
prevent the patients from catching cold, the window opening proportion was always
CE
small. Shi[7] also found that the windows mostly had a small opening state, and most
AC
of the window opening periods were in the temperature range of 20℃ to 25℃ in a
hospital building. In our study, much more window states were monitored, and the
results as shown in Fig (5) can exhibit the window opening behavior throughout the
whole building. Rijal et al[10] monitored the window status of 15 buildings in UK.
The results indicated that almost every building had open windows accounting for 20%
14
ACCEPTED MANUSCRIPT
to 50% of the total windows, which was similar as our results. But they didn’t
measure the window opening proportion. Wang et al[15] reported that the opening
proportion of the window had a significant impact on the natural ventilation rate of
the building. And the influence of air change rates on indoor air quality was also
observable[16, 17,18].
T
Table.3 Analysis of variance for influence factors
IP
Factor VIF SS df MS F P-value F crit
CR
Tout (℃) 1.32 8.54 4 2.14 99.83 0.00** 2.38
RH (%) 1.62 0.93 3 0.31 14.18 0.00** 2.61
PM2.5 (μg/m3) 0.00**
Tout and RH
Tout and PM2.5
1.88 1.32
1.14
0.10
US 2
4
2
0.66
0.28
0.05
34.35
13.33
2.97
0.01*
0.05
3.01
2.38
3.01
AN
RH and PM2.5 0.06 1 0.06 2.61 0.11 3.87
(Dependent variable: Window opening proportion) *: P<0.05 **: P<0.01
Tout: Outdoor temperature; RH: Relative humidity
M
The variance inflation factor was used to prove the multi-collinearity problem
ED
humidity, and PM2.5 have a significant effect on window opening proportion (F>F
crit, P<0.01). The outdoor temperature has the greatest impact on the window open
CE
proportion. Besides, the interaction of outdoor temperature and relative humidity has
AC
an effect on the window opening behavior (F>F crit , P<0.05). This result illustrates
4.3 Discussion
errors of the window state recognition mainly results from the selection of pixel
15
ACCEPTED MANUSCRIPT
threshold value. Though we have select the pixel thresholds based on pixel intensity
analysis, the calculated window opening proportions still have some errors. This is
mainly because threshold values of different windows vary, and the gradients of pixel
values are low. Therefore, the image recognition algorithm requires some manual
operations for calibration. At present, this method only can be used to monitor and
T
analyze the sliding type window, and the window distribution on the facade is
IP
required to be regular. In the further study, maybe we can introduce the face
CR
recognition technology, such as CNN (Convolutional Neural Network), to the
US
building recognition field. Personal privacy is another issue when photographing the
building. Therefore, this technology is only used to investigate the window opening
AN
behavior for public buildings such as office buildings and hospitals at present.
M
5. Conclusion
ED
opening states. An image recognition code was established to identify the opening
PT
proportions of windows on the building facade. The accuracy of this method in this
CE
study reached 92%, and its error mainly resulted from low pixel intensity gradients
and window reflection. The collected data for the window opening states of a hospital
AC
building in Nanjing were investigated. The results showed that when the outdoor
to 0.5) is relatively higher. In the hot summer (30 °C ~34 °C), the frequency of closed
window is the largest (about 0.73), and the frequency of larger window opening
addition, the analysis of variance theory showed that the outdoor temperature, relative
humidity and PM2.5 concentration had a significant impact on the window open
behavior, and the outdoor temperature had the most significant effect.
The non-intrusive window state measurement method can obtain more samples
than traditional methods and get the window opening proportions of different rooms
T
at the same time. This is of great significance in understanding the utilization of
IP
natural ventilation in the entire building. The data acquisition method proposed in this
CR
paper also can be used to collect the big data for developing and validating the
Acknowledgements
US
AN
This study was supported by the National Natural Science Foundation of China
M
(Grant No. 51708286), and the Natural Science Foundation of Jiangsu Province (No.
ED
BK20171015). This study was also supported by the National Program on Key Basic
Research Project (973 Program, Grant No. 2015CB058003), the National Natural
PT
References
[1] Y.M. Kim, S. Harrad, R.M. Harrison, Concentrations and sources of VOCs in urban domestic and
public microenvironments, Environ Sci Technol. 2001. 35: p. 997–1004.
[2] K.L. Huang, G.H. Feng, H.X. Li, et al, Opening window issue of residential buildings in winter in
north China: A case study in Shenyang, Energy Build. 2014. 84: p. 567–574.
[3] P. Heiselberg, M. Perino, Short-term airing by natural ventilation - implication on IAQ and thermal
comfort, Indoor Air. 2010. 20: p. 126–140.
[4] T.Z. Hong, S.C. Taylor, S. D'Oca, et al, Advances in research and applications of energy-related
17
ACCEPTED MANUSCRIPT
T
Danish dwellings, Build Environ. 2013. 69: p. 101–113.
IP
[10] H.B. Rijal, P. Tuohy, M.A. Humphreys, et al, Using results from field surveys to predict the effect
of open windows on thermal comfort and energy use in buildings, Energy Build. 2007. 39(7): p.
CR
823-836.
[11] J. Wang, X.P Yu, Q. Liu, et al, Research on key technologies of intelligent transportation based on
image recognition and anti-fatigue driving, EURASIP J Image Video Process. 2019(1): p. 33.
US
[12] K. Sui, H.G. Kim, Research on application of multimedia image processing technology based on
wavelet transform. EURASIP J Image Video Process. 2019(1): p. 24.
[13] G.Brockmann, I.H. EI-Athman, M. Klemke, et al, Comparison of Different Image Processing
AN
Methods Used for a Webcam Based Occupancy Detection for Local Ventilation in a Lecture Hall,
Indoor Air 2018 Conference, Philadelphia, USA.
[14] W. O'Brien, K. Kapsis, A.K. Athienitis, et al, Methodology for quantifying the performance
implications of intelligent shade control in existing buildings in an urban context, SimBuild 2010
M
[17] Y. Zhou, Y.L. Deng, P. Wu, et al, The effects of ventilation and floor heating systems on the
dispersion and deposition of fine particles in an enclosed environment, Build Environ. 2017. 125: p.
CE
192-205.
[18]J.L. Ren, X.D. Cao, J.J. Liu. Impact of atmospheric particulate matter pollutants to IAQ of airport
terminal buildings: A first field study at Tianjin Airport, China[J]. Atmos Environ. 2018. 179: p.
AC
222-226.
18