Research article

Optimization of tertiary building passive parameters by forecasting energy consumption based on artificial intelligence models and using ANOVA variance analysis method

  • Energy consumption in the tertial sector is largely attributed to cooling/heating energy consumption. Thus, forecasting the building's energy consumption has become a key factor in long-term decision-making, reducing the huge energy demand and future planning. This manuscript outlines to use of the variance analysis method (ANOVA) to study the building's passive parameters' effect, such as the orientation, insulation, and its thickness plus the glazing on energy savings through the forecasting of the heating/cooling energy consumption by applying the Seasonal Auto-Regressive Integrated Moving Average (SARIMA) and the Long Short-Term Memory (LSTM) models. The presented methodology compares the predicted consumed energy of a baseline building with another efficient building which includes all the passive parameters selected by the ANOVA approach. The results show that the improvement of passive parameters leads to a reduction of heating energy consumption by 1,739,640 kWh from 2021 to 2029, which is equivalent to a monthly energy consumption of 181.2 kWh for an administrative building with an area of 415 m2. While the cooling energy consumption is diminished by 893,246 kWh from 2021 to 2029, which leads to save a monthly value of 93.05 kWh. Consequently, the passive parameters optimization efficiently reduces the consumed energy and minimizes its costs. This positively impacts our environment due to the reduction of gas emissions, air and soil pollution.

    Citation: Lamya Lairgi, Rachid Lagtayi, Yassir Lairgi, Abdelmajid Daya, Rabie Elotmani, Ahmed Khouya, Mohammed Touzani. Optimization of tertiary building passive parameters by forecasting energy consumption based on artificial intelligence models and using ANOVA variance analysis method[J]. AIMS Energy, 2023, 11(5): 795-809. doi: 10.3934/energy.2023039

    Related Papers:

    [1] Bilal Akbar, Khuram Pervez Amber, Anila Kousar, Muhammad Waqar Aslam, Muhammad Anser Bashir, Muhammad Sajid Khan . Data-driven predictive models for daily electricity consumption of academic buildings. AIMS Energy, 2020, 8(5): 783-801. doi: 10.3934/energy.2020.5.783
    [2] Zhongjiao Ma, Zichun Yan, Mingfei He, Haikuan Zhao, Jialin Song . A review of the influencing factors of building energy consumption and the prediction and optimization of energy consumption. AIMS Energy, 2025, 13(1): 35-85. doi: 10.3934/energy.2025003
    [3] Kaovinath Appalasamy, R Mamat, Sudhakar Kumarasamy . Smart thermal management of photovoltaic systems: Innovative strategies. AIMS Energy, 2025, 13(2): 309-353. doi: 10.3934/energy.2025013
    [4] Feng Tian . A wind power prediction model with meteorological time delay and power characteristic. AIMS Energy, 2025, 13(3): 517-539. doi: 10.3934/energy.2025020
    [5] Xiaojing Tian, Weiqi Ye, Liang Xu, Anjian Yang, Langming Huang, Shenglong Jin . Optimization research on laminated cooling structure for gas turbines: A review. AIMS Energy, 2025, 13(2): 354-401. doi: 10.3934/energy.2025014
    [6] Emrah Gulay . Forecasting the total electricity production in South Africa: Comparative analysis to improve the predictive modelling accuracy. AIMS Energy, 2019, 7(1): 88-110. doi: 10.3934/energy.2019.1.88
    [7] Rahaman Abu, John Amakor, Rasaq Kazeem, Temilola Olugasa, Olusegun Ajide, Nosa Idusuyi, Tien-Chien Jen, Esther Akinlabi . Modeling influence of weather variables on energy consumption in an agricultural research institute in Ibadan, Nigeria. AIMS Energy, 2024, 12(1): 256-270. doi: 10.3934/energy.2024012
    [8] Yan Li, Yaheng Su, Qixin Zhao, Bala Wuda, Kaibo Qu, Lei Tang . An electricity price optimization model considering time-of-use and active distribution network efficiency improvements. AIMS Energy, 2025, 13(1): 13-34. doi: 10.3934/energy.2025002
    [9] Anbazhagan Geetha, S. Usha, J. Santhakumar, Surender Reddy Salkuti . Forecasting of energy consumption rate and battery stress under real-world traffic conditions using ANN model with different learning algorithms. AIMS Energy, 2025, 13(1): 125-146. doi: 10.3934/energy.2025005
    [10] Ghafi Kondi Akara, Benoit Hingray, Adama Diawara, Arona Diedhiou . Effect of weather on monthly electricity consumption in three coastal cities in West Africa. AIMS Energy, 2021, 9(3): 446-464. doi: 10.3934/energy.2021022
  • Energy consumption in the tertial sector is largely attributed to cooling/heating energy consumption. Thus, forecasting the building's energy consumption has become a key factor in long-term decision-making, reducing the huge energy demand and future planning. This manuscript outlines to use of the variance analysis method (ANOVA) to study the building's passive parameters' effect, such as the orientation, insulation, and its thickness plus the glazing on energy savings through the forecasting of the heating/cooling energy consumption by applying the Seasonal Auto-Regressive Integrated Moving Average (SARIMA) and the Long Short-Term Memory (LSTM) models. The presented methodology compares the predicted consumed energy of a baseline building with another efficient building which includes all the passive parameters selected by the ANOVA approach. The results show that the improvement of passive parameters leads to a reduction of heating energy consumption by 1,739,640 kWh from 2021 to 2029, which is equivalent to a monthly energy consumption of 181.2 kWh for an administrative building with an area of 415 m2. While the cooling energy consumption is diminished by 893,246 kWh from 2021 to 2029, which leads to save a monthly value of 93.05 kWh. Consequently, the passive parameters optimization efficiently reduces the consumed energy and minimizes its costs. This positively impacts our environment due to the reduction of gas emissions, air and soil pollution.



    Currently, the Moroccan building sector is the second most energy-consuming sector, after the transport sector, which represents 4,000 Ktoe in 2020 [1]. Furthermore, the ratio of the consumed energy in the building sector increases successively during these years, and we expect that this ratio will continue growing in the future. Moreover, the worldwide energy crisis due to the war in Ukraine presents a serious issue in terms of the limited energy resources and its highest costs, which oblige different countries to think seriously about the optimization of buildings' energy efficiency plus reducing energy consumption and costs. Thus, it is important to forecast the building's energy consumption to improve its energy efficiency, which leads to conserving energy and reducing environmental pollution.

    Forecasting energy consumption has become a key factor in long-term decision-making and future planning. Indeed, a reliable energy consumption prediction has a crucial role in the implementation of performant management energy systems. Nevertheless, the buildings' energy system is quite complex, whereas the main energy sources in buildings are electricity, cooling, heating, and hot water consumption. Furthermore, the building's energy consumption is affected by several factors, such as climatic conditions [2], the thermal-physical characteristics of the used buildings' materials[3,4,5,6,7], the occupants' behavior [8] and (HVAC) systems [9,10,11,12], the lighting systems, their efficiency, and schedules [13,14]. Because of this complex issue, accurate forecasting for analyzing the building's energy consumption is highly demanded.

    Recently, many predictive approaches have been proposed and applied to overcome several problems in the building sector [15,16,17,18,19,20]. Moreover, many works have applied different Artificial Intelligence (AI) models for forecasting different interests. Newsham and Birt [21] improved an Auto-Regressive Integrated Moving Average with external input (ARIMAX) to predict electrical energy needs of an office, moreover, they have applied the occupancy dataset as an extrinsic predictor to develop it. Bilgili and Pinar have done a comparative study between SARIMA and LSTM Models to predict gross electricity consumption in Turkey, they have found that the two models are quite close to each other. And generally, the LSTM model provides more performance than the SARIMA model [22]. Blázquez-García et al. have used the Sarima models to predict the consumed energy of a green-elevator integrating batteries and photovoltaic, the results were validated by comparing the SARIMA models with the ANN and the GAM models. The SARIMA outperformed slightly better [23]. A Hybrid Artificial Neural Network (ANN) plus an Auto Regressive Integrated Moving Average (ARIMA) model was introduced by Wang and Meng [24] for predicting the consumed energy of the whole Chinese Hebei province. They selected the annual consumed energy datasets between 1980 and 2008 to improve and test the used model. Kandananond [25] applied ARIMA, ANN plus Multiple Linear Regression (MLR) model to forecast electrical energy needs in Thailand. The chosen datasets were determined between 1986 and 2010. The findings indicated that the MAPE equals 0.996% for ANN, while it's respectively equal to 2.809% and 3.260% for ARIMA and MLR models. Wang et al. [26] Applied Long short-term Memory (LSTM) model to predict a periodic time series. They studied and analyzed a daily cooling system periodicity energy consumption through LSTM model. They deduced that the Lower-dimensional input instead of all presented variables minimizes the calculation cost, while minimizing the input variables diminishes the accuracy of this proposed model. Chujai et al. [27] presented the analysis of time series for the consumed electric energy of a residential building based on ARIMA and Auto Regressive Moving Average (ARMA) models. The selected data were collected from December 2006 until November 2010 for developing the proposed models. The findings showed that ARIMA model can perform the most appropriate predictions for the monthly and quarterly periods while the ARMA model presented the most suitable predictions for daily and weekly periods.

    Inspired by those previous observations, the utilization of SARIMA and LSTM Models was applied in different domains [28,29,30,31,32]. In the energy efficiency sector, this paper examines SARIMA and LSTM models for predicting heating/cooling energy consumption the upcoming years. The proposed model in this research investigates the impact of improving the building's passive parameters such as: orientation, insulation, and its thickness, plus the glazing on reducing the amount of the energy used. The selection process of those parameters was done using the Analysis of Variance method ANOVA. The adequate model is selected by comparing the statistical errors RMSE (Root Mean Square Error), MSE (Mean Square Error), MAE (Mean Absolute Error) and the Scatter Index SI.

    In this work, a study was performed to show the impact of building's orientation, envelope, and its thickness, plus the glazing on the forecasted heating/cooling energy consumed the next years by using SARIMA and LSTM models. The comparison was done by choosing two buildings. The base/reference building, and the efficient one contained the passive parameters selected by ANOVA approach.

    This study presents a novel investigation, it is the first study using the statistical method ANOVA to select the building's passive parameters that have an influence on the energy consumption. Plus, the contribution in the utilization of SARIMA and LSTM models to conduct a comprehensive comparative analysis of forecasted energy consumption between a reference building and an energy-efficient counterpart. By examining these parameters in tandem, the research offers a holistic understanding of their combined effects on energy use, providing valuable insights for optimizing building design and energy management strategies.

    This study's remaining sections are organized as follows: Section 2 provides an overview of the used architectures as well as a summary of the technique and method that was used, plus evaluation metrics that gauge the effectiveness of models are defined. The results and discussion are covered simultaneously in Section 3 and 4. The study's conclusions are presented in section 5 to conclude.

    In this research, our study is focused on two administrative buildings with an area of 415 m2 and both are located in Errachidia city, Morocco. The buildings are composed of two floors, each one containing five offices, two secretariats, a hall, and stairs. The first building is the reference building and the second one is efficient. The first building's main materials components are: The interior/exterior walls are composed of a single red brick layer with a thickness of 15 cm, plus a simple glazing for the windows. While for the efficient building, we have added a layer of airgap as insulation with a thickness of 5 cm inside the exterior walls. Also, we have changed the windows' simple glazing by double glazing with a medium of air gap.

    The energy consumption datasets of the reference and the efficient buildings during cooling and heating operations were determined by using ECOTECT ANALYSIS software from January 2016 until December 2020 (Figures 1 and 2).

    Figure 1.  Heating energy consumption of the base and the efficient building (Wh).
    Figure 2.  Cooling energy consumption of the base and the efficient building (Wh).

    The simulations were performed by considering the occupants' behavior (Table 1) and the thermal-physical characteristics of an administrative building in its surrounding climatic conditions (Figures 3 and 4).

    Table 1.  Occupant's behavior.
    Office Stairs Secretariat Hall
    Clothing (clo) 1 1 1 1
    Lightning level (Lux) 400 100 400 200
    Occupant's number 2 3 1 5
    Occupant's activity (W) 70 80 70 70

     | Show Table
    DownLoad: CSV
    Figure 3.  Temperature climatic conditions.
    Figure 4.  Radiation climatic conditions.

    First, the SARIMA model time series correlates non-seasonal and seasonal components, which is symbolized as SARIMA (p, d, q) (P, D, Q) s. While, the p is the order of the AR model, d is the degree of differentiation, q is the order of the MA model, P is the seasonal autoregressive order (AR) part, D is the seasonal difference order, Q presents the seasonal moving average order (MA), and s is the order of the seasonal component.

    The AR process considers the previous observed measures up to an indicated maximum lag, plus the error term. The differentiation process is the integration part, which considers the data stabilization by removing the periodicity or the trend, but for MA path, it considers the last error terms that help for determining predictions.

    The mathematical description of SARIMA model is presented as follow (Eq 1):

    φ(B)ϕ(Bs)(1B)d(1Bs)DYt=θ(B)Θ(Bs)εt+θ0 (1)

    Where the mathematical symbols/equations' meanings are described in Table 2.

    Table 2.  Mathematical symbols/equations' meanings.
    Mathematical symbol/equation Mathematical description
    Yt Time series data
    φ(B)=1φ1Bφ2B2φpBp Order p of the autoregressive operator AR
    θ(B)=1θ1Bθ2B2θpBp Order q of the moving average operator MA
    ϕ(Bs)=1ϕ1Bsϕ2B2sϕPBPs Order P of a seasonal auto-regressive operator AR
    Θ(Bs)=1Θ1BsΘ2B2sΘQBQs Order Q of a seasonal moving average operator MA
    εt Time t error term
    B Backward shift operator
    θ Non-seasonal moving average coefficient
    φ Non-seasonal auto-regressive coefficient
    Θ Seasonal moving average coefficient
    ϕ Seasonal auto-regressive coefficient

     | Show Table
    DownLoad: CSV

    The LSTM "Long Short-Term Memory" is a type of RNN "recurrent neural network" [33]. The LSTM can memorize the values of the previous steps, while these values can be used in the future.

    The LSTM is a unit of three "gates" that compute domains that regulate the flow of information by performing specific actions with two outputs called states:

    • Input gate: Controls the information's amount entering the input gate of a memory cell.

    • Output gate: Use the sigmoid activation functions, it checks an amount of information flowing in the rest of the network (Eq 2).

    • Forget gate: Chooses the state of the cell at the precedent instant and adaptively retains some of the information at the present time.

    • Hidden state: Allows the LSTM to retain information over extended sequences, enabling it to understand and capture long-range dependencies within the data.

    • Cell state: Allows weighting of the data that will combine with the input gate to update the state of the cell.

    σ(x)=11+ex (2)

    The input gate, output gate, and forget gate are represented by it, ot, and ft, respectively. The input data of the LSTM model at time t is xt, the output data is ht, ct is the memory state, and ˜ct is the intermediate value during computation. The LSTM memory block is described as follows (Eq 3):

    {it=σ(WiXt+Uiht1+bt)˜ct=tanh(WzXt+Uzht1+bz)ft=σ(WfXt+Ufht1+bf)ct=it˜ct+ftct1ot=σ(WoXt+oUiht1+bo)ht=ottanh(ct) (3)

    While Wi, Ui, Wz, Uz, Wf, Uf, Wo and Uo are weight matrices. bt, bz, bf are bias vectors. Xt represents the present input. ht and ht−1 are respectively the outputs at time t and at the precedent time t−1 (Figure 5). The hyperbolic tangent function is defined as follows (Eq 4):

    tanh=exexex+ex (4)
    Figure 5.  LSTM model architecture.

    After generating the historical data, we will consider them as input data for the two models studied namely SARIMA and LSTM. The data from 2016 to 2019 are used as training set for these models, while the data from 2019 to 2020 are used as test set for SARIMA models. For the LSTM models, we will use six months as validation data and the next six months as test data.

    The next step is to compare the statistical errors generated by the models of cooling/heating energy consumption, then select the one that generates the smallest values of RMSE (Root Mean Square Error), MSE (Mean Square Error) and MAE (Mean Absolute Error).

    From Table 3, we notice that the RMSE values are quite high due to the order of heating/cooling energy consumption magnitude values. Therefore, we have calculated the dispersion index SI to properly compare the opted models to predict the energy consumption. We can see that the performant model for forecasting heating/cooling energy consumption is SARIMA model with dispersion indices of 5% and 7.3% respectively.

    Table 3.  Statistical errors generated by SARIMA and LSTM models.
    Energy consumption Models Statistical errors The best model
    MSE RMSE MAE SI
    Heating SARIMA 10927.13 104.53 70.12 0.05 SARIMA
    LSTM 13480.3 116.104 108.3 0.07
    Cooling SARIMA 48486.35 220.19 142.52 0.073 SARIMA
    LSTM 51440.93 226.80 138.77 0.075

     | Show Table
    DownLoad: CSV

    The main propose of analyzing the variance through ANOVA method is to study the parameters that directly affect the energy needs during heating/cooling operations, namely the orientation, the envelope's insulation, the thickness of the insulation and the glazing. Then study the impact of these significant parameters on energy consumption by comparing the predicted energy of the reference building with that of the efficient building.

    The methodology consists of using the ANOVA method to detect the parameters which have a significant effect on heating/cooling energy consumption. At next, we will generate a new database of the energy consumption of an efficient building by taking into consideration that it does contain the parameters selected by the method ANOVA. Finally, we will predict the energy consumption for the second time and compare it with that of the reference building to calculate the energy loss margin in Kilowatt hours for a single building in the south-east of Morocco. We have opted for the following passive parameters described in Table 4.

    Table 4.  Passive parameters selected by ANOVA method.
    Passive parameter
    Orientation South, east, north, west, south-east, south-west, north-east
    Insulation Air gap, hemp wool, glass wool, rock wool and polystyrene
    Glazing Single glazing, double glazing
    Thickness 5 cm, 10 cm, 15 cm

     | Show Table
    DownLoad: CSV

    The Table 5 presents the ANOVA analysis of variance to determine the influence of these parameters on energy consumption, we see that:

    Table 5.  Analysis of ANOVA variance.
    ddl F p-value
    Glazing Heating 1 27.256 0.000
    Cooling 1 544.058 0.000
    Insulation Heating 4 9.321 0.000
    Cooling 4 8.549 0.000
    Orientation Heating 7 20.632 0.000
    Cooling 7 1.010 0.425
    Thickness Heating 2 3.135 0.045
    Cooling 2 0.238 0.789

     | Show Table
    DownLoad: CSV

    • For glazing and insulation, the difference between groups is significant for heating and cooling (p = 0.000). We can therefore conclude that glazing and insulation have an impact on energy consumption. Accordingly, The ANOVA analysis essentially reveals a convincing connection between glazing, insulation, and energy usage. An in-depth statistical study confirms that the observed changes in heating and cooling behaviors are not mere coincidences and support their direct influence on energy efficiency. This information has the potential to support better informed design and construction decision-making, fostering the development of a greener and more sustainable built environment.

    • For orientation, the dataset was deliberately divided into eight separate groups, each of which contained a certain orientation configuration, to provide a comprehensive viewpoint. This strategic grouping made it possible to evaluate energy consumption patterns in detail over a wide range of circumstances, which helped to clarify the function of orientation. The results of the statistical analysis were extremely significant, especially when it came to the area of heating energy use (p = 0.000). It strongly implies a link between heating energy consumption patterns and building orientation. The results highlight the fact that the deliberate differences in orientation protocols are fundamentally linked to the variations in heating energy usage. However, when examining the effect of orientation on cooling energy use, a more complex picture begins to take shape. The predicted cooling energy consumption p-value of 0.425 supports a different narration. Practically speaking, this means that even if orientation may not have a significant impact on cooling energy consumption, it still plays a crucial part in overall building design, even though its impact on heating is more evident.

    • The thickness of the insulators presents a value of (p = 0.045) for the heating, which shows that this parameter influences the heating. While the difference between the three groups is however not significant for cooling (p = 0.789), we can therefore conclude that the thickness has no impact on the cooling energy needs. Which means that there is no correlation between increasing the insulation's thickness and reducing cooling energy consumption.

    First, the SARIMA (p, d, q) (P, D, Q)12 model was established by python programming language, then, we have trained and tested that model by exploring the collected energy consumption data during the cooling/heating operations between January 2016 and December 2020, for the reference building plus the efficient one in Errachidia city, at the north-east of Morocco. The determination of the forecasted energy consumption by using SARIMA models was realized as follow:

    Step 1: The first stage is reserved for checking the datasets stationarity. If stationarity is not satisfied and the series has trend or seasonal components, we should change it by using differencing.

    In this study, we have differentiated the cooling/heating dataset of the two buildings once to make it stationary. Thus, the orders of seasonal and non-seasonal differences are respectively: D = 1 and d = 1.

    Step 2: For the second stage, the orders (p, q, P, Q) of SARIMA models must be defined by using Akaike Information Criterion AIC "Eq 5".

    AIC=2K2ln(L) (5)

    The smallest value of AIC for the cooling/heating datasets lead to the optimal combination of the orders (p, q, P, Q) for the reference building and the efficient one (Table 6).

    Table 6.  AIC values of the cooling/heating data of the reference building and the efficient building.
    Heating Cooling
    (p, d, q) (P, D, Q) s AIC (p, d, q) (P, D, Q) s AIC
    Reference building
    (1, 1, 1) (0, 1, 0)12 1018.965 (1, 1, 1) (0, 1, 0)12 1027.901
    (0, 1, 0) (0, 1, 0)12 1019.874 (0, 1, 0) (0, 1, 0)12 1033.739
    (1, 1, 0) (1, 1, 0)12 1020.537 (1, 1, 0) (1, 1, 0)12 1012.047
    (0, 1, 1) (0, 1, 1)12 1020.616 (0, 1, 1) (0, 1, 1)12 1011.850
    (1, 1, 1) (1, 1, 0)12 1017.483 (0, 1, 1) (0, 1, 0)12 1026.341
    (1, 1, 1) (2, 1, 0)12 1006.211 (0, 1, 1) (1, 1, 1)12 1011.429
    (1, 1, 1) (3, 1, 0)12 1008.175 (0, 1, 1) (1, 1, 0)12 1009.644
    (2, 1, 1) (3, 1, 1)12 1003.016 (0, 1, 1) (2, 1, 0)12 1011.384
    (2, 1, 0) (2, 1, 0)12 999.264 (0, 1, 1) (2, 1, 1)12 1013.079
    (2, 1, 0) (1, 1, 0)12 1007.760 (0, 1, 0) (1, 1, 0)12 1031.949
    (2, 1, 0) (3, 1, 0)12 1001.089 (0, 1, 3) (1, 1, 0)12 997.460
    (2, 1, 0) (2, 1, 1)12 1001.092 (0, 1, 3) (0, 1, 0)12 1064.785
    (2, 1, 0) (1, 1, 1)12 1000.379 (0, 1, 3) (2, 1, 0)12 998.625
    (2, 1, 0) (3, 1, 1)12 1003.090 (0, 1, 3) (1, 1, 1)12 998.791
    Efficient building
    (0, 1, 0) (0, 1, 0)12 1018.948 (1, 1, 1) (0, 1, 0)12 1023.168
    (1, 1, 0) (1, 1, 0)12 1019.571 (0, 1, 0) (0, 1, 0)12 1029.908
    (0, 1, 1) (0, 1, 1)12 1019.525 (1, 1, 0) (1, 1, 0)12 1007.250
    (1, 1, 1) (1, 1, 0)12 1016.500 (0, 1, 1) (0, 1, 1)12 1007.022
    (1, 1, 1) (2, 1, 0)12 1005.131 (0, 1, 1) (0, 1, 1)12 1007.022
    (1, 1, 1) (3, 1, 0)12 1007.101 (0, 1, 1) (0, 1, 0)12 1021.752
    (1, 1, 1) (2, 1, 1)12 1007.100 (0, 1, 1) (1, 1, 1)12 1006.721
    (1, 1, 1) (1, 1, 1)12 1007.614 (0, 1, 2) (1, 1, 0)12 1000.754
    (1, 1, 2) (3, 1, 1)12 1002.472 (0, 1, 2) (0, 1, 0)12 1025.151
    (0, 1, 2) (2, 1, 0)12 998.254 (0, 1, 2) (2, 1, 0)12 1002.426
    (0, 1, 2) (1, 1, 0)12 1008.526 (0, 1, 3) (1, 1, 0)12 992.857
    (0, 1, 2) (3, 1, 0)12 1000.070 (0, 1, 3) (0, 1, 0)12 1059.570
    (0, 1, 2) (2, 1, 1)12 1000.071 (0, 1, 3) (2, 1, 0)12 993.735
    (0, 1, 2) (1, 1, 1)12 999.511 (0, 1, 3) (0, 1, 0)12 1059.570

     | Show Table
    DownLoad: CSV

    Table 6 shows that the SARIMA (2, 1, 0) (2, 1, 0)12 and SARIMA (0, 1, 2) (2, 1, 0)12 models present, respectively, the minimum AIC values for heating of the reference building and the efficient building. The SARIMA (0, 1, 3) (1, 1, 0)12 model generates significant results in terms of AIC for the cooling energy consumption of the two studied buildings. Therefore, these models are sufficient to forecast energy consumption during heating-cooling operations.

    Step 3: In this last step, after selecting the best SARIMA model, we can now forecast heating/cooling energy consumption of the reference and efficient buildings from 2021 to 2029.

    Figures 6 and 7 show the forecasting of the energy cooling and heating consumed for the reference building in red and the efficient building in green for eight years.

    Figure 6.  Forecasted cooling energy consumption by SARIMA models.
    Figure 7.  Forecasted heating energy consumption by SARIMA models.

    We note that the improvement of the passive parameters, namely the application of double glazing separated by an air gap for the windows, the insulation of the exterior walls by an air gap with a thickness of 5 cm, and the orientation to the south-east will allow us to save up to 893,246 kWh for the cooling consumed energy from 2021 to 2029, which leads to save a monthly value of 93.05 kWh for a single building with an area equal to 415 m2. Moreover, it will ensure a significant decrease of the heating energy consumption by 1,739,640 kWh from 2021 to 2029, which is equivalent to a monthly value of 181.2 kWh for an administrative building with an area of 415 m2.

    These recommendations are very useful for building engineers and architects to exploit the building's passive parameters to achieve promising reductions in heating/cooling energy consumption. Therefore, this energy saving in the building sector reduces the emission of Carbon Dioxide CO2, which leads to save the environment and reduce the pollution.

    In this work, we apply the variance analysis method (ANOVA) to study the effect of passive parameters on heating/cooling energy consumption which are the orientation, insulation and its thicknesses, and the glazing. This process concerns the use of SARIMA and LSTM models to forecast the energy consumption during heating and cooling operations of two different buildings existed in Errachidia city, Morocco. The analysis of the statistical errors generated by SARIMA and LSTM models shows that SARIMA model is more adequate and efficient for predicting energy consumption compared to LSTM model. This research also compares the predicted energy of a reference building with that of an efficient building which includes the proposed passive parameters generated by ANOVA method. The results show that by improving these parameters, the heating consumption reduced by 1,739,640 kWh from 2021 to 2029, which is equivalent to a monthly value of 181.2 kWh for an administrative building with an area of 415 m2. While for the cooling energy consumption we could save up to 181.2 kWh from 2021 to 2029, which is equivalent to a monthly value of 93.05 kWh for a building with a surface equal to 415 m2.

    Finally, the optimization of passive parameters contributes efficiently to reduce energy consumption and costs for the future.

    The authors declare they have not used artificial intelligence tools in the creation of this manuscript.

    We would like to thank every single author for his/her contributions.

    The authors declare no conflict of interest.

    Lamya LAIRGI and Rachid LAGTAYI conceived of the presented idea and performed the computations and the data acquisition. Yassir LAIRGI, Abdelmajid DAYA, Rabie Elotmani, Ahmed KHOUYA and Mohamed TOUZANI contributed to the interpretation of the results, provided critical feedback, and reviewed it critically. Lamya LAIRGI and Rachid LAGTAYI drafted and wrote this manuscript.

    Figure A1.  Graphical abstract.


    [1] Regulatory framework. Moroccan Agency For Energy Efficiency (AMEE). Available from: https://www.amee.ma/fr/cadre-reglementaire.
    [2] Lairgi L, Daya A, Elotmani R, et al. (2019) Contribution to the study of the energy needs for a building in the city of errachidia influence of orientation and local materials. Key Eng Mater 820: 18–28. https://doi.org/10.4028/www.scientific.net/KEM.820.18 doi: 10.4028/www.scientific.net/KEM.820.18
    [3] Idchabani R, Khyad A, El Ganaoui M (2017) Optimizing insulation thickness of external walls in cold region of Morocco based on life cycle cost analysis. Energy Procedia 139: 117–121. https://doi.org/10.1016/J.EGYPRO.2017.11.183 doi: 10.1016/j.egypro.2017.11.183
    [4] Louanate A, Otmani RE, Kandoussi K, et al. (2021) Energy saving potential of phase change materials-enhanced building envelope considering the six Moroccan climate zones. J Build Phys 45: 482–506. https://doi.org/10.1177/17442591211006444 doi: 10.1177/17442591211006444
    [5] Khan MY, Baqi A, Talib A (2020) Energy efficiency analysis of a building envelope. In: Bose, M., Modi, A., Proceedings of the 7th International Conference on Advances in Energy Research, Singapore: Springer, 1691–1702. https://doi.org/10.1007/978-981-15-5955-6_160
    [6] Lairgi L, Lagtayi R, Daya A, et al. (2021) The impact of arid climate on the indoor thermal comfort in the south-east of Morocco. Int J Photoenergy 2021. https://doi.org/10.1155/2021/5554629 doi: 10.1155/2021/5554629
    [7] Lagtayi R, Lairgi L, Khouya A, et al. (2021) Acoustic and thermal correlation for a building's envelope in a Mediterranean climate in Morocco'. Int J Renewable Energy Res 11: 1064–1074.
    [8] Ozarisoy B, Altan H (2022) Significance of occupancy patterns and habitual household adaptive behaviour on home-energy performance of post-war social-housing estate in the south-eastern Mediterranean climate: Energy policy design. Energy 244: 122904. https://doi.org/10.1016/j.energy.2021.122904 doi: 10.1016/j.energy.2021.122904
    [9] Dai B, Wang Q, Liu S, et al. (2023) Novel configuration of dual-temperature condensation and dual-temperature evaporation high-temperature heat pump system: Carbon footprint, energy consumption, and financial assessment. Energy Convers Manage 292: 117360. https://doi.org/10.1016/j.enconman.2023.117360 doi: 10.1016/j.enconman.2023.117360
    [10] Miyata S, Lim J, Akashi Y, et al. (2020) Optimal set-point regulation in HVAC system for controllability and energy efficiency. Adv Build Energy Res 14: 160–170. https://doi.org/10.1080/17512549.2019.1578263 doi: 10.1080/17512549.2019.1578263
    [11] Gao G, Li J, Wen Y (2020) DeepComfort: Energy-efficient thermal comfort control in buildings via reinforcement learning. IEEE Internet Things 7: 8472–8484. https://doi.org/10.1109/JIOT.2020.2992117 doi: 10.1109/JIOT.2020.2992117
    [12] Zhang Z, Chong A, Pan Y, et al. (2019) Whole building energy model for HVAC optimal control: A practical framework based on deep reinforcement learning. Energy Build 199: 472–490. https://doi.org/10.1016/j.enbuild.2019.07.029 doi: 10.1016/j.enbuild.2019.07.029
    [13] Jin Y, Yan D, Zhang X, et al. (2021) A data-driven model predictive control for lighting system based on historical occupancy in an office building: Methodology development. Build Simul 14: 219–235. https://doi.org/10.1007/s12273-020-0638-x doi: 10.1007/s12273-020-0638-x
    [14] Awang M, Tham CS, Ruddin NMB, et al. (2020) Assessment of energy saving potential and lighting system in teaching building. J Adv Res Fluid Mech Therm Sci 65: 159–169.
    [15] Yan K, Li W, Ji Z, et al. (2019) A hybrid LSTM neural network for energy consumption forecasting of individual households. IEEE Access 7: 157633–157642. https://doi.org/10.1109/ACCESS.2019.2949065 doi: 10.1109/ACCESS.2019.2949065
    [16] Silva J, Praça I, Pinto T, et al. (2020) Energy consumption forecasting using ensemble learning algorithms. In: Herrera-Viedma, E., Vale, Z., Nielsen, P., Martin Del Rey, A., Casado Vara, R., Distributed Computing and Artificial Intelligence, 16th International Conference, Special Sessions. DCAI 2019. Advances in Intelligent Systems and Computing, Springer: Cham, 5–13. https://doi.org/10.1007/978-3-030-23946-6_1
    [17] Wei N, Li C, Peng X, et al. (2019) Conventional models and artificial intelligence-based models for energy consumption forecasting: A review. J Pet Sci Eng 181: 106187. https://doi.org/10.1016/j.petrol.2019.106187 doi: 10.1016/j.petrol.2019.106187
    [18] Wang R, Lu S, Feng W (2020) A novel improved model for building energy consumption prediction based on model integration. Appl Energy 262: 114561. https://doi.org/10.1016/j.apenergy.2020.114561 doi: 10.1016/j.apenergy.2020.114561
    [19] Daut MAM, Hassan MY, Abdullah H, et al. (2017) Building electrical energy consumption forecasting analysis using conventional and artificial intelligence methods: A review. Renewable Sustainable Energy Rev 70: 1108–1118. https://doi.org/10.1016/j.rser.2016.12.015 doi: 10.1016/j.rser.2016.12.015
    [20] Chou JS, Bui DK (2014) Modeling heating and cooling loads by artificial intelligence for energy-efficient building design. Energy Build 82: 437–446. https://doi.org/10.1016/j.enbuild.2014.07.036 doi: 10.1016/j.enbuild.2014.07.036
    [21] Newsham GR, Birt BJ (2010) Building-level occupancy data to improve ARIMA-based electricity use forecasts. Proceedings of the 2nd ACM Workshop on Embedded Sensing Systems for Energy-Efficiency in Building, 13–18. https://doi.org/10.1145/1878431.1878435 doi: 10.1145/1878431.1878435
    [22] Bilgili M, Pinar E (2023) Gross electricity consumption forecasting using LSTM and SARIMA approaches: A case study of Türkiye. Energy 284: 128575. https://doi.org/10.1016/j.energy.2023.128575 doi: 10.1016/j.energy.2023.128575
    [23] Blázquez-García A, Conde A, Milo A, et al. (2020) Short-term office building elevator energy consumption forecast using SARIMA. J Build Perform Simul 13: 69–78. https://doi.org/10.1080/19401493.2019.1698657 doi: 10.1080/19401493.2019.1698657
    [24] Wang X, Meng M (2012) A hybrid neural network and ARIMA model for energy consumption forcasting. J Comput 7: 1184–1190. https://doi.org/10.4304/jcp.7.5.1184-1190 doi: 10.4304/jcp.7.5.1184-1190
    [25] Kandananond K (2011) Forecasting electricity demand in Thailand with an artificial neural network approach. Energies 4: 1246–1257. https://doi.org/10.3390/en4081246 doi: 10.3390/en4081246
    [26] Wang JQ, Du Y, Wang J (2020) LSTM based long-term energy consumption prediction with periodicity. Energy 197: 117197. https://doi.org/10.1016/j.energy.2020.117197 doi: 10.1016/j.energy.2020.117197
    [27] Chujai P, Kerdprasop N, Kerdprasop K (2013) Time series analysis of household electric consumption with ARIMA and ARMA models. Proceedings of the International Multiconference of Engineers and Computer Scientists, Hong Kong: IAENG, 1: 295–300.
    [28] Liu J, Zhao Z, Zhong Y, et al. (2022) Prediction of the dissolved gas concentration in power transformer oil based on SARIMA model. Energy Rep 8: 1360–1367. https://doi.org/10.1016/j.egyr.2022.03.020 doi: 10.1016/j.egyr.2022.03.020
    [29] Camara A, Feixing W, Xiuqin L (2016) Energy consumption forecasting using seasonal ARIMA with artificial neural networks models. Int J Bus Manage 11: 231–243. https://doi.org/10.5539/ijbm.v11n5p231 doi: 10.5539/ijbm.v11n5p231
    [30] Dhakal S, Gautam Y, Bhattarai A (2021) Exploring a deep LSTM neural network to forecast daily PM 2.5 concentration using meteorological parameters in Kathmandu Valley, Nepal. Air Qual Atmos Health 14: 83–96. https://doi.org/10.1007/s11869-020-00915-6 doi: 10.1007/s11869-020-00915-6
    [31] Khan ZA, Hussain T, Ullah A, et al. (2020) Towards efficient electricity forecasting in residential and commercial buildings: A novel hybrid CNN with a LSTM-AE based framework. Sensors 20: 1399. https://doi.org/10.3390/s20051399 doi: 10.3390/s20051399
    [32] Kim EG, Akhtar MS, Yang OB (2023) Designing solar power generation output forecasting methods using time series algorithms. Electr Power Syst Res 216: 109073. https://doi.org/10.1016/j.epsr.2022.109073 doi: 10.1016/j.epsr.2022.109073
    [33] Siami-Namini S, Tavakoli N, Namin AS (2018) A comparison of ARIMA and LSTM in forecasting time series. In 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), IEEE, 1394–1401. https://doi.org/10.1109/ICMLA.2018.00227
  • This article has been cited by:

    1. Mehmet Bilgili, Tahir Durhasan, Engin Pinar, Time series analysis of sea surface temperature change in the coastal seas of Türkiye, 2024, 263, 13646826, 106339, 10.1016/j.jastp.2024.106339
    2. Ganime Tuğba Önder, Comparative time series analysis of SARIMA, LSTM, and GRU models for global SF6 emission management system, 2024, 265, 13646826, 106393, 10.1016/j.jastp.2024.106393
    3. Mehmet Bilgili, Engin Pinar, Tahir Durhasan, Global monthly sea surface temperature forecasting using the SARIMA, LSTM, and GRU models, 2025, 18, 1865-0473, 10.1007/s12145-024-01585-z
    4. Zhongjiao Ma, Zichun Yan, Mingfei He, Haikuan Zhao, Jialin Song, A review of the influencing factors of building energy consumption and the prediction and optimization of energy consumption, 2025, 13, 2333-8334, 35, 10.3934/energy.2025003
    5. Sergen Tumse, Umut Alcansoy, Statistical and deep learning approaches in estimating present and future global mean sea level rise, 2025, 0921-030X, 10.1007/s11069-025-07203-5
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1814) PDF downloads(115) Cited by(5)

Figures and Tables

Figures(8)  /  Tables(6)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog