1. Introduction
In the context of global climate change, China has become the world’s largest emitter of greenhouse gases, thus assuming a significant responsibility in carbon reduction efforts [
1]. In this context, the building sector, as a major consumer of energy, plays a crucial role in achieving low-carbon development. Currently, energy consumption and related carbon emissions from buildings account for more than 50% of China’s total emissions [
2]. Therefore, promoting low-carbon development within the building industry is an essential requirement for achieving carbon reduction goals.
At present, the total floor area of existing buildings in China is approximately 67.7 billion square meters, with residential buildings accounting for around 53.1 billion square meters and public buildings covering approximately 14.7 billion square meters. According to the 2023 Annual Development Report on Building Energy Efficiency in China, although the floor area of public buildings constitutes only one-fifth of the total building stock, its energy consumption intensity is the highest among all building types [
3]. Public buildings currently consume 2.4 times the energy of urban residential buildings and 3 times that of rural residential buildings [
3].
Public buildings in China can be classified into large-scale public buildings (those larger than 20,000 square meters) and ordinary public buildings (those smaller than 20,000 square meters). Large-scale public buildings primarily include commercial and office complexes. The operational conditions of such buildings are relatively stable, with few or no openable windows. Environmental control inside these buildings mainly relies on active systems, such as central air conditioning, and the activities of occupants are relatively simple (e.g., slow walking and conversations), so energy-saving efforts are primarily focused on the building envelope and heating and cooling systems [
4,
5,
6]. In contrast, ordinary public buildings, such as schools, libraries, and single-office buildings, tend to have more variable usage patterns. This variability arises because they often feature openable windows and accommodate a broader range of activities (e.g., exercise, discussions, and group interactions), which results in more diverse methods of energy transfer. These characteristics are especially prominent in educational buildings, such as kindergartens, primary and secondary schools, and university teaching buildings.
In 2022, the total floor area of school buildings in China was approximately 3.1 billion square meters, accounting for 24% of the total public building stock and 50% of the floor area of ordinary public buildings [
7,
8]. Between 2001 and 2021, the growth in the floor area of school buildings was the fastest, with the annual completion of school buildings accounting for 20% of the total area of newly completed public buildings [
9]. Currently, research on building energy efficiency in China primarily focuses on commercial buildings, office buildings, and residential buildings, with relatively limited studies on the energy consumption levels of educational buildings. Furthermore, some of the existing research mainly targets university teaching buildings [
10,
11]. According to the available literature, the energy consumption of educational buildings is approximately 50% of that of office and commercial buildings [
12,
13].
However, it is not reasonable to compare the energy consumption levels of educational buildings to other public buildings using annual averages. This is because educational buildings experience significant downtime during the winter and summer holidays, with about two and a half months each year when the buildings are not in use, leading to a relatively lower annual energy consumption. However, this does not reflect the actual situation. For instance, in southern provinces, such as Zhejiang, Fujian, and Guangdong, air conditioning is typically used from May to October, and after excluding the one and a half months of summer holidays, the air conditioning usage in educational buildings lasts for about three and a half months. In northern regions, the heating period lasts from November to March of the following year, and excluding the one-month winter break, the heating duration for educational buildings is also around three months. When comparing energy consumption based on unit area during the active usage period, the energy consumption level of educational buildings is similar to that of other public buildings, ranging from 50 to 90 kWh/m
2 [
14,
15]. In summer and transitional seasons, the widespread use of active control systems, such as air conditioning and fresh air systems, is relatively low in educational buildings. As a result, many students and teachers rely solely on open windows and electric fans for cooling. Therefore, the relatively lower energy consumption of educational buildings in summer is often a trade-off for indoor comfort.
The occupant density in educational buildings is much higher than that in other types of public buildings. The primary occupants are children and adolescents, who are energetic and characterized by continuous movement, unlike most public buildings where people flow in concentrated patterns. The frequency and duration of the opening of exterior doors in educational buildings far exceed those in other types of ordinary public buildings, making the energy transfer in educational buildings more complex. For example, the continuous movement of people leads to frequent door openings and constant air exchange between indoor and outdoor environments. Additionally, in primary school buildings, children engage in significant physical activities, and collective behaviors (such as group reading and activities) are common. This results in increased heat gain and rising temperatures indoors, which, in the absence of heating adjustments, often leads to the opening and closing of doors and windows.
With the development of the economy and society, there is a growing demand from both parents and schools for improved classroom environments. As a result, more classrooms are being equipped with air conditioners, air purifiers, and fresh air systems. Coupled with the large building stock, high personnel density, continuous movement of people, and substantial indoor temperature fluctuations, it is foreseeable that the energy consumption levels of educational buildings will gradually increase in the future. In conclusion, when designing energy-saving solutions for educational buildings, it is essential to account for a greater number of unstable factors [
16,
17].
Doors and windows, as essential components of a building’s envelope, have a significant relationship with both indoor thermal comfort and energy consumption through the behavior of building occupants in opening and closing them. For instance, opening exterior windows during indoor heating or summer cooling periods leads to increased building energy consumption. Similarly, the frequent opening of classroom doors, without considering the surrounding micro-environment, can result in cold air infiltration in winter or the escape of cooled air in summer; both of which contribute to higher energy consumption. Existing studies have demonstrated that occupant behavior has a notable impact on building energy consumption [
18,
19,
20,
21]. Moreover, when the insulation performance of a building’s envelope reaches a certain level, further increases in insulation thickness or the replacement of high-performance energy-saving doors and windows no longer yield additional energy-saving benefits [
22,
23]. Instead, adjusting the occupant behavior is the key to unlocking further energy-saving potential in buildings [
24]. Therefore, studying the relationship between the opening and closing behaviors of doors and windows in primary and school classrooms, and the energy consumption of educational buildings is essential.
In recent years, numerous scholars have conducted research on window and door-opening behaviors, aiming to explore the influencing factors and predictive models of occupants’ window-opening behaviors. In most of the literature, indoor air quality and comfort are considered the most critical environmental parameters affecting the window-opening/closing status in buildings [
25,
26,
27,
28,
29]. For instance, Gu et al. [
30] identified nine factors that influence users’ window-opening behaviors, including indoor temperature, indoor relative humidity, indoor CO
2 concentration, indoor PM
2.5 concentration, outdoor relative humidity, outdoor PM
2.5 concentration, solar radiation, wind speed, and wind direction. However, outdoor temperature was found to have no significant impact on window-opening behavior. Mori et al. [
31] found that the primary factors influencing users’ window-opening behaviors are environmental factors, including temperature, humidity, and air pollution levels. Liu et al. [
32] discovered that residents’ window-opening behaviors are mainly related to environmental factors, with the most significant influences being indoor and outdoor temperatures and indoor air quality.
Driven by these factors, users’ window-opening/closing behaviors have a non-negligible impact on building energy consumption [
33,
34,
35]. Opening and closing windows is the most direct and simple means for building occupants to control indoor thermal environments and improve indoor air quality [
36]. Wallace et al. [
37] found that people still open windows to regulate indoor environments even when air conditioning is in use. Nicol observed that the primary reasons for adjusting windows are related to indoor thermal comfort and air quality, and such user behaviors can significantly increase building energy consumption [
33].
Although researchers have explored the factors influencing user behaviors and have clearly established that user behaviors significantly affect building energy consumption, the complexity of these behaviors makes it challenging to accurately quantify the changes in building energy consumption due to user actions. Existing studies primarily rely on collecting user behavior data and establishing predictive models through mathematical calculations. However, these studies face difficulties, such as the amount of time and economic costs associated with data collection, and the reliance on methods like interviews, questionnaires, and scenario simulations, which sometimes result in low data accuracy, leading to predictive models that fail to reflect real situations [
38,
39].
Consequently, inaccurate descriptions of user behaviors in building performance simulations often result in significant discrepancies between real and simulated outcomes. Eguaras-Martínez et al. [
40] found that the difference between considering and ignoring user behaviors in simulations can be as high as 30%. Yousefi et al. [
41] observed that different window-opening behavior patterns can lead to energy consumption differences of up to 20%.
A review of the existing research reveals that a significant body of studies, both domestically and internationally, has predominantly focused on user behaviors in residential and office buildings, with limited attention afforded to primary school educational buildings. Furthermore, the existing research has not comprehensively demonstrated the dynamic relationship between user behaviors and building energy consumption. Most studies rely on predictive models of user behaviors to quantify building energy consumption, which often suffer from poor accuracy.
Therefore, this project focuses on primary school buildings, utilizing wireless smart sensors to collect data on window- and door-opening behaviors and employing software simulations to assess corresponding changes in building energy consumption. The findings of this research will not only provide new energy-efficient design solutions for the renovation of existing campus buildings and the construction of new ones but also offer significant potential for broader application in buildings of similar types or with comparable usage characteristics, such as high occupant density, frequent door openings, and diverse indoor heat gains. This holds substantial importance for the development of low-carbon campuses.
3. Results
3.1. Window and Door Opening/Closing Data
The monitoring period was one month each for both summer and winter. Due to practical limitations, the summer monitoring period was from 19 June to 10 July 2023, with 20 valid days. The winter monitoring period was from 11 November to 31 December 2023, with 61 valid days (including 17 days of holidays and weekends). The primary recorded indicators included the duration and frequency of window openings. It should be noted that this study primarily focuses on windows; however, since the door’s opening can affect the airflow through the window under the same window-opening condition, the classroom door (labeled D1) was also included in the monitoring.
Table 4 summarizes the monitoring data for all windows and the door D1.
In the summer, the total opening duration of window C5 was the longest, reaching 302.2 h. Although the opening frequency was only four times, the duration of each opening was relatively long, with an average duration of 75.55 h per opening, indicating that this window was almost fully open throughout the day. Window C1 had the highest frequency of openings, at 19 times, but the total opening duration was shorter, at 95.95 h, with an average daily opening duration of 5.99 h. This suggests that although the window was frequently opened each opening was brief. The maximum opening duration of window C5 reached 194.55 h, indicating that it might remain open for extended periods under certain conditions.
In the winter, window C2 had the longest total opening duration, reaching 311.43 h, while window C6 had the shortest total opening duration, at only 1.72 h, reflecting the lower ventilation demand in winter. Window C4 had the longest average daily opening duration, at 10.84 h, with a maximum opening duration of 334.71 h, suggesting that this window may remain open for extended periods in the winter, which could lead to potential energy wastage.
For both summer and winter, the D1 door had a high frequency of openings, reaching 710 times, indicating that students frequently entered and exited the classroom during winter. Overall, the window opening duration and frequency in the summer were generally higher than in the winter, which aligns with seasonal ventilation demands: more ventilation is needed in the summer for cooling, while less is required in the winter. The higher usage frequency of window C5 in the summer may be related to solar exposure, as the west-facing window likely receives more direct sunlight in the afternoon. Since the classroom does not have air conditioning, more ventilation is needed for cooling, leading to frequent openings. In winter, window C4 had a relatively long opening duration, which requires further analysis in combination with the indoor temperature, humidity, and other comfort variables to determine the reasons for its extended opening.
3.2. Indoor/Outdoor Environment Parameters
During the monitoring period, this study collected environmental variables such as indoor and outdoor temperature, humidity, and PM concentrations. The monitoring instruments recorded data every 5 min, covering the entire day, ensuring comprehensive and continuous data. The raw data collected were statistically analyzed, with the average value of each variable per hour used as a typical value, leading to the determination of representative indoor and outdoor environmental conditions for typical summer and winter days.
Figure 6 and
Figure 7 present the summer monitoring results. In the summer, the indoor temperature fluctuated between 24.2 °C and 32.4 °C. During the early morning hours (00:00–06:00), the temperature remained lower, between 24.2 °C and 25.3 °C. As the day progressed, the temperature gradually increased, reaching a peak of 32.4 °C at 14:00 in the afternoon, and then slowly decreased. The indoor relative humidity ranged from 55.8% to 88.1%. The humidity was higher during the early morning, maintaining above 85%, and gradually decreased as the temperature rose, reaching the lowest point of 55.8% at 14:00, before gradually increasing again. The indoor PM
2.5 concentration fluctuated between 18 µg/m
3 and 35 µg/m
3. It was lower during the early morning hours and gradually increased, peaking at 35 µg/m
3 at 07:00, before gradually decreasing. The indoor PM
10 concentration varied between 20 µg/m
3 and 42 µg/m
3, following a similar trend to PM
2.5, with a peak of 42 µg/m
3 at 07:00. The indoor CO
2 concentration fluctuated between 413 ppm and 726 ppm. It was lower in the early morning and peaked at 726 ppm at 08:00, gradually decreasing thereafter, maintaining between 400 and 500 ppm.
The outdoor temperature ranged from 20.3 °C to 35.4 °C in the summer, and the outdoor relative humidity fluctuated between 50.1% and 89.8%. The outdoor PM2.5 concentration varied between 16 µg/m3 and 38 µg/m3, while the outdoor PM10 concentration fluctuated between 36 µg/m3 and 62 µg/m3, following a similar trend to PM2.5, with higher concentrations at night.
A comparison of the indoor and outdoor data shows that the indoor temperature followed a similar trend to the outdoor temperature but with less fluctuation, indicating that the building has some thermal insulation properties. The indoor relative humidity was higher during the early morning and decreased as the temperature rose, which was consistent with the outdoor humidity trend; however, the indoor humidity exhibited less fluctuations.
Figure 8 and
Figure 9 present the winter monitoring results. According to the monitoring data, the indoor temperature fluctuates significantly throughout the day, ranging from 16.8 °C to 20.1 °C. The lowest temperature occurs between 6:00 and 7:00 a.m., gradually increasing until it reaches its peak around 10:00 a.m., after which it gradually decreases. Relative humidity fluctuates between 28% and 31%, remaining generally stable, with a slight increase between 7:00 and 9:00 a.m., possibly due to increased human activity. Both PM
10 and PM
2.5 concentrations also exhibit fluctuations throughout the day. PM
10 concentrations range from 34 to 54 μg/m
3, while PM
2.5 concentrations vary between 29 and 48 μg/m
3. Higher concentrations are observed in the morning and evening, likely linked to people entering and exiting the space and ventilation conditions. CO
2 concentrations fluctuate between 412 and 1001 ppm, with higher concentrations observed between 8:00 a.m. and 3:00 p.m., likely due to increased student activity in the classroom, particularly reaching a peak between 9:00 and 10:00 a.m., suggesting insufficient ventilation during this period.
The outdoor temperature shows a more significant variation, ranging from −6.3 °C to 1.3 °C. The lowest temperature occurs during the early morning hours, gradually rising until it peaks around 3:00 p.m., before decreasing again. Relative humidity fluctuates between 18.4% and 45.6%, generally showing higher humidity in the morning and evening, with lower humidity at noon. Outdoor PM2.5 and PM10 concentrations fluctuate between 25 and 58 μg/m3, with higher concentrations in the morning and evening, likely due to traffic activity and atmospheric inversion phenomena. Overall, the outdoor air quality is better around midday, with lower PM concentrations, while it is more severe in the morning and evening.
There is a certain correlation between indoor and outdoor environmental variables. The trend of the indoor temperature change closely follows that of the outdoor temperature, but with smaller fluctuations, indicating that the building has some insulating effect. In terms of relative humidity, indoor humidity remains relatively stable, while outdoor humidity fluctuates more significantly, especially at noon, when outdoor humidity drops noticeably, while indoor humidity remains stable. Regarding PM concentrations, indoor PM levels are higher in the morning and evening, possibly due to an increase in outdoor PM concentrations, particularly when ventilation is poor, allowing outdoor pollutants to enter the indoor environment. The change in the CO2 concentration is mainly influenced by indoor human activity and ventilation conditions, with a noticeable rise during periods of increased student activity, indicating a need for improved ventilation to enhance the indoor air quality. Overall, the indoor environment is significantly affected by outdoor conditions, particularly with regard to PM concentrations and temperature. Proper ventilation and air purification measures are crucial for maintaining good indoor air quality.
3.3. Outdoor Wind Environment Simulation Results
Figure 10,
Figure 11,
Figure 12,
Figure 13 and
Figure 14 present the results of the outdoor wind environment simulation, including wind pressure distribution contours and extracted wind pressure values. Under winter west wind conditions, the wind pressure on windows C5 and C6 is 2.69 Pa, on windows C3 and C4 it is 2.84 Pa, and on windows C1 and C2 it is 2.9 Pa. Under winter south wind conditions, the wind pressure on windows C5 and C6 is 2.64 Pa, on windows C3 and C4 it is 2.61 Pa, and on windows C1 and C2 it is 2.6 Pa. Under summer south wind conditions, the wind pressure is relatively high across all three types of windows, with C5 and C6 at 3.63 Pa, C3 and C4 at 3.61 Pa, and C1 and C2 at 3.61 Pa. Under summer southeast wind conditions, the wind pressure becomes negative, with C5 and C6 at −0.55 Pa, C3 and C4 at −0.47 Pa, and C1 and C2 at −0.39 Pa. Overall, the summer south wind exerts the greatest wind pressure on the window surfaces, while the summer southeast wind results in negative pressure on the surfaces.
3.4. The Results of the Indoor Wind Environment Simulation
Indoor wind environment simulations require the definition of the simulation conditions. As discussed in
Section 2.3.2, there are a total of 128 possible opening/closing combinations. However, not all of these combinations were observed during the actual monitoring.
Table 5 and
Table 6 present the opening/closing combinations that actually occurred in summer and winter, along with the percentage of time each combination was sustained. In the summer, there were 43 distinct combinations, while in the winter there were 19. Given the extensive workload involved in simulations, this study considers only those combinations with a duration percentage greater than 2% for both summer and winter simulation conditions. Therefore, six simulation conditions (S1–S6) were defined for the summer, accounting for 94.25% of the total duration. In the winter, eight simulation conditions (W1–W8) were defined, which account for 97.57% of the total duration.
In the indoor airflow simulation, the width of the open windows needs to be input in order to determine the size of the ventilation openings.
Table 7 presents the measurement results of all open window widths. The average open width is used as the width of the ventilation opening in the simulation, while the height is determined based on the actual dimensions of the window.
The simulation results show that under southeast and south wind conditions in summer (
Table 8 and
Figure 15), the wind speeds through the windows exhibit significant differences. In the S1 condition, the wind speed is relatively low, with window C5 having a wind speed of 0.0421 m/s. In the S2 condition, the wind speed is more noticeable for window C2. In the S3 condition, the wind speeds across all windows and doors are generally higher, particularly for windows C5 and C6. In the S4 condition, the wind speeds for windows C1 and C2 are relatively high, while those for C3 and C4 are lower. In the S5 and S6 conditions, the wind speeds for windows C5 and C6, and door D1, remain at a high level.
When comparing the wind speeds by wind direction, the wind speeds under south wind conditions are generally higher than those under southeast wind conditions in summer. Under southeast wind conditions, the wind speeds for windows C5 and C6 are higher in most scenarios, with the wind speed reaching 0.945 for window C5 in the S3 condition. The wind speed for door D1 in the S5 condition is 0.866. Under south wind conditions, the wind speeds increase significantly, particularly in the S3 condition, where the wind speed for door D1 reaches 2.94, and the wind speeds for windows C5 and C6 are approximately 0.73. Additionally, in the S5 condition, the wind speed for the west door under south wind conditions reaches 2.02, which is significantly higher than the 0.866 observed under southeast wind conditions. Overall, the wind speeds under south wind conditions are stronger, especially for door D1 and windows C5 and C6, where the influence of the south wind is more pronounced.
In winter, wind speeds under different conditions also show variations (
Table 9 and
Figure 16). In the W1 condition, the wind speed for window C4 is relatively high, with 2.25 m/s under south wind conditions and 2.35 m/s under west wind conditions. In the W2 and W4 conditions, the wind speed for window C2 is significant, with 1.91 m/s and 1.99 m/s under south wind conditions and 1.9 m/s and 1.97 m/s under west wind conditions. In the W3 condition, the wind speeds for windows C2 and C4 are low, with 0.101 m/s and 0.00946 m/s under south wind conditions and 0.207 m/s and 0.276 m/s under west wind conditions. In the W5 and W6 conditions, the wind speeds for window C3 are relatively high, with 2.1 m/s and 2.01 m/s under south wind conditions and 2.17 m/s and 2.1 m/s under west wind conditions. Overall, windows C3 and C4 exhibit higher wind speeds in most conditions, while window C2 shows lower wind speeds in certain conditions.
When comparing by the wind direction, the wind speeds under west wind conditions are generally slightly higher than those under south wind conditions in winter. This is especially evident in the W1, W5, and W6 conditions, where the wind speeds for windows C4 and C3 are slightly higher under west wind conditions than under south wind conditions. For example, in the W1 condition, the wind speed for window C4 is 2.35 m/s under west wind conditions, compared to 2.25 m/s under south wind conditions; in the W5 condition, the wind speed for window C3 is 2.17 m/s under west wind conditions, compared to 2.1 m/s under south wind conditions. Overall, wind speeds under west wind conditions are stronger, particularly for windows C3 and C4, where the influence of the west wind is more pronounced.
5. Discussion
This study focuses on the analysis of window states, which are strictly defined as either On or Off, representing a typical binary classification problem. Therefore, a binary logistic regression model is chosen to analyze the relationship between the window states and environmental variables. The goal of the binary logistic regression model is to predict a binary outcome (typically represented as 0 and 1; in the context of this study, 0 represents the window in the Off state and 1 represents the window in the On state). The model operates through a combination of linear regression and the activation function sigmoid.
Specifically, linear regression is used to model the linear relationship between independent and dependent variables, while the sigmoid function is employed to compress the output of the linear regression into a range between 0 and 1, making it suitable for representing probabilities in a binary classification problem. The sigmoid function changes rapidly as the value of z approaches zero and becomes increasingly flat when z is either much greater than zero or much less than zero. Typically, when the sigmoid function is greater than 0.5, it is considered that the event has occurred, while values below 0.5 are interpreted as the event not occurring. When the sigmoid function exceeds 0.6, the fit is regarded as good, and when the value is above 0.8, the fit is considered very good.
Based on these principles, this study uses Python (version 3.12.0) to conduct the binary logistic regression model analysis, aiming to explore the impact of indoor and outdoor environmental factors on window-opening behavior.
5.1. Correlation Between Summer Environmental Factors and Window-Opening Behaviors
Figure 17 shows the opening probabilities of the windows (C1, C2, C3, C4, C5, and C6) and door (D1) in response to changes in indoor and outdoor temperatures during summer. The fitting accuracy of the curves for each window and door exceeds 0.6, indicating a high prediction accuracy. Particularly, the accuracy for window C5 reaches 0.99 and 1.
The opening probabilities of the windows are negatively correlated with both indoor and outdoor temperatures. As either the indoor or outdoor temperature increases, the opening probability decreases rapidly, indicating that under high-temperature conditions, people tend to close the windows to reduce the heat influx or to maintain indoor coolness. For instance, the opening probabilities for windows C1, C3, C4, and C6 significantly decrease as the temperature rises, while window C5 maintains the lowest opening probability across all temperatures, showing little influence from the outdoor temperature.
Figure 18 shows the fitting relationship between the indoor and outdoor humidity and window opening probabilities. In terms of prediction accuracy, window C5 achieves a high prediction accuracy of one. Window C4 has an accuracy greater than 0.7 but less than 0.8, performing better than windows C1, C2, C3, and C6. The prediction accuracy for other windows is slightly above 0.6, which is within an acceptable range.
It can be observed that the opening probabilities of most windows (C1, C2, C4, and C6) increase as the indoor humidity rises, indicating that people tend to open the windows to reduce humidity and enhance comfort under high-indoor-humidity conditions during summer. Among them, window C4 shows a more pronounced increase in the opening probability with the rise in both indoor and outdoor humidity. Window C5, however, shows a decrease in opening probability as both indoor and outdoor humidity increase. Specifically, when outdoor humidity increases, the probability of opening decreases more rapidly, and when indoor and outdoor humidity exceed 50%, the opening probability becomes almost zero.
Figure 19 illustrates the correlation between indoor and outdoor PM
10 levels and the window-opening behavior in summer. In terms of prediction accuracy, the fitting curve for the correlation between the indoor PM
10 concentration and window opening probability shows a relatively low accuracy, with only C5 reaching 0.99, while other windows are slightly above 0.6. In contrast, the fitting curve for the correlation between the outdoor PM
10 concentration and window opening probability shows a higher accuracy, with C1, C2, C3, C5, and C6 all exceeding 0.9, and only C4 having an accuracy of 0.6, which is still within an acceptable range.
From a correlation perspective, the relationship between the window opening probability and both indoor and outdoor PM10 concentrations follows a consistent pattern. As indoor and outdoor PM10 concentrations increase, the opening probability of windows C1, C2, and C3 decreases. However, the opening probability for C4 and C5 increases. This phenomenon suggests that, in the summer, window opening is less likely to be determined by the indoor and outdoor air quality, with thermal comfort likely playing a more significant role.
5.2. The Correlation Between Environmental Factors and Window-Opening Behavior in Winter
Figure 20 presents the correlation analysis results between the external windows and D1 door with indoor and outdoor temperatures. In terms of prediction accuracy, the accuracy values for windows C1, C3, C5, and C6 are high, ranging from 0.92 to 1. The prediction accuracy for C2 is above 0.8. Only C4 has a slightly lower accuracy, but it remains within an acceptable range.
In terms of correlation, the probability of opening windows C1, C3, C4, C5, and C6 increases with the rise in indoor and outdoor temperatures. The increase in the window opening probability with rising indoor temperatures can be attributed to the influence of indoor comfort. On the other hand, the increase in the window opening probability with rising outdoor temperatures is due to the desire to introduce more ventilation. When both indoor and outdoor temperatures exceed 22 °C, the probability of opening windows reaches its maximum. As the temperature continues to increase, the window opening probability remains stable for a period before beginning to decline. This is likely because the outdoor temperature exceeds the indoor heating temperature (18 °C), leading to overheating indoors, prompting users to close the windows to reduce the influx of outdoor air. However, among all the windows, only C2 shows a steady opening probability of one, which gradually decreases as indoor and outdoor temperatures increase. The specific reasons for this behavior require further investigation.
Figure 21 presents the correlation analysis results between the opening of external windows and the D1 door with the indoor and outdoor humidity. In terms of prediction accuracy, the accuracy for C2 and C4 is slightly below 0.8 but still above 0.6, indicating that the relationship between the window opening probability and humidity remains significant. The prediction accuracy for the other windows is above 0.9, showing a strong correlation.
Regarding the window opening probability, the trend in the correlation between the window opening probability and both indoor and outdoor humidity is generally consistent. The opening probability of windows C1, C3, and C5 increases as indoor and outdoor humidity rises. Among these, C1 shows the most noticeable increase. When the humidity reaches 35%, the opening probability for C1 approaches 1, while C3 and C5 reach approximately 0.95.
The opening probability for C2 decreases gradually with the increasing indoor and outdoor humidity, with a more noticeable decline as the indoor humidity increases. For C4, the opening probability increases with the rising indoor humidity but decreases with the increasing outdoor humidity, exhibiting some uncertainty. C6 shows a stable and high opening probability, approaching one, regardless of changes in the indoor and outdoor humidity.
Figure 22 presents the correlation analysis results between external window and door D1 openings and indoor/outdoor PM concentrations.
In terms of prediction accuracy, most external windows show an accuracy higher than 0.9, indicating a significant correlation. Only C2 and C4 have an accuracy lower than 0.8 but still above 0.6, showing an acceptable prediction accuracy.
Regarding the opening probabilities of external windows, it can be observed that for C1, C2, and C4 the opening probability increases as the indoor PM concentration rises. This is likely due to the desire to open windows to expel indoor pollutants. However, for C2 and C4, the opening probability also increases with the rise in the outdoor PM concentration, while for C1, the opening probability decreases as the outdoor PM concentration increases. The reasons behind these phenomena require further investigation.
For C3 and C5, the opening probability decreases as the indoor PM concentration increases, but increases as the outdoor PM concentration rises. The opening of these two windows is not conducive to maintaining the indoor air quality. This suggests that in practice, the decision to open or close these windows may not primarily depend on air quality, or users may lack awareness of maintaining air quality.
Among all the windows, only C6 maintains an opening probability of one regardless of changes in indoor or outdoor PM concentrations. It can be inferred that the opening of C6 is not determined by air quality, but rather by other factors, such as thermal comfort.
6. Conclusions
This study reveals the complex relationships between window-opening behaviors and various factors, such as the season, temperature, humidity, PM concentration, and wind direction, through a comprehensive analysis of window operation data, indoor and outdoor environmental data, wind environment simulations, and energy loss quantification.
By monitoring door- and window-opening data in both summer and winter, this study found that the duration and frequency of window openings in summer were generally higher than in winter, reflecting the seasonal differences in ventilation needs. The analysis of the indoor and outdoor environmental data indicated that indoor temperatures in summer fluctuate less, and the building has certain thermal insulation properties, while in winter, indoor temperature fluctuations are more significant, and ventilation conditions are insufficient. The outdoor wind environment simulation results showed that under summer south wind conditions, wind speeds were stronger, while in winter, the wind speed under west wind conditions was slightly higher than under south wind conditions, especially for the wind speeds at windows C3 and C4. The indoor wind environment simulation further confirmed the optimization potential of window opening strategies under different seasonal and wind direction conditions, providing crucial support for improving the indoor ventilation effectiveness.
The energy loss quantification results showed significant energy losses due to window openings during the winter heating period, particularly under south and west wind conditions, with a daily energy loss of 12.83 kWh. Through the PMV model analysis, this study found that opening window C2 and window C4 in winter was most likely to achieve thermal neutrality, while other window-opening behaviors neither provided comfort nor energy savings. This finding provides scientific evidence for optimizing heating systems and window opening strategies, helping to reduce energy waste while ensuring thermal comfort.
In summer, the opening probability of the windows was negatively correlated with indoor and outdoor temperatures. In high-temperature conditions, people tended to close windows to reduce heat gain. However, when the indoor humidity increased, the opening probability of most windows rose, indicating that people tended to open windows to reduce humidity under high-humidity conditions. In winter, the probability of window openings increased with indoor and outdoor temperatures, but once the temperature exceeded a certain threshold, the probability of window openings began to decrease. The impact of indoor and outdoor humidity on window-opening behavior was more complex, with different windows exhibiting different trends. Overall, window-opening behavior is not only influenced by environmental factors but also closely related to thermal comfort. A reasonable window opening strategy can reduce energy waste while ensuring indoor comfort.
This study has certain limitations. First, it relies on data from a single classroom, and the measurement period was relatively short due to logistical constraints imposed by the school’s scheduling. While the selected periods (summer and winter) are representative, additional measurements across transitional seasons or longer durations could strengthen the seasonal comparisons and generalizability of the results. Future studies could address this limitation by extending the monitoring timeframe or incorporating data from multiple classrooms. Additionally, when selecting simulation conditions, only wind speeds and directions with higher occurrence rates were considered, and conditions with lower occurrence rates were not included. Second, when recording the wind speeds through windows, simulations were used, and effective monitoring devices were lacking for obtaining more precise data. Furthermore, when quantifying energy loss, only temperature changes were considered, while other factors were not taken into account. Lastly, when analyzing the relationship between environmental factors and window-opening behavior, universally applicable window opening strategies were not identified, and some factors showed contradictory relationships with window openings. These areas need further research in the future.
Despite its limitations, this study establishes a methodological framework for investigating window-opening behaviors in schools across China’s diverse climate zones. The approaches employed—including field measurements with wireless sensors, CFD simulations, and energy loss quantification—are not region-specific and can be replicated in diverse climatic conditions. Future research should encompass a broader range of schools in various climate zones (e.g., severe cold, cold, hot summer and cold winter, and hot summer and warm winter regions) to comprehensively analyze the impact of window-opening behaviors on energy consumption in educational buildings. Such expansion would enhance the generalizability of the findings and support the development of region-specific energy-saving strategies, ultimately contributing to the sustainable design and operation of school buildings nationwide.