Open Access
ARTICLE
Smart Load Forecasting and Load Scheduling in Agriculture Irrigation Using Deep Learning Techniques
1 Department of Electrical and Electronics Engineering, Siddhartha Academy of Higher Education, Deemed to be University, Vijayawada, Andhra Pradesh, India
2 Fukushima Renewable Energy Institute, Koriyama, Japan
* Corresponding Authors: Subhojit Dawn. Email: ; Taha Selim Ustun. Email:
Energy Engineering 2026, 123(9), 5 https://doi.org/10.32604/ee.2026.083555
Received 06 April 2026; Accepted 05 June 2026; Issue published 06 August 2026
Abstract
Agricultural irrigation consumes a large share of electricity in rural areas, creating predictable peak conditions on distribution systems that can lead to grid instability and unreliability. Classic load-forecasting and scheduling methods are time-consuming and unable to respond rapidly to fluctuating irrigation demand. Additionally, most traditional methods require a stable internet connection to function and therefore cannot readily adapt to seasonal changes or crop-specific irrigation requirements. This creates inefficiencies in energy consumption and inconsistencies in water delivery to consumers. To reduce these drawbacks, this research proposes a framework for irrigation forecasting and dynamic scheduling for agricultural systems. A hybrid deep-learning algorithm combining convolutional neural networks (CNN), bidirectional long short-term memory (BiLSTM), and particle swarm optimization (PSO) was developed. The CNN component identifies spatial features from historical electricity consumption, soil moisture, weather data, and crop growth-stage information to map when and how much water is needed. The BiLSTM component captures temporal trends in irrigation demand predicted by the CNN. Finally, the PSO component reduces simultaneous agricultural load demand and constrains scheduled demand within a predefined grid-capacity threshold, helping mitigate overloading risks in constrained supply systems. This integrated approach supports improved energy efficiency and agricultural sustainability through better irrigation practices, enhanced management of rural power systems, and increased reliability of irrigation services.Keywords
The problem of energy management in contemporary agricultural systems, especially the irrigation networks in rural areas, has become an area of major research owing to the augmentation of electricity needs, climate change, and the limitations of the distribution grid. The irrigation pumps in the agricultural regions form one of the biggest controllable loads in the areas, running mostly at peak load at the same time. The net effect of this concentrated demand is that it leads to voltage instability, feeder congestion, overloading of transformers, and inefficient use of the generation resources. Therefore, achieving stability in the water supply and at the same time maintaining the grid’s stability involves working together to have load forecasting and optimal scheduling systems [1]. The inherent characteristics of the electricity demand in agriculture are the seasonal characteristics of the environment, like rainfall, variability in temperature, moisture availability in soil, crop growth, and water storage capacity. Long-term and medium-term demand estimation has used traditional statistical forecasting methods due to the simplicity and interpretability, furthermore [2]. Nonlinear dependence and sudden change in demand: Regression-based and classical time-series models are based on the assumption of linearity and stationarity, which restrict their application in modelling nonlinear dependencies and sudden shifts in demand that are frequently observed in agricultural load patterns driven by irrigation machine learning-based forecasting To get around these limitations, machine learning-based forecasting has been proposed in the context of agricultural load prediction [3]. These models are capable of improving nonlinear mapping with the use of meteorological variables and past consumption data. However, independent machine learning models can be very demanding in terms of feature engineering and hyperparameter optimization, and such models may be impractical in rural areas with a small scale of computational resources. The recent advancements in deep learning constituted a significant contribution to the performance of short-term load forecasting. A hybrid CNN-LSTM based on attention mechanisms has been observed to have better skills in spatial correlations and temporal dependencies of power consumption data [4]. In the same vein, better CNN-BiLSTM models are more robust when applied to uncertain power system conditions because they are trained on two-way time association [5]. These structures are efficient in minimizing forecasting error as well as enhancing flexibility to varying agricultural load requirements. Forecasting predicts demand behaviour, whereas optimal scheduling provides efficient execution of demand-side control measures. Multi-objective genetic algorithm-based irrigation scheduling frameworks with real-time approaches have been suggested to ensure that there is a minimization of electricity cost and that water supply is sufficient [6]. Such strategies take into consideration the same time limitations, including the capacity of the pumps, the time of irrigation, and grid restrictions at the same time. Additional load profile management strategies that include water storage facilities also increase flexibility in agricultural areas since peak shift and load flattening can be applied [7]. These methods underscore the need to integrate physical infrastructure and smart optimization algorithms. Smart grids’ load management models are based on demand-side load management, which focuses on grid efficiency and scheduling coordination [8]. Multi-objective methods of scheduling appliances build on this model by aiming to reduce the cost, peak demand, and user satisfaction at the same time [9]. The concept of tri-objective scheduling models in smart residential grids was proven to be feasible in terms of combining responsive loads with renewable energy sources and provided indications of the distributed energy optimization that can be applied to rural irrigation systems [10]. Metaheuristic optimization methods have gained interest in the solution of nonlinear multi-constraint energy management problems. Energy management strategies are based on the Optimization of the Grey Wolf and show high convergence properties in the case of a multi-objective load scheduling situation [11]. Hybrid GWO-PSO optimization methods also promote the balance of exploration and exploitation in high-dimensional energy dispatch optimization issues [12]. Such algorithms are especially appropriate in irrigation scheduling, where there are several conflicting goals to be optimized at the same time, with uncertainty. Although there has been great improvement in forecasting and optimization methods, most research undertakings consider the prediction and scheduling as separate processes. There are not many frameworks that combine advanced deep learning-based forecasting and real-time multi-objective irrigation scheduling with regard to rural infrastructure limitations. Moreover, the computational efficiency, uncertainty treatment, and scalable deployment are still unsolved. Thus, there is an imperative to have an integrated, flexible, computationally efficient forecasting scheduling model that has the capability to take in multidimensional environmental measurements, is responsive to grid dynamics, and can deliver water reliably with minimal cost of operation and peak demand pressure.
Accurate short-term load forecasting (STLF) is of critical importance to the efficient operation of power systems, generation scheduling, and demand side management. With the growth in speed in the development of smart grid infrastructure and the penetration of renewable energy sources, some advanced forecasting and optimization techniques have been proposed to improve prediction accuracy and operation efficiency. Early research has been presented for metaheuristic types of optimization algorithms in the difficult scheduling and resource allocation issues for power systems. Techniques such as Grey Wolf Optimization (GWO) and Particle Swarm Optimization (PSO) have been used for best power dispatch, energy, and load scheduling. These algorithms demonstrated improved convergence and optimization functionality, which resulted in about 10%–18% better operational efficiency performance than conventional optimization methods [13–18]. Energy management in residential and distributed energy systems has also attracted much research attention. Studies have proposed the role of demand-side management (DSM) as well as the smart house energy management systems (HEMS) to schedule the operation of household appliances and electric vehicle charging operations. Multi-objective optimization algorithms enabled to minimize the electricity cost and peak load demand cost saving of ~12%–20% and peak load saving of nearly 15% in the smart grid environments [19–21]. With the availability of huge-scale smart meter data sets, machine learning and deep learning models have been extensively adopted for load forecasting applications. Advanced architectures and models such as sequence-to-sequence recurrent neural networks (Seq2Seq RNN) and attention-based models were proposed to model temporal dependencies in electricity demand data to enhance the accuracy of the forecast by around 8%–12% with respect to traditional regression methods [22]. Traditional statistical methods, such as Autoregressive Integrated Moving Average (ARIMA) models, are also largely adopted in this electricity demand prediction because of simplicity and interpretability. But these models are often unable to describe nonlinear load patterns. Hybrid models (ARIMA plus Artificial Neural Networks, ANN) have led to the mean absolute percentage error (MAPE) values of about 3% to 5% at the short-term load forecasting [23,24]. More recently, advanced deep learning architectures such as LSTM, CNN, and hybrid CNN-BiLSTM-Attention models have been published to have a superior performance than in the area of electricity demand prediction. These models manage to capture spatial and time dependence in load data and have been reported to have MAPE values as small as 1.8%–2.5% in the case of high-resolution forecasting tasks [25–35]. Despite such advancements, much developed research is based mainly on the prediction accuracy and doesn’t integrate the forecasting in the balancing of the grid and scheduling the load optimally, which is considered an important challenge in the modern smart grid systems [36,37].
From the comparison presented in Table 1, it can be observed that in the recent research, the main purposes are to improve the accuracy of short-term load forecasting using statistical models, machine learning techniques, and newly developed deep learning architectures. The use of a hybrid CNN-BiLSTM-Attention model has shown high forecasting accuracy with MAPE values in the region of 2%–3%, which indicates how effective deep neural networks can be in learning spatial and temporal dependencies in electricity demand data. In comparison with these more advanced statistics techniques, the classical statistics methods (e.g., Auto-Regressive Integrated Moving Average [ARIMA]) are known for providing stable forecasting performance when they have to deal with linear data sets and relatively low computation requirements, but will struggle when dealing with nonlinear and highly variable patterns of loads. Artificial Neural Network (ANN) based models have better prediction capability and scheduling efficiency, which, on the other hand, have a drawback, i.e., careful tuning of parameters, and may be prone to overfitting for limited training data. Overall, these studies attest to the efficiency of advanced forecasting models but also to constraints in terms of the complexity of computations, dependency on data, and poor correlation with balancing mechanisms of the grid.

Though remarkable progress has been achieved in short-term load forecasting by all three approaches, namely the statistical, machine learning, and deep learning methods, there are still some challenges. The classical statistical model (ARIMA) has difficulties in modeling nonlinear and highly dynamic load patterns, and most machine learning and deep learning models have high demands regarding large training datasets and are computationally intensive. Also, the majority of the research out there is based on the actual processes of enhancing forecasting precision, and it does not pay sufficient attention to grid balancing and optimal load scheduling. Individually optimization methods like Particle Swarm Optimization (PSO) have been used to plan tasks, although they have rarely been combined with sophisticated forecasting systems. Consequently, it is necessary that an integrated approach be implemented that considers effective balancing of the grid that involves accurate load forecasting as a result of increasing reliability and energy efficiency of the power system.
The three objectives of this work are clearly spelled out.
1. The former is to create a precise load forecasting model, which has the potential to predict the short-term power demand and address the seasonal variation and fluctuations.
2. The second is to balance the grid, the predicted load, and the available grid capacity to have a stable and reliable grid.
3. The third goal is to develop a useful approach to loading that will distribute the electrical loads to the appropriate time frames, hence contributing to a decrease in the peak load and enhancing the exposure of the energy.
The suggested Agricultural Load Forecasting and Scheduling (ALFS) model is an integration of deep learning and optimization to enhance the control of irrigation energy usage in rural farming systems. This methodology starts with the pre-processing of the agriculture and environmental inputs, which include temperature, rainfall, humidity, soil moisture, crop growth stage, and historical pump-load data. These are the variables extracted as the result of the JVVNL agricultural electricity consumption data of twelve districts in Rajasthan, which are being cleaned and normalized by Min-max scaling and transformed into supervised time-series sequences by a sliding-window method. A hybrid CNN–BiLSTM model is then employed for short-term load forecasting. The CNN extracts local spatial–temporal patterns, while the Bi-LSTM captures long-range bidirectional dependencies. The network is trained using the Adam optimizer and MSE loss to ensure stable and accurate predictions. The forecasted load is evaluated by a Grid Balancing Module, which checks transformer limits and peak-hour constraints to prevent voltage instability common in rural feeders. Based on the validated forecast, a Particle Swarm Optimization (PSO) algorithm generates an optimal irrigation schedule by minimizing energy cost, avoiding transformer overload, and meeting water demand requirements. Finally, a real-time feedback loop compares actual and predicted loads and adaptively updates the forecasting and scheduling parameters, ensuring reliable, efficient, and grid-friendly agricultural energy usage. The overview of the proposed system is diagrammatically shown in Fig. 1 with a detailed explanation of the following process.

Figure 1: Block diagram of the proposed system.
The predictive step of the whole scheme of power management is the load forecasting. It starts with a systematic buying of a compilation of data sets that affect the use of agricultural energy, such as the weather conditions like temperature, humidity, rainfall, and the wind speed, the water condition of the soil, the developmental stage of the crop, and the previous history of electrical utilization. The next step after the data collection is to intensively preprocess the data to guarantee the quality and consistency of the data. It involves the process of addressing missing values, noise, outliers, Min-Max scaling, characteristic normalization, and the production of sliding-window sequences to preserve the time sequence. A CNN-k
BiLSTM model is input with the filtered data. The convolutional layers are also trained on short-term variations, the Bi-LSTM layers on long-term variations, which means that there are multi-day agricultural behaviors and a seasonal load. The model is also trained using gradient-based training also known as the Adam optimizer to reduce prediction error. The outcome of this action is to be able to predict the future load demand with high precision, and it is on this basis that all the grid balancing and scheduling actions are performed based on prediction.
The forecasting model shown in Fig. 2 follows a fully connected flow beginning with a 24-step time-series input, which is first passed through a 1D Convolution layer that extracts short-term temporal patterns using 256 filters and a kernel size of 3. The feature map generated by this convolution is regularized through a dropout layer (0.1) to prevent overfitting before being fed into two stacked Bidirectional LSTM layers.

Figure 2: Convolutional neural network (CNN) architecture.
The sequence of units in the first Bi-LSTM block performs processing on the sequence in both forward and backward directions of 512 units, so that the model may learn long-range dependencies and long-range interactions occurring over time. This layer produces the output that is supplied to the second block of BiLSTMs with 256 units, whereby the more profound temporal patterns are mirrored, and the seasonal fluctuations are encoded.
The final temporal representation produced by the BiLSTMs is then connected to a Dense layer with 128 neurons activated by ReLU to learn non-linear relationships in the load behaviour. Another dropout layer (0.1) further stabilizes learning as shown in Fig. 3. The processed features then flow into the final output layer, a single-neuron Dense unit, which produces the next forecasted load (kW). This connected architecture ensures smooth information flow from short-term convolutional feature extraction to long-term bidirectional sequence learning, ultimately enabling accurate agricultural load prediction.

Figure 3: Bidirectional long-short term memory (BiLSTM) architecture.
The step of grid balancing will either decide the ability or inability of the forecasted irrigation load to be safely within the operating limits of the electrical distribution system. The forecasted load is checked against the maximum capacity of the grid and other system limitations to make sure that the network is operating in a safe range. When the forecasted demand falls within the acceptable limit, the system will go about with normal scheduling. But in the case where the projected load is higher than the grid capacity, the load is shifted to other time periods. This is through breaking massive loads into small parts and timing them in the best way to ensure that the magnitude of the load at any given time does not exceed the capacity of the grid, and stable and consistent grid running. The above grid capacity checking process is shown in Fig. 4.

Figure 4: Flowchart of the proposed irrigation load forecasting and grid limit checking process.
Particle Swarm Optimization (PSO) is the load scheduling step that is undertaken to schedule the predicted loads of agriculture within the grid capacity. The forecast demand of a particular crop is then divided into small parts whenever the load in any single grid exceeds the maximum grid capacity, and in the second step, the dynamic operating length of each piece is determined as the ratio of chunk load over grid capacity. As shown in Fig. 5, a PSO algorithm on global best is then applied, in which all particles are the candidate schedules that include the start time of all load chunks within 24 horizons. The optimization is performed on the 50 particles in 200 steps with acceleration coefficients, c1 = 0.5, c2 = 0.3, and inertia weight w = 0.9. The scheduling algorithm restricts the possible start time for each load chunk within a specific range.

Figure 5: PSO illustration displaying the search on local optima and eventual convergence to the local optima.
The search space (possible scheduling time) is limited between 0 and 24 h, which represents the 24-h daily scheduling period. This means the optimizer can choose any start time within this 24-h window to schedule each load chunk. The fitness function discourages any act of violation of the grid capacity as the total of overloads is minimized by time (time intervals of 0.1 h). The answer to this is the compilation of chunk schedules of separate crops to arrive at continuous start and finish times to ensure that transformer and feeder boundaries are met, and a uniform load balance and constant system operation is obtained.
4 Mathematical Modelling of the Proposed Methodology
The agricultural power requirement used in the paper will have great nonlinear, time-varying, and weather-dependent crop-dependent properties. The consumption of agriculture in comparison with domestic or industrial loads is very irregular because of the intermittent irrigation patterns, switching of pumps, seasonal demand peaks, decline of crops, and impulsive switching of motors on and off. The factors bring about sudden fluctuations and time dependency, which cannot be well represented by classical linear or statistical forecasting. Thus, a hybrid mathematical modelling framework that would offer simultaneous solutions to the accurate prediction of loads and the optimal scheduling of loads is needed. Fig. 6 explains the workflow in the proposed system.

Figure 6: Flowchart explaining the process in the proposed system.
The CNN-Bi-LSTM-based forecasting framework suggested in this work is specially made to cope with the nonlinear, fluctuating, and crop-dependent features of agricultural electrical loads. Agricultural loads tend to have sudden pump operations, erratic irrigation cycles, and crop-based variations that are flabbergasting linear forecasting methods. Therefore, a hybrid deep learning model that has the advantage of picking up local short-term changes and at the same time capturing long-term temporal dependencies is essential. The combined use of convolutional neural networks (CNN’s) with bidirectional long short-term memory networks (BiLSTM) is a good way to address these issues, by integrating both the extraction of patterns in local regions, combined with learning in a deep time sequence.
The working principles and inducements behind every layer are mentioned below. The input into the model is a sequence of the preceding 24 load observations given by Eq. (1):
This time window is chosen in order to capture an entire daily cycle of agricultural activity, an aspect that is very important to modelling load patterns associated with irrigation. The first part of the model is a one-dimensional convolutional layer. Agricultural load data often includes short-duration spikes from pumps switching, motor start-up surges, and fast changes in water use. These abrupt variations are not easy to/detect for recurrent networks only. Hence, there is a need for CNN layers so as to extract the local temporal features before providing the data to the deeper layers. The convolutional operation is given as and in Eq. (2):
here, W and b are the parameters in the kernel function, and then, is the ReLU activation function. By learning and storing short-term dependencies, the CNN helps to stabilize the learning process, thus ensuring that the small-scale fluctuations are well represented. After local feature extraction using CNN features, all these features are sent to the Bi-LSTM layer. Unidirectional LSTM can only detect past-to-future relationships and deals with the sequence in two directions, providing a more holistic temporal relationship. For the forward LSTM, the gating mechanisms are given by Eqs. (3)–(5):
The memory updates follow Eq. (6):
The backward process of LSTM is to run backwards in the sequence given by Eq. (7):
The concatenation of them produces the final output of the Bi-LSTM given by Eq. (8):
The reason to make use of a Bi-LSTM is the fact that agricultural load behaviour is influenced by past and future events within a daily cycle. For instance, irrigation operations practiced in the morning might be a function of moisture conditions influenced by nighttime watering, whereas evening loads might be representative of the use of earlier in the day pumps. By modeling these two-way relationships, the Bi-LSTM enables a complete comprehension of the time, which is needed in order to make an accurate prediction of a situation. The resultant combined temporal features are further fed to a deeply connected dense layer, which helps in fine-tuning and consolidating the learning. This transformation is given in Eq. (9).
The dense layer is needed to isolate the most relevant patterns that are obtained from the recurrent layers, and in order to filter out the irrelevant fluctuations in order to ensure that only the most significant temporal cues contribute to the final prediction. Then, the predicted load value is generated in the output layer using a linear transformation that follows Eq. (10):
The prediction is then inverse normalized to give the actual load prediction in kilowatts. The model is trained based on Mean Squared Error (MSE), which is defined as in Eq. (11)
which penalizes the deviations between the predicted values and actual values and ensures smooth and reliable forecasting outputs. Overall, the CNN-Bi-LSTM architecture plays an important role as it combines both the short-term feature extraction and long-term temporal learning functionality requirements, which enables the model to accurately capture the complex and irregular patterns in agricultural load data. The resultant dependable predictions help in the efficient assignment of loads while assuring that the grid capacity constraints are always met.
In the proposed system, the agricultural loads like irrigation motors, processing machines, and pumping units are considered as dynamic electrical loads whose power consumption depends on the crop type and their working condition. Since these loads can never exceed maximum allowable grid capacity, the load scheduling model includes various physical and operational constraints for load scheduling to ensure safe and stable operation of the system.
Because some crop loads may violate the grid’s maximum permissible load at a given time, the major forecasted load of each crop is broken into several sub-loads known as chunks. This chunking mechanism eliminates each segment, keeps it at the permissible operational range, and nonetheless retains the general necessary energy for every crop. Each chunk is then given a dynamic operating time proportional to its power rating. PSO optimizes the timings at which these chunks are started so as to minimize or totally avoid grid overload.
Although agricultural scheduling does not include distributed generation units, the basic goal is also similar: the sum of the instantaneous load must not exceed the maximum grid capacity. Accordingly, at any time t, the scheduled load must comply with Eq. (12):
here, Ptotal(t) represents the total of all crop loads that are being scheduled to operate at time t. Pgrid, max is the maximum number of kW allowed on the grid (e.g., 4000 kW in this study). This constraint is to ensure that the rural distribution transformer and feeder lines are safe from thermal overloading, voltage fluctuations, and system instability. For a crop which predicted load L if:
The amount of load assigned to each chunk follows Eq. (14);
And its corresponding time of operation in the scheduling horizon is given by Eq. (15):
This constraint means that no individual chunk can exceed the allowable power limit, and at the same time, it maintains the energy required by the crop. It also helps to schedule fine-grained and it decreases system stress. Bearing this in mind, each chunk must be scheduled within the 24-h operational window as shown in Eq. (16):
where sj is the scheduled start time of chunk j, Tj is the duration for which it should be operated. This constraint restrains the scheduling algorithm from having load segments allocated outside the daily window.
To make sure that the overloads are penalized when optimizing, PSO uses the following fitness function given by Eq. (17):
This function only imposed a penalty when the total load was above the grid limit and thus helped the PSO algorithm approach feasible schedules by preventing any overloads. When the PSO algorithm is implemented for optimal scheduling for agricultural loads, the process starts by initializing the particles with the help of predicted load profiles made using a CNN-BiLSTM load forecasting model.
Each particle is a potential schedule, with all randomly generated initial velocities and positions, and corresponding different starting times for the sample load chunk. At each iteration, an update of the positions and velocities of particles according to the classical PSO equations is used: Velocity Update given by Eq. (18):
Position Update given by Eq. (19):
here, w is the inertia weight used to balance the exploration and exploitation, c1 and c2 are the cognitive and social coefficients. r1, r2 are the random values in [0, 1]. Here, pbesti is the best solution found by particle I, and gbest is the global best solution found by the swarm. Through this iterative update mechanism shown in Fig. 7, particles gradually converge to one that minimizes overloading.

Figure 7: Iterative update mechanism in PSO.
For this study, the electricity consumption dataset from JVVNL (Jaipur Discom) is utilized, which contains actual and average electricity usage data collected from consumers across 12 districts of Rajasthan, i.e., Alwar, Baran, Bundi, Bharatpur, Dausa, Dholpur, Jaipur, Jhalawar, Karauli, Kota, Sawaimadhopur, and Tonk. Based on climatic conditions, these districts are categorized into three zones as seen in Table 2.

The original dataset contained a variety of columns, but for load forecasting and scheduling, only relevant columns were retained. The dataset contains four main crops (wheat, maize, sugarcane, rice), each with time-series observations of electrical load and environmental variables.
Table 3 shows a section of the dataset containing columns of agricultural load demand and other environmental parameters recorded for the maize crop for every irrigation cycle. The model is trained for each crop, which means a separate model is developed for processing each crop’s agricultural load demand and environmental parameters.

To ensure reproducibility and assess the stability of the proposed system, experiments were conducted using five different random seeds: 42, 52, 62, 72, and 82 for each crop. For each run, the corresponding seed was set for NumPy and TensorFlow to control stochastic variations during model training. As seen in Fig. 8, the experiments were conducted using Python Version 3.12.13 with TensorFlow 2.20.0. The model training was performed in a GPU-enabled environment, although CPU execution is also supported.

Figure 8: Hardware and software environment used for model training.
5.1 Load Forecasting and Scheduling
A CNN-BiLSTM architecture of Tensorflow-Keras was used to implement the load forecasting model to recognize non-liberal temporal relationships in crop-wise agricultural load demand records. The input to the model is a multi variate time-series that also uses a lookback size of 24-time steps resulting in a sized input of (24, 6 + k). The feature extraction of time is carried out by a Conv1D filter of 256 filters and a size of the kernel of 3 with a dropout layer (0.1) at the end to regularize it. The resulting features are fed to two stacked Bidirectional LSTM layers which have 512 and 256 units respectively and by doing so the model can learn the forward as well as the backward temporal relationship. The learned representation is again trained with a dense layer containing 128 neurons (ReLU activation) and one more dropout layer, followed by a one-neuron, output, load prediction layer. This architecture has 1,744,897 parameters to be trained, and it is trained with Adam optimizer (learning rate = 0.00015) and mean squared error (MSE) loss. The dataset yields samples of wheat, rice, maize and sugarcane as observed using a sliding window method with a lookback length of 24 that were divided using a strictly chronological temporal split into an 80 percent training and 20 percent testing sample. The model was trained with a batch size of 8 until 400 epochs and this equates to about 1650–1750 iterations per epoch. The Early Stopping (patience = 20) and ReduceLROnPlateau were used to increase the training stability, and to smooth the input data, the rolling filters and Min-Max scaling were implemented ahead of the training. The pipeline performed temporal sorting, resampling to a uniform 1-h interval, mean aggregation for numerical variables, forward filling for categorical variables and time-based interpolation for missing intermediate values for categorical variables. Rolling mean and rolling median smoothing were applied separately to the training and testing partitions Missing values were handled using time-based interpolation and residual missing-value imputation. Outliers were treated quantitatively using the Interquartile Range (IQR) method computed only from the training set. All hyperparameters, preprocessing steps, and module dependencies are explicitly defined as the same for each crop as seen in Fig. 9.

Figure 9: Summary of the CNN-BiLSTM sequential model architecture defined as the same for each crop.
Case 1-Maize Crop
The CNN-BiLSTM model was tested five times for the case of the rice crop with random seeds 42, 52, 62, 72 and 82. The model took an average of 2168.35 s to train and was converged in an average of 76.6 epochs. The average forecasted rice load demand for the subsequent forecasting period was 216.85 kW as seen in Fig. 10.

Figure 10: Training results and evaluation metrics for the Maize crop.
The seed-wise forecasting performance of the CNN-BiLSTM model is shown in the Table 4, for the maize crop.

Considering all five random-seed runs, the maize crop achieved an average MAE of 0.408 ± 0.057 kW, RMSE of 0.575 ± 0.085 kW, and MAPE of 0.29 ± 0.04%. The mean R2 score was 0.9998 ± 0.0001, while the average MAPE-derived forecasting accuracy was 99.71 ± 0.04%.
Case 2-Rice Crsop
The CNN-BiLSTM model was tested five times for the case of the rice crop with random seeds 42, 52, 62, 72 and 82. The model took an average of 2043.49 s to train and was converged in an average of 58.0 epochs. The average forecasted rice load demand for the subsequent forecasting period was 152.66 kW as seen in Fig. 11.

Figure 11: Training results and evaluation metrics for the rice crop.
The seed-wise forecasting performance of the CNN-BiLSTM model is shown in the Table 5, for the rice crop.

The final results show that the model achieved a mean MAE of 0.492 ± 0.062 kW and an RMSE of 0.677 ± 0.075 kW. The repeated runs had a very small relative forecasting error of 0.33 ± 0.04% (mean and standard deviation of the MAPE). The model achieved high R2 value of 0.9997 ± 0.0001 showing a high degree of agreement between the predicted and actual load demand of rice crop. On the whole the seed-wise results suggest that the model is robust and repeatable with minor changes in forecasting error and in the values of the next load in the time series, when the model is run over and over.
Case 3-Sugarcane Crop
The CNN-BiLSTM model was tested five times for the case of the rice crop with random seeds 42, 52, 62, 72 and 82. The model took an average of 2296.52 s to train and was converged in an average of 82.6 epochs. The average forecasted rice load demand for the subsequent forecasting period was 82.14 kW as seen in Fig. 12.

Figure 12: Training results and evaluation metrics for the sugarcane crop.
The seed-wise forecasting performance of the CNN-BiLSTM model is shown in the Table 6, for the sugarcane crop.

Considering all five random-seed runs, the sugarcane crop achieved an average MAE of 0.471 ± 0.073 kW, RMSE of 0.664 ± 0.106 kW, and MAPE of 0.34 ± 0.06%. The mean R2 score was 0.9996 ± 0.0001, while the average MAPE-derived forecasting accuracy was 99.66 ± 0.06%.
Case 4-Wheat Crop
The CNN-BiLSTM model was tested five times for the case of the rice crop with random seeds 42, 52, 62, 72 and 82. The model took an average of 2148.35 s to train and was converged in an average of 75.8 epochs. The average forecasted rice load demand for the subsequent forecasting period was 104.83 kW as seen in Fig. 13.

Figure 13: Training results and evaluation metrics for the wheat crop.
The seed-wise forecasting performance of the CNN-BiLSTM model is shown in the Table 7, for the wheat crop.

Considering all five random-seed runs, the wheat crop achieved an average MAE of 0.389 ± 0.052 kW, RMSE of 0.553 ± 0.078 kW, and MAPE of 0.26 ± 0.03%. The mean R2 score was 0.9998 ± 0.0001, while the average MAPE-derived forecasting accuracy was 99.74 ± 0.03%.
As seen in Fig. 14, the computed irrigation load of each crop was contrasted with the grid capacity supply to check system feasibility. The outcomes show that the projected loads of maize, rice, sugarcane, and wheat are within the restricts of the grid capacity since they have not plotted any of their forecasted value to exceed the maximum capacity.

Figure 14: Training results showing forecasted crop loads compared with grid capacity.
The predicted loads crop based were then converted as inputs into the PSO based load scheduling model and ultimately the results of the schedule are combined in Table 8.

As seen in Fig. 15, the schedule is within grid capacity, and it proved that the suggested scheduling method was effective when dealing with peak loads and the ability to deliver power with high reliability.

Figure 15: Optimal load scheduling results for each crop showing the start time, end time and the corresponding load demand.
5.2 Crop-Wise Forecasting Performance of Load
Leveraging the acquired dataset, the demand of the electric load of each crop was estimated with the help of the created CNN-BiLSTM model. Quantitative assessment of the forecasting performance was done as indicated in Table 9 by using some of the most popular statistical error measures that both assess accuracy and strength of the proposed model. A shown in Table 9, the metrics used in forecasting the performance configuration are MAE, RMSE, MAPE, R2, and the graphical analysis should support the obtained numerical values in order to give a complete understanding of model reliability.

The performance is measured by the per-crop and total performance measures and analyzed with respect to the ability of the model to obtain time realized dependencies, daily patterns and anomalies in crop load behaviour.
5.3 Comparison of CNN-BiLSTM with Previous Models
To evaluate the effectiveness of the proposed CNN–BiLSTM forecasting methodology, a comparative performance analysis was carried out against conventional and deep learning–based forecasting models, namely CNN, LSTM, RBiLSTM, and RNN as recorded in Table 10.

The CNN-BiLSTM modeled the errors with lower prediction errors with an MAE of 0.44, an RMSE of 0.617 and an MAPE of 0.3 percent as compared to the single CNN model that registered an MAE of 4.684, an RMSE of 6.916 and an MAPE of 4.42 percent. Also, the hybrid model gave a better coefficient of determination (R2 = 0.99) which implies greater strength in reflecting temporal dependencies within the load data. These findings indicate that forecasting using Bidirectional LSTM and CNN-based features is much better than the one based on a traditional CNN model.
As seen in Fig. 16, the CNN model follows with a moderately high R2 (≈0.89), while the LSTM model shows a noticeable drop, reflecting limited feature extraction capability. The RBiLSTM and RNN models exhibit the lowest R2 values (below 0.8).

Figure 16: R2 score comparison across neural network models.
Additional performance analysis collective in terms of MAE, RMSE, and MAPE is indicated in Fig. 17. Based on these error metrics, the CNN-BiLSTM model is invariably associated with the minimum error values which prove the effectiveness and safety of such a model in load prediction.

Figure 17: Comparison of error metrics across neural network models.
In this paper, a detailed Agricultural Load Forecasting and Scheduling (ALFS) model was proposed to enhance the efficiency of energy consumption and grid stability, as well as stable irrigation of rural agricultural systems. The proposed solution can overcome the drawbacks of the traditional forecasting and heuristic scheduling methods by combining a CNN–BiLSTM–based deep learning forecasting model and a Particle Swarm Optimization (PSO)–based scheduling model, which is less sensitive to nonlinearity, irregular irrigation cycles, dependence on crops, and the lack of closeness in rural areas. The experimental findings based on real data of agricultural electricity consumption in twelve districts of Rajasthan have shown that the proposed forecasting model has low levels of measurement error (MAE, RMSE, MAPE) and performs better than the traditional neural networks, i.e., CNN, LSTM, RBiLSTM and RNN. The model was also found to be able to separate different irrigation demand patterns among different crops (maize, rice, wheat, and sugarcane) to allow specific identification of possible peak-load scenarios. The PSO-based scheduling module then was able to effectively use the forecasted loads to implement grid-compliant and cost-effective irrigation schedules. Altogether, the offered CNN–BiLSTM–PSO scheme represents a powerful, scalable, and applicable solution to the problem of intelligent regulation of energy use in the irrigation systems of agriculture. It allows proper load forecasting on a crop-by-crop basis, active grid balancing, and optimal scheduling of pumps without the need to maintain a constant internet connection. The framework can help utilities and policymakers to mitigate demands during peak periods, minimize operational expenses, and ensure the development of sustainable agricultural activities. This could be expanded upon in the future by adding real-time telemetry, renewable energy integration, adaptive versions of PSO, or reinforcement learning–based control to increase the resilience and autonomy of smart rural power systems.
Acknowledgement: Not applicable.
Funding Statement: The authors received no specific funding for this study.
Author Contributions: Conceptualization, Investigation, Writing—original draft preparation, Writing—review and editing, Bindu Vadlamudi, Subhojit Dawn, Ishwarya Devarakonda, Sri Hari Priya Lanka, Sujan Turaka and Taha Selim Ustun. All authors reviewed and approved the final version of the manuscript.
Availability of Data and Materials: Not applicable.
Ethics Approval: Not applicable.
Conflicts of Interest: The authors declare no conflicts of interest.
References
1. Masaba K, Ntakirutimana A, Ustun TS. Design and implementation of a smart irrigation system for improved water-energy efficiency. In: Proceedings of the 4th IET Clean Energy and Technology Conference (CEAT 2016); 2016 Nov 14–15; Kuala Lumpur, Malaysia. [Google Scholar]
2. Momani MA, Tashtush SA, Shahrour RJ, AlSatari AM. Modeling of long-term load forecast in Jordan based on statistical techniques. J Electr Comput Eng. 2024;2024(1):8255513. doi:10.1155/2024/8255513. [Google Scholar] [CrossRef]
3. Sharma M, Mittal N, Mishra A, Gupta A. An efficient approach for load forecasting in agricultural sector using machine learning. e-Prime Adv Electr Eng Electron Energy. 2023;6:100337. doi:10.1016/j.prime.2023.100337. [Google Scholar] [CrossRef]
4. Wan A, Chang Q, AL-Bukhaiti K, He J. Short-term power load forecasting for combined heat and power using CNN-LSTM enhanced by attention mechanism. Energy. 2023;282:128274. doi:10.1016/j.energy.2023.128274. [Google Scholar] [CrossRef]
5. Yang Z, Li J, Liu C, Wang H. Forecasting very short-term power load with hybrid interpretable deep models. Syst Sci Control Eng. 2025;13(1):2486136. doi:10.1080/21642583.2025.2486136. [Google Scholar] [CrossRef]
6. Elsayed AAE, Farag HEZ, ElSaadany EF. Optimal load profile management in extensive agricultural regions using water storage systems. In: Proceedings of the 2025 IEEE Power & Energy Society General Meeting (PESGM); 2025 Jul 27–31; Austin, TX, USA. doi:10.1109/PESGM52009.2025.11225314. [Google Scholar] [CrossRef]
7. Odara S, Khan Z, Ustun TS. Integration of precision agriculture and SmartGrid technologies for sustainable development. In: Proceedings of the 2015 IEEE Technological Innovation in ICT for Agriculture and Rural Development (TIAR); 2015 Jul 10–12; Chennai, India. doi:10.1109/TIAR.2015.7358536. [Google Scholar] [CrossRef]
8. Balouch S, Abrar M, Muqeet HA, Shahzad M, Jamil H, Hamdi M, et al. Optimal scheduling of demand side load management of smart grid considering energy efficiency. Front Energy Res. 2022;10:861571. doi:10.3389/fenrg.2022.861571. [Google Scholar] [CrossRef]
9. Yahia Z, Pradhan A. Multi-objective optimization of household appliance scheduling problem considering consumer preference and peak load reduction. Sustain Cities Soc. 2020;55:102058. doi:10.1016/j.scs.2020.102058. [Google Scholar] [CrossRef]
10. Chamandoust H, Derakhshan G, Hakimi SM, Bahramara S. Tri-objective scheduling of residential smart electrical distribution grids with optimal joint of responsive loads with renewable energy sources. J Energy Storage. 2020;27:101112. doi:10.1016/j.est.2019.101112. [Google Scholar] [CrossRef]
11. Ayub S, Ayob SM, Tan CW, Arif SM, Taimoor M, Aziz L, et al. Multi-criteria energy management with preference induced load scheduling using grey wolf optimizer. Sustainability. 2023;15(2):957. doi:10.3390/su15020957. [Google Scholar] [CrossRef]
12. Shaheen MAM, Hasanien HM, Alkuhayli A. A novel hybrid GWO-PSO optimization technique for optimal reactive power dispatch problem solution. Ain Shams Eng J. 2021;12(1):621–30. doi:10.1016/j.asej.2020.07.011. [Google Scholar] [CrossRef]
13. Parekh ZB, Suthar BN. Optimal reactive power dispatch using hybrid grey wolf optimization technique. Power Res A J CPRI. 2019;14(2):178–83. doi:10.33686/pwj.v14i2.144093. [Google Scholar] [CrossRef]
14. Aeggegn DB, Nyakoe GN, Wekesa C. Optimal sizing of grid connected multi-microgrid system using grey wolf optimization. Results Eng. 2024;23(3):102421. doi:10.1016/j.rineng.2024.102421. [Google Scholar] [CrossRef]
15. Burdett H, Wellen C. Statistical and machine learning methods for crop yield prediction in the context of precision agriculture. Precis Agric. 2022;23(5):1553–74. doi:10.1007/s11119-022-09897-0. [Google Scholar] [CrossRef]
16. Devi N, Dalal S, Solanki K, Dalal S, Lilhore UK, Simaiya S, et al. A systematic literature review for load balancing and task scheduling techniques in cloud computing. Artif Intell Rev. 2024;57(10):276. doi:10.1007/s10462-024-10925-w. [Google Scholar] [CrossRef]
17. Mulla A, Jadhav HT. Optimal scheduling of vehicle-to-Grid power exchange using particle swarm optimization technique. Int J Comput Appl. 2022;44(7):687–704. doi:10.1080/1206212X.2021.1903707. [Google Scholar] [CrossRef]
18. Lu M, Abedinia O, Bagheri M, Ghadimi N, Shafie-khah M, Catalão JPS. Smart load scheduling strategy utilising optimal charging of electric vehicles in power grids based on an optimisation algorithm. IET Smart Grid. 2020;3(6):914–23. doi:10.1049/iet-stg.2019.0334. [Google Scholar] [CrossRef]
19. Muhsen DH, Haider HT, Al-Nidawi Y, Shayea GG. Operational scheduling of household appliances by using triple-objective optimization algorithm integrated with multi-criteria decision making. Sustainability. 2023;15(24):16589. doi:10.3390/su152416589. [Google Scholar] [CrossRef]
20. Raza A, Li J, Ghadi Y, Adnan M, Ali M. Smart home energy management systems: research challenges and survey. Alex Eng J. 2024;92(4):117–70. doi:10.1016/j.aej.2024.02.033. [Google Scholar] [CrossRef]
21. Rubasinghe O, Zhang X, Chau TK, Chow YH, Fernando T, Iu HH. A novel sequence to sequence data modelling based CNN-LSTM algorithm for three years ahead monthly peak load forecasting. IEEE Trans Power Syst. 2024;39(1):1932–47. doi:10.1109/TPWRS.2023.3271325. [Google Scholar] [CrossRef]
22. Sehovac L, Grolinger K. Deep learning for load forecasting: sequence to sequence recurrent neural networks with attention. IEEE Access. 2020;8:36411–26. doi:10.1109/ACCESS.2020.2975738. [Google Scholar] [CrossRef]
23. Tarmanini C, Sarma N, Gezegin C, Ozgonenel O. Short term load forecasting based on ARIMA and ANN approaches. Energy Rep. 2023;9(3):550–7. doi:10.1016/j.egyr.2023.01.060. [Google Scholar] [CrossRef]
24. Satpathi A, Setiya P, Das B, Nain AS, Jha PK, Singh S, et al. Comparative analysis of statistical and machine learning techniques for rice yield forecasting for Chhattisgarh, India. Sustainability. 2023;15(3):2786. doi:10.3390/su15032786. [Google Scholar] [CrossRef]
25. Purohit SK, Panigrahi S, Sethy PK, Behera SK. Time series forecasting of price of agricultural products using hybrid methods. Appl Artif Intell. 2021;35(15):1388–406. doi:10.1080/08839514.2021.1981659. [Google Scholar] [CrossRef]
26. Wang Y, Hao Y, Zhang B, Zhang N. Short-term power load forecasting using SSA-CNN-LSTM method. Syst Sci Control Eng. 2024;12(1):2343297. doi:10.1080/21642583.2024.2343297. [Google Scholar] [CrossRef]
27. Chung J, Jang B. Accurate prediction of electricity consumption using a hybrid CNN-LSTM model based on multivariable data. PLoS One. 2022;17(11):e0278071. doi:10.1371/journal.pone.0278071. [Google Scholar] [CrossRef]
28. Ullah K, Ahsan M, Hasanat SM, Haris M, Yousaf H, Raza SF, et al. Short-term load forecasting: a comprehensive review and simulation study with CNN-LSTM hybrids approach. IEEE Access. 2024;12:111858–81. doi:10.1109/ACCESS.2024.3440631. [Google Scholar] [CrossRef]
29. Chen X, Chen W, Dinavahi V, Liu Y, Feng J. Short-term load forecasting and associated weather variables prediction using ResNet-LSTM based deep learning. IEEE Access. 2023;11:5393–405. doi:10.1109/ACCESS.2023.3236663. [Google Scholar] [CrossRef]
30. Álvarez V, Mazuelas S, Lozano JA. Probabilistic load forecasting based on adaptive online learning. IEEE Trans Power Syst. 2021;36(4):3668–80. doi:10.1109/TPWRS.2021.3050837. [Google Scholar] [CrossRef]
31. Habbak H, Mahmoud M, Metwally K, Fouda MM, Ibrahem MI. Load forecasting techniques and their applications in smart grids. Energies. 2023;16(3):1480. doi:10.3390/en16031480. [Google Scholar] [CrossRef]
32. Shahare K, Mitra A, Naware D, Keshri R, Suryawanshi HM. Performance analysis and comparison of various techniques for short-term load forecasting. Energy Rep. 2023;9(3):799–808. doi:10.1016/j.egyr.2022.11.086. [Google Scholar] [CrossRef]
33. Liu Y, Yang T, Zhao RH, Li YB, Zhao WJ, Ma XY. Irrigation canal system delivery scheduling based on a particle swarm optimization algorithm. Water. 2018;10(9):1281. doi:10.3390/w10091281. [Google Scholar] [CrossRef]
34. Li H, Li S, Wu Y, Xiao Y, Pan Z, Liu M. Short-term power load forecasting for integrated energy system based on a residual and attentive LSTM-TCN hybrid network. Front Energy Res. 2024;12:1384142. doi:10.3389/fenrg.2024.1384142. [Google Scholar] [CrossRef]
35. Liu X, Song J, Tao H, Wang P, Mo H, Du W. Quarter-hourly power load forecasting based on a hybrid CNN-BiLSTM-attention model with CEEMDAN, K-means, and VMD. Energies. 2025;18(11):2675. doi:10.3390/en18112675. [Google Scholar] [CrossRef]
36. Chodakowska E, Nazarko J, Nazarko Ł. ARIMA models in electrical load forecasting and their robustness to noise. Energies. 2021;14(23):7952. doi:10.3390/en14237952. [Google Scholar] [CrossRef]
37. Jing J, Di H, Wang T, Jiang N, Xiang Z. Optimization of power system load forecasting and scheduling based on artificial neural networks. Energy Inform. 2025;8(1):6. doi:10.1186/s42162-024-00467-4. [Google Scholar] [CrossRef]
Cite This Article
Copyright © 2026 The Author(s). Published by Tech Science Press.This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Submit a Paper
Propose a Special lssue
View Full Text
Download PDF
Downloads
Citation Tools