Processing math: 100%
Research article

Modeling influence of weather variables on energy consumption in an agricultural research institute in Ibadan, Nigeria

  • Received: 14 August 2023 Revised: 03 November 2023 Accepted: 06 November 2023 Published: 30 January 2024
  • Climate change is having a significant impact on weather variables like temperature, humidity, precipitation, solar radiation, daylight duration, wind speed, etc. These weather variables are key indicators that affect electricity demand and consumption. Hence, understanding the significance of weather elements on energy needs and consumption is important to be able to adapt, strategize, and predict the effect of the changing climate on the required energy of an organization. This study aims to investigate the relationship between changing weather elements and electricity consumption, employing Multivariate Linear Regression (MLR), Support Vector Regressions (SVR), and Artificial Neural Network (ANN) models to predict the effect of weather changes on energy consumption. The following approaches were engaged for this study: Creating a catalog of weather elements and parameters of energy need or its consumption; analyzing and correlating electrical power consumption to weather factors; and developing prediction models—MLR, SVR, and ANN to predict the significance of the change in the variables of weather on the electrical energy consumption. Among the weather variables considered, temperature emerged as the most influential factor affecting electricity consumption, displaying the highest correlation. The monthly total pattern for electricity use for the case study area followed a similar pattern as the mean apparent temperature. Of the three models (MLR, SVR, and ANN) developed in this study, the ANN model yielded the best predictive performance, with Mean Square Error (MSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) of 2.733%, 1.292%, and 4.66%, respectively. Notably, the ANN model outperformed the other models (MLR and SVR) by more than 20% across the predictive performance metrics employed.

    Citation: 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[J]. AIMS Energy, 2024, 12(1): 256-270. doi: 10.3934/energy.2024012

    Related Papers:

    [1] Mousa Tawfeeq, Alan R. Collins, Adam Nowak . The dynamic response of coal consumption to energy prices and GDP: An ARDL approach to the U.S.. AIMS Energy, 2020, 8(6): 1156-1172. doi: 10.3934/energy.2020.6.1156
    [2] 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
    [3] 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
    [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. AIMS Energy, 2025, 13(1): 35-85. doi: 10.3934/energy.2025003
    [5] Muhammad Farhan Hanif, Muhammad Sabir Naveed, Mohamed Metwaly, Jicang Si, Xiangtao Liu, Jianchun Mi . Advancing solar energy forecasting with modified ANN and light GBM learning algorithms. AIMS Energy, 2024, 12(2): 350-386. doi: 10.3934/energy.2024017
    [6] Daniel Chuquin-Vasco, Dennise Chicaiza-Sagal, Cristina Calderón-Tapia, Nelson Chuquin-Vasco, Juan Chuquin-Vasco, Lidia Castro-Cepeda . Forecasting mixture composition in the extractive distillation of n-hexane and ethyl acetate with n-methyl-2-pyrrolidone through ANN for a preliminary energy assessment. AIMS Energy, 2024, 12(2): 439-463. doi: 10.3934/energy.2024020
    [7] Mette Wik, Taoyuan Wei, Kristine Korneliussen, Rui Zhang, Solveig Glomsrød, Qinghua Shi . Drivers behind energy consumption by rural households in Shanxi. AIMS Energy, 2015, 3(4): 576-591. doi: 10.3934/energy.2015.4.576
    [8] Mohamed Elweddad, Muhammet Güneşer, Ziyodulla Yusupov . Designing an energy management system for household consumptions with an off-grid hybrid power system. AIMS Energy, 2022, 10(4): 801-830. doi: 10.3934/energy.2022036
    [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] Chukwuebuka Okafor, Christian Madu, Charles Ajaero, Juliet Ibekwe, Happy Bebenimibo, Chinelo Nzekwe . Moving beyond fossil fuel in an oil-exporting and emerging economy: Paradigm shift. AIMS Energy, 2021, 9(2): 379-413. doi: 10.3934/energy.2021020
  • Climate change is having a significant impact on weather variables like temperature, humidity, precipitation, solar radiation, daylight duration, wind speed, etc. These weather variables are key indicators that affect electricity demand and consumption. Hence, understanding the significance of weather elements on energy needs and consumption is important to be able to adapt, strategize, and predict the effect of the changing climate on the required energy of an organization. This study aims to investigate the relationship between changing weather elements and electricity consumption, employing Multivariate Linear Regression (MLR), Support Vector Regressions (SVR), and Artificial Neural Network (ANN) models to predict the effect of weather changes on energy consumption. The following approaches were engaged for this study: Creating a catalog of weather elements and parameters of energy need or its consumption; analyzing and correlating electrical power consumption to weather factors; and developing prediction models—MLR, SVR, and ANN to predict the significance of the change in the variables of weather on the electrical energy consumption. Among the weather variables considered, temperature emerged as the most influential factor affecting electricity consumption, displaying the highest correlation. The monthly total pattern for electricity use for the case study area followed a similar pattern as the mean apparent temperature. Of the three models (MLR, SVR, and ANN) developed in this study, the ANN model yielded the best predictive performance, with Mean Square Error (MSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) of 2.733%, 1.292%, and 4.66%, respectively. Notably, the ANN model outperformed the other models (MLR and SVR) by more than 20% across the predictive performance metrics employed.



    Access to an adequate, secure, and sustainable energy supply is important for economic and social development [1]. It has been established that the rate of industrialization of any country is dependent on the amount of energy available in that country and the extent to which this energy is utilized. According to [2], It is critical to provide enough energy to meet basic human needs while mitigating negative environmental impacts. As global weather conditions change, energy consumption in weather-sensitive industries or sectors is likely to change. The most visible and studied impacts are changes in building space conditioning efficiency as a result of increased space cooling demands [3]. According to [3], climate changes the way consumers react to short-term weather shocks and how people will adjust in the long run by switching to durable goods. The demand for electricity is affected by several factors, which can be referred to as economic variables, calendar effects, and climate variables [4]. Climate change is having a moderately significant impact on weather factors such as precipitation, humidity, temperature, solar radiation, daylight duration, wind speed, and so on, all of which influence electricity demand and consumption [5,6,7,8]. The authors in [9] concluded that it is imperative to comprehend these weather variabilities and their effects on the power system to be able to recommend, plan, and manage the change to renewable energy generation. Moreover, it is important to include these weather variables in electricity demand models to increase the predicting power and accuracy of models as well as give energy managers an insight into the factors influencing electricity demand [4]. Of particular note is the steady temperature rise in Nigeria, attributed to global warming, with data revealing an alarming 3 ℃ per decade rise in mean minimum temperature over the span of four decades [10]. Recent research has focused on the link between climate change and energy usage, with studies by [11] exploring the Agricultural Energy Internet's role in revolutionizing agriculture, highlighting relevant technologies and energy consumption patterns. [12] emphasized the benefits of optimizing collaboration between photovoltaic greenhouses and rural energy systems, showing substantial energy cost savings through load control. In another study, [13] investigate the construction of the Agricultural Energy Internet, its impact on agricultural electrification and carbon emissions reduction, and stress the role of digital twin and virtual power plant technologies.

    Several researchers have created energy models to simulate the influence of parameters such as the economy, weather conditions, demographics, population, and calendar data on different facets of electrical energy demand and usage (minimum and peak load, heating and cooling, demand daily and monthly consumption, etc.). [14] developed a high-accuracy ANN model for forecasting energy load for short-term using a Long Short-Term Memory (LSTM) network and tested it using historical data. [15] forecasted electrical energy consumption by developing two ANN models; the first model was a univariate completely connected ANN model with three Electrical Energy Consumption (EEC) input units, and the second model was a partly connected multivariate ANN model that has both EEC and Degree Day (DD) as input units. [16] created a model for predicting electricity use in Saudi Arabia based on past data for weather parameters (relative humidity, solar radiation, average air temperature), economic parameters or indicators (gross domestic product (GDP) per capita) and demography (population). [17] utilized ANN and SVR (SVR) to predict electricity use in Turkey based on a catalog of electricity consumption that spans forty years (1970 to 2011). [18] developed a predicting model comprised of two sub-models using demographic, economic, and weather variables to forecast electricity consumption in Saudi Arabia. [19] examined the effect of weather parameters on monthly electric energy demand in the United Kingdom using three different models: Box and Jenkin's model, ANN, and the socioeconomic model (S-E). [20] developed a model for predicting short-term electricity requirements that incorporates previous data on consumption into a functional vector autoregressive state space model. [4] modeled the impact of temperature on daily maximum electricity need in South Africa using the generalized extreme value distribution and piecewise linear regression model. These models, often categorized as parametric and non-parametric, provide varying degrees of precision in forecasting electricity needs, measured through diverse statistical methods such as MSE, MAPE, MAE, and Sum of Square Error (SSE). Some of these models, specifically the non-parametric models (SVR, ANN, etc.), are data dependent, and as such, the resultant models are designed according to the dataset. It is, therefore, important to have an in-depth understanding of the influence and impact of weather variables on energy demand and consumption to be able to adapt, plan, and forecast the impact of the changing climate on the energy needs of an organization. This study aims to provide a comprehensive understanding of the effect of weather factors on energy demand and consumption to support adapting, planning, and forecasting the effect of climate change on an organization's electricity requirements by modeling the influence of changes in weather variables (such as temperature, relative humidity, solar radiation, sunshine hours, evaporation) on the electricity demand and consumption at a typical agricultural research institute and forecasting the impact of change in these variables on electricity demand [21].

    This study employed the following methodology to analyze and model the impact of weather variables on electrical energy consumption:

    ⅰ. A comprehensive database was created, comprising daily data from the years 2011 to 2018 and 2008 to 2018 for monthly data. This database included records of weather variables and energy demand or consumption parameters.

    ⅱ. The electrical energy demand (maximum and minimum power, average load etc) was analyzed and correlated to weather variables. These variables included minimum and maximum temperatures, as well as minimum and maximum values of relative humidity, wind speed, solar radiation, and sunshine hours.

    ⅲ. To quantify the impact of changes in weather variables on electrical energy demand, several multivariate models were employed. These models included multiple linear regression, support vector regression, and artificial neural networks.

    ⅳ. The predictive performance of the models was accessed using statistical methods such as mean absolute error, mean square error, and mean absolute percentage error.

    The location of the study was the International Institute of Tropical Agriculture (IITA), situated in Ibadan, Oyo State, Nigeria. IITA's coordinates are approximately Latitude 07°30' N and Longitude 03°55' E, with an altitude of 227 meters above sea level. This region is classified under the Köppen climate classification as having a tropical wet and dry climate, denoted by the abbreviation "Aw". Such climates are typically characterized by distinct wet and dry seasons, with the wet season typically occurring in the summer months and the dry season in the winter months [22]. The Institute is situated on a 1000-hectare land, housing research farms, offices, and residential and commercial buildings. Electricity supply to the IITA campus is sourced from both the public utility, specifically the Ibadan Electricity Distribution Company (IBEDC), and four 1.5 MVA self-generation power plants.

    Weather and temperature are key determinants of electricity use. With regards to [23], heating and cooling requirements account for more than 40% of energy usage in both residences and industries and are heavily determined by weather conditions. The weather data was obtained from the IITA weather observation station established in Ibadan, Nigeria. The daily data for the weather (minimum and maximum temp., sunshine hours, minimum and maximum rel. humidity, solar radiation, and wind speed) spanning from the year 2011 to 2018 was obtained, and the monthly data for the weather (minimum and maximum temperature) spanning from 2008 to 2018 was collated for this study.

    Energy data for this study were obtained from IITA Power Unit. Energy parameters, namely average power factor, maximum, minimum, and average loads (in WM), generator hours (hrs), public utility consumption, public utility hours (hrs), generator consumption, and total use, were recorded daily for this study.

    In the data preprocessing phase, we applied normalization and standardization techniques to the acquired energy and weather datasets. The primary aim of normalization is to prevent variables with larger numeric ranges from overshadowing those with smaller numeric ranges. Additionally, we introduced a new categorical variable known as "day-index" to distinguish between working days (assigned a value of 1) and non-working days (assigned a value of 0). This differentiation was made with the understanding that working days significantly impact the population in the study area, subsequently influencing energy consumption. As highlighted by [24], there exists a direct correlation between population and energy consumption. Empirical observations also supported this, revealing a decrease in population during non-working days. To account for demographic, population, and activity fluctuations in the study area, we introduced two additional variables, "month index" and "year index". These variables played a crucial role in enhancing the performance of the models applied in this study. The dataset was further divided into three segments, with a distribution ratio of sixty percent for training, twenty percent for validation, and twenty percent for testing. This division facilitated rigorous testing and validation, ensuring the robustness and reliability of the models developed.

    Table 1 shows the linear correlation coefficient between weather variables and total energy consumption obtained from the daily data from 2011 to 2018. A substantial negative correlation of −0.74 is observed between daily maximum temperature and minimum relative humidity. This indicates that as the maximum temperature increases, the minimum relative humidity decreases. Also, a high positive correlation was observed between the daily maximum temperature and the sunshine hours, as well as between sunshine hours and solar radiation. These findings highlight the interplay between weather variables, shedding light on how changes in one variable can influence another. The influence of changing population and activities becomes evident when observing the strong positive correlation between total consumption and the day index. This correlation is further enhanced when considering the year index and month index, as demonstrated in Table 2 with the correlation coefficient between Average Temperature and Total Consumption increasing to 0.87 for working day and 0.86 for non-working days for the year 2015 which is a similar trend in all other years in this study.

    Table 1.  Correlation coefficient between daily weather variables and total electricity consumption (Total cons) (2011–2018).
    Wind speed Max. rel. hum. Min. rel. hum. Max. temp. Min. temp. Avg. temp. Sunshine hr. Solar radiation Day index Total cons
    Wind speed 1 −0.21 −0.16 0.3 0.15 0.31 0.22 0.13 0.031 0.033
    Max. rel hum −0.21 1 0.4 −0.15 0.27 0.019 −0.12 −0.17 0.039 0.048
    Min. rel. hum. −0.16 0.4 1 −0.74 0.15 −0.49 −0.56 −0.34 0.0355 −0.11
    Max. temp. 0.3 −0.15 −0.74 1 0.21 0.87 0.68 0.49 −0.015 0.31
    Min. temp. 0.15 0.27 0.15 0.21 1 0.66 0.026 0.11 0.063 0.42
    Avg. temp. 0.31 0.019 −0.49 0.87 0.66 1 0.53 0.43 0.02 0.45
    Sunshine hr. 0.22 −0.12 −0.56 0.68 0.026 0.53 1 0.62 0.0051 0.23
    Solar radiation 0.13 −0.17 −0.34 0.49 0.11 0.43 0.62 1 −0.032 0.33
    Day index 0.031 0.039 0.035 −0.015 0.063 0.02 0.0051 −0.032 1 0.67
    Total cons 0.033 0.048 −0.11 0.31 0.42 0.45 0.23 0.33 0.67 1

     | Show Table
    DownLoad: CSV
    Table 2.  Correlation between daily weather variables and total consumption considering the day index (2015).
    Variables Total cons (Index 1) Total cons (Index 0)
    Wind speed 0.26 0.34
    Max. rel. hum. 0.3 0.31
    Min. rel. hum. −0.24 −0.29
    Max. temp. 0.61 0.62
    Min. temp. 0.76 0.75
    Avg. temp. 0.87 0.86
    Sunshine hr. 0.3 0.36
    Solar radiation 0.29 0.34

     | Show Table
    DownLoad: CSV

    Among the analyzed weather variables, it is evident that average daily temperature exerts the most significant influence on total electricity consumption, whereas wind speed exhibits the least impact on consumption.

    In this study, the dependent variable was energy utilization; specifically, electricity consumption (kWh), while the independent variables, such as day index, year, and temperature, are listed in Table 3. This regression analysis was used to measure the effect of changes in weather factors on electricity use in the study area.

    Table 3.  Variables for the study.
    Designation Model inputs (Independent variables)
    A Day index
    B Year index
    C Month index
    D Max. temp.
    E Min. temp.
    F Sunshine hour
    G Solar radiation
    H Min. rel. hum.
    Model output (Dependent variable)
    Y Total consumption (Total cons)

     | Show Table
    DownLoad: CSV

    The model of the MLR can be represented with Eq 1.

    Y=Z0+AZ1+BZ2+CZ3+DZ4+EZ5+FZ6+GZ7+HZ8 (1)

    This model was executed with the daily energy and weather data obtained from IITA using a Python programming language. The values for the coefficient of the independent variable Z1 to Z8 were obtained for the linear regression model in Eq 2.

    Y=7.2366A+0.7981B+0.0401C+0.4317D+0.8126E+0.1006F+0.0956G+0.0124H1618.32 (2)

    SVR is adopted to minimize the generalization error bound. Suppose there are given training data {(x1,y1),.(xt,yt)}X×R where X represents the space of the input patterns. In SVR, a function f(x) with the most deviation ε from the obtained targets yi for all the training data, and a small coefficient w is given in Eq 3.

    f(x)=(w,x)+bwithwX,bR (3)

    For minimization of the norm, w2=(w,w). A convex optimization problem is expressed in Eq 4:

    minimize0.5w2
    subjectto{yi(w,xi)bϵ(w,xi)+byiϵ (4)

    In cases in which f(x) exists, Eq 4 is feasible and accurately approximates all pairs (xi,yi). Some errors are permissible at times [25]. This model was likewise executed with the daily energy and weather data obtained from IITA using a Python programming language.

    There are many ANN structures used in machine learning problems, but the Multilayer Perceptron (MLP). MLP is the most commonly used ANN type. The MLP is a fully connected structure ANN framed up with an input layer, one or more hidden layers, and an output layer, as illustrated in Figure 1 [26].

    Figure 1.  General representation of an ANN.

    Tables 47 show the parameters (input, scaling, structure, selection, and training) for developing the ANN model. This model was executed using the daily energy and weather data obtained from IITA using the Python programming language sklearn (module) library.

    Table 4.  Input selection algorithm's description and values.
    Input Description Value
    Trials number Number of trials for every neural network 3
    Selection loss goal Goal value for the selection error 0
    Tolerance Tolerance for selection error during algorithm training 0.01
    Maximum selection failures The maximum number of iterations when the selection error increases 10
    Maximum number of inputs The neural network's maximum number of inputs 9
    Minimum correlation The minimum value for considering correlations 0
    Maximum correlation Maximum value for considering correlations 1
    Maximum number of iterations Maximum number of iterations to execute the algorithm 100
    Maximum time The maximum time for the input selection algorithm 3600
    Plot selection error history Make a graph of each iteration's selection errors true
    Plot training loss history Make a graph of each iteration's selection errors true

     | Show Table
    DownLoad: CSV
    Table 5.  Input scaling values.
    Input Minimum Maximum Mean Deviation
    Wind speed (km/hr) 0 7.7 3.28 1.09
    Max. rel. hum. (%) 73 100 93.8 4.88
    Min. rel. hum. (%) 0 97 51.6 17.7
    Solar radiation (MJ/m²/day) 3.53 27.8 14.7 3.75
    Sunshine hour (hr.) 0 11.1 5.75 2.86
    Year index 1 8 4.49 2.26
    Day index 0 1 0.674 0.469
    Min. temp. (℃) 16 27 22.5 1.68
    Max. temp. (℃) 22.5 38 31.4 2.67

     | Show Table
    DownLoad: CSV
    Table 6.  Perceptron layer values and activation functions.
    Layer Inputs number Perceptron number Activation function
    Hidden layer 9 100 Hyperbolic tangent
    Output layer 100 1 Linear

     | Show Table
    DownLoad: CSV
    Table 7.  ANN model training—Quasi-Newton method results.
    Parameter Value
    Final parameters norm 20
    Final training error 0.0168
    Final selection error 0.0164
    Final gradient norm 0.0166
    Elapsed time 00:01
    Epochs number 50
    Stopping criterion Maximum number of iterations

     | Show Table
    DownLoad: CSV

    A plot of monthly total electricity consumption and average temperature from 2008 to 2018 is depicted in Figure 2. It is observed that an increase or decrease in average temperature results in the same electricity consumption. The maximum electricity consumption was observed between February and April, which is the hottest period (peak dry season) in the year. The lowest average temperature and the minimum electricity consumption were observed between July and September (peak rainy season) in the year based on the data obtained.

    Figure 2.  Monthly energy consumption and average temperature pattern (2008–2018).

    Figure 3 illustrates the linear regression for the dependent variable, daily total electricity consumption (Total_Cons), for the MLR model. The predicted values of the test set data were plotted against the actual to test the loss in the model. A line of best fit is shown.

    Figure 3.  MLR model linear regression chart between predicted and actual electricity consumption.

    The values of the MLR model are shown in Table 8. For a perfect model, 1 will be the correlation between the actual value and the predicted value of the dependent variable (Total_Cons).

    Table 8.  MLR model linear regression parameters between actual and predicted electricity use.
    Category Value
    Intercept 6.207
    Slope 0.786
    Correlation 0.904

     | Show Table
    DownLoad: CSV

    Figure 4 shows the linear regression for the dependent variable, daily total electricity consumption (Total_Cons), for the support vector machine-regression model. The predicted values of the test set data were plotted versus the actual ones as dots to test the loss in the model. The line shows the best linear fit. Also, the values for the linear regression analysis for the support vector machine-regression model are shown in Table 9.

    Figure 4.  SVR model linear regression chart between the predicted and actual electricity use.
    Table 9.  SVR model linear regression parameter between the predicted and actual electricity use.
    Category Value
    Intercept 4.19
    Slope 0.855
    Correlation 0.942

     | Show Table
    DownLoad: CSV

    Figure 5 shows the linear regression for the dependent variable, daily total electricity consumption (Total_Cons) for the ANN model. The predicted values of the test set data were plotted against the actual to test the loss in the model. A line of best fit is shown. The values of the ANN model are shown in Table 10. For a perfect model, the correlation between the actual value and the predicted value of the dependent variable (Total_Cons) will be 1. However, the correlation obtained with ANN is the best and closest to 1 when compared to the MLR and SVR models.

    Figure 5.  ANN model linear regression chart between the actual and predicted electricity use.
    Table 10.  ANN linear regression parameters between the actual and predicted electricity use.
    Category Value
    Intercept 2.048
    Slope 0.937
    Correlation 0.949

     | Show Table
    DownLoad: CSV

    Figure 6 shows a plot of the forecasted daily electricity use from the MLR model and the real daily electricity use from IITA. The MLR model has an MSE of 4.893, MAE of 1.773, and MAPE of 6.213%, as shown in Table 11.

    Figure 6.  MLR model—A plot of predicted daily electricity consumption to actual daily electricity consumption.
    Table 11.  Predictive performance of the models.
    Error indices MLR model MLR (PT) model SVR model ANN model
    MAE 1.773 1.376 1.355 1.292
    MSE 4.893 3.330 3.057 2.733
    MAPE 6.213% 4.886% 4.826% 4.660%

     | Show Table
    DownLoad: CSV

    The performance of the linear regression model was improved by using polynomial transformation (PT) of the input variables to the fourth order, resulting in a better-fitted model with an MSE of 3.33, MAE of 1.376, and a MAPE of 4.886% using the test dataset, as shown in Table 11.

    A plot of the forecasted daily electricity usage from the SVR model and the real daily electricity consumption from IITA is shown in Figure 7. The SVR model has an MSE of 3.057, MAE of 1.355 and MAPE of 4.826%, as shown in Table 11. The SVR model showed an improvement over the MLR model, as observed from the error value.

    Figure 7.  SVR model—Plot of predicted daily electricity consumption to actual daily electricity consumption.

    Figure 8 shows a plot of the forecasted daily electricity consumption from the ANN model and the actual daily electricity consumption from IITA. The ANN model has an MSE of 2.733, MAE of 1.292, and MAPE of 4.66%, as shown in Table 11.

    Figure 8.  ANN model—Plot of predicted daily electricity consumption to actual daily electricity consumption.

    The fitness of these models was tested using various statistical methods (R-squared, MSE, MAE, and MAPE) as seen in the results, as well as the distribution plot of the predicted test data and the actual test data as seen in Figures 35.

    This study sheds light on the critical influence of weather variables on electricity consumption, with temperature standing out as the most significant factor, displaying the highest correlation. The monthly total electricity usage pattern in the case study area closely mirrored the mean apparent temperature, emphasizing the direct impact of weather on energy needs. Models were created to predict the anticipated daily electricity use when given the values of the weather variables. ANN model produced the best result concerning error and predictive performance compared to SVR and MLR models. ANN model outperformed the other models (MLR and SVR) by more than 20% across the predictive performance metrics employed in this study. To optimize energy utilization, we advocate for the implementation of building management systems equipped with sensors (such as temperature, humidity, and occupancy sensors) and incorporated with a robust control system to effectively manage the energy consumption in the buildings and take full advantage of the changes in weather variables.

    Organizations may consider generating renewable energy from solar as this energy can be used to offset the increase in electricity consumption during the months with high average temperatures as such months also have an equivalent high solar radiation (average temperature has a high positive correlation with solar radiation and sunshine hours). The scope of this study was constrained by the limited size of the case study area and the availability of historical data. This limitation arises from the irregular and unstable power supply in Nigeria, which hinders the collection of comprehensive energy data encompassing a broader geographical expanse. Given the challenging nature of gathering electricity data in a country grappling with erratic power supply, particularly in the Nigerian context, obtaining data representative of more extensive geographical areas, such as cities or states, proves to be a significant challenge. The challenges posed by this prevailing condition underscore the need for future research to encompass broader geographical regions such as cities or states. By doing so, we can have a more comprehensive insight into energy patterns, aiding in robust energy planning and effective climate change response within Nigeria and across the African continent.

    The authors declare that they have not used Artificial Intelligence (AI) tools in the creation of this article.

    The authors declare no conflicts of interest.



    [1] Oyedepo SO, Adekeye T, Lerarno RO, et al. (2015) A study on energy demand and consumption in Covenant University, Ota, Nigeria. International Conference on African Development Issues (CU-ICADI) 2015: Renewable Energy Track, 203–211. Available from: https://core.ac.uk/download/pdf/32226332.pdf.
    [2] Rogner HH, Popescu A (2000) An introduction to energy. World Energy Assessment: Energy and the Challenge of Sustainability, United Nations Development Programme[UNDP], 31–37. Available from: https://www.undp.org/sites/g/files/zskgke326/files/publications/World%20Energy%20Assessment-2000.pdf.
    [3] Auffhammer M, Mansur ET (2014) Measuring climatic impacts on energy consumption: A review of the empirical literature. Energy Econ 46: 522–530. https://doi.org/10.1016/j.eneco.2014.04.017 doi: 10.1016/j.eneco.2014.04.017
    [4] Chikobvu D, Sigauke C (2013) Modelling influence of temperature on daily peak electricity demand in South Africa. J Energy South Afr 24: 63–70. Available from: http://www.scielo.org.za/pdf/jesa/v24n4/08.pdf.
    [5] Fikru MG, Gautier L (2015) The impact of weather variation on energy consumption in residential houses. Appl Energy 144: 19–30. https://doi.org/10.1016/j.apenergy.2015.01.040 doi: 10.1016/j.apenergy.2015.01.040
    [6] Flores-Larsen S, Filippín C, Barea G (2019) Impact of climate change on energy use and bioclimatic design of residential buildings in the 21st century in Argentina. Energy Build 184: 216–229. https://doi.org/10.1016/j.enbuild.2018.12.015 doi: 10.1016/j.enbuild.2018.12.015
    [7] Liu S, Zeng A, Lau K, et al. (2021) Predicting long-term monthly electricity demand under future climatic and socioeconomic changes using data-driven methods: A case study of Hong Kong. Sustainable Cities Soc 70: 102936. https://doi.org/10.1016/j.scs.2021.102936 doi: 10.1016/j.scs.2021.102936
    [8] Tootkaboni MP, Ballarini I, Corrado V (2021) Analysing the future energy performance of residential buildings in the most populated Italian climatic zone: A study of climate change impacts. Energy Rep 7: 8548–8560. https://doi.org/10.1016/j.egyr.2021.04.012 doi: 10.1016/j.egyr.2021.04.012
    [9] Staffell I, Pfenninger S (2018) The increasing impact of weather on electricity supply and demand. Energy 145: 65–78. https://doi.org/10.1016/j.energy.2017.12.051 doi: 10.1016/j.energy.2017.12.051
    [10] Audu EB (2012) An analytical view of temperature in Lokoja, Kogi State, Nigeria. Int J Sci Technol 2: 856–859. Available from: https://citeseerx.ist.psu.edu/document?repid = rep1 & type = pdf & doi = fb115eade09c21a2a1bfca1ef653cae66537d8f7.
    [11] Fu X, Niu H (2023) Key technologies and applications of agricultural energy internet for agricultural planting and fisheries industry. Inf Process Agric 10: 416–437. https://doi.org/10.1016/j.inpa.2022.10.004 doi: 10.1016/j.inpa.2022.10.004
    [12] Fu X, Zhou Y (2022) Collaborative optimization of PV greenhouses and clean energy systems in rural areas. IEEE Trans Sustainable Energy 14: 642–656. https://doi.org/10.1109/TSTE.2022.3223684 doi: 10.1109/TSTE.2022.3223684
    [13] Zhang X, Fu X, Xue Y, et al. (2023) A review on basic theory and technology of agricultural energy internet. IET Renewable Power Gener, 1–14. https://doi.org/10.1049/rpg2.12808 doi: 10.1049/rpg2.12808
    [14] Kou PH, Huang CJ (2018) A high precision artificial neural networks model for short-term energy load forecasting. Energies 11: 213. https://doi.org/10.3390/en11010213 doi: 10.3390/en11010213
    [15] Nasr GE, Badr EA, Younes MR (2001) Neural networks in forecasting electrical energy consumption. FLAIRS Conference: 489–492. Available from: https://citeseerx.ist.psu.edu/document?repid = rep1 & type = pdf & doi = ca602d381a9970cfd016d83f2f136c3de16a9f49.
    [16] Abdel-Aal RE, Al-Garni AZ, Al-Nassar YN (1997) Modelling and forecasting monthly electric energy consumption in eastern Saudi Arabia using abductive networks. Energy 22: 911–921. https://doi.org/10.1016/S0360-5442(97)00019-4 doi: 10.1016/S0360-5442(97)00019-4
    [17] Oğcu G, Demirel OF, Zaim S (2012) Forecasting electricity consumption with neural networks and support vector regression. Proc-Soc Behav Sci 58: 1576–1585. https://doi.org/10.1016/j.sbspro.2012.09.1144 doi: 10.1016/j.sbspro.2012.09.1144
    [18] Alabbas N, Nyangon J (2016) Weather-based long-term electricity demand forecasting model for Saudi Arabia: A hybrid approach using end-use and econometric methods for comprehensive demand analysis. The 34th US Association for Energy Economics (USAEE) and International Association for Energy Economics (IAEE) North American Conference, Tulsa, Oklahoma.
    [19] Hor CL, Watson SJ, Majithia S (2005) Analyzing the impact of weather variables on monthly electricity demand. IEEE Trans Power Syst 20: 2078–2085. https://doi.org/10.1109/TPWRS.2005.857397 doi: 10.1109/TPWRS.2005.857397
    [20] Nagbe K, Cugliari J, Jacques J (2018) Short-term electricity demand forecasting using a functional state space model. Energies 11: 1120. https://doi.org/10.3390/en11051120 doi: 10.3390/en11051120
    [21] Rodrigues E, Fernandes MS, Carvalho D (2023) Future weather generator for building performance research: An open-source morphing tool and an application. Build Environ 233: 110104. https://doi.org/10.1016/j.buildenv.2023.110104 doi: 10.1016/j.buildenv.2023.110104
    [22] Chen D, Chen HW (2013) Using the Kö ppen classification to quantify climate variation and change: An example for 1901–2010. Environ Dev 6: 69–79. https://doi.org/10.1016/j.envdev.2013.03.007 doi: 10.1016/j.envdev.2013.03.007
    [23] Crowley C, Joutz FL (2005) Weather effects on electricity loads: Modeling and forecasting 12 December 2005. Final Report for US EPA on Weather Effects on Electricity Loads. Available from: https://www.ce.jhu.edu/epastar2000/epawebsrc/joutz/Final%20Report%20EPA%20Weather%20Effects%20on%20Electricity%20Loads.pdf.
    [24] Fayaz M, Kim DH (2018) A prediction methodology of energy consumption based on deep extreme learning machine and comparative analysis in residential buildings. Electronics 7: 222. https://doi.org/10.3390/electronics7100222 doi: 10.3390/electronics7100222
    [25] Basak D, Pal S, Patranabis DC (2007) Support vector regression. Neural Inf Process: Lett Rev 11: 203–224. Available from: https://www.researchgate.net/publication/228537532_Support_Vector_Regression.
    [26] Matera N, Mazzeo D, Baglivo C, et al. (2023) Hourly forecasting of the photovoltaic electricity at any latitude using a network of artificial neural networks. Sustainable Energy Technol Assess 57: 103197. https://doi.org/10.1016/j.seta.2023.103197 doi: 10.1016/j.seta.2023.103197
  • This article has been cited by:

    1. 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
  • Reader Comments
  • © 2024 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(1431) PDF downloads(86) Cited by(1)

Figures and Tables

Figures(8)  /  Tables(11)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog