论文信息

Ahmed Mashaly / Ragab Abdelaziz El-Sehiemy / Mohamed M. Elgohary

Scientific Reports

论文解读

AI 辅助整理
方法
NASA POWER环境数据,LSTM对比ANN/SVM,含MPPT与自适应泵速
发现
LSTM分类准确率96.11%,节水28.57%,电机能耗降74.74%。
机会点
可延伸至真实硬件部署与多区域验证,并融合实时气象与土壤墒情数据。

论文摘要

智能灌溉为提高用水效率和农业可持续性提供了重要途径。然而,迄今为止大多数研究倾向于集中在物联网(IoT)的监测系统和平台,或基于人工智能(AI)的预测模型(但很少两者兼顾)。为弥补这一空白,本研究提出了一种人工智能(AI)-物联网(IoT)系统,用于预测用水需求并控制光伏系统产生的能量,同时包含电池荷电状态(SOC)管理系统、最大功率点跟踪(MPPT)算法、自适应泵速控制以及概念性物联网通信架构。研究采用NASA POWER数据库中的真实环境数据集,在埃及新三角洲地区对该框架进行了测试。LSTM模型能够对灌溉泵运行状态进行分类,准确率达到96.11%,召回率为0.9820,精确率为0.9100,F1分数为0.9446。与人工神经网络(ANN)和支持向量机(SVM)两个模型相比,该模型表现更优,且通过多次独立训练运行进行的鲁棒性测试表明其在预测方面具有稳定性能。相对于假设的传统固定调度基线,估计年节水率为28.57%,而通过自适应泵速控制,电机能耗降低了74.74%。研究还进行了敏感性分析,表明该模型对环境和运行条件的中等程度变化具有稳定性。综合来看,这些发现表明,在MATLAB中构建的灌溉仿真模型背景下,将基于AI的建模用于可再生能源管理,可能是提高灌溉效率、降低水和能源消耗的有价值手段,这为未来实现智能太阳能灌溉设备的硬件版本提供了一个有前景的开端。

全文

Scientific Reports

ARTICLE | Article in Press
Scientific Reports https://doi.org/10.1038/s41598-026-74935-0
Scientific Reports
This Article in Press is shared early to give you faster access to new research. It is citable and carries a permanent DOI.
The final edited version will replace it automatically.
A MATLAB-based AI-IoT simulation framework for LSTM-
driven smart solar irrigation and renewable energy
management
Ahmed Mashaly · Ragab A. El-Sehiemy  · Mohamed Elgohary
Received: 25 May 2026 / Accepted: 4 October 2026
© The Author(s) 2026
Abstract
Smart irrigation offers a great avenue for better water use efficiency, and farming sustainability. However, most
of the studies conducted so far tend to concentrate on the monitoring systems and platforms of the Internet of
Things (IoT) or on the prediction models based on Artificial Intelligence (AI) (but not on both). To address this
gap, this research study proposes an Artificial Intelligence (AI)-Internet of Things (IoT) system to predict the
water consumption requirements and control the energy produced by a PV system along with a battery State of
Charge (SOC) management system, Maximum Power Point Tracking (MPPT) algorithm, adaptive pump-speed
control, and conceptual IoT communication architecture. A dataset of real environmental data from the NASA
POWER database was used to test the framework for Egypt’s New Delta region. The LSTM model was able
to classify the irrigation pump operating states with an accuracy of 96.11%, a recall of 0.9820, a precision of
0.9100, and an F1-score of 0.9446. It had a better performance than the two models, Artificial Neural Network
(ANN) and Support Vector Machine (SVM) when compared and robustness testing with various independent
training runs showed a stable performance in predicting. An estimated annual water-saving rate of 28.57% was
obtained relative to the assumed conventional fixed-schedule baseline, while motor energy use was reduced
by 74.74% through adaptive pump-speed control. A sensitivity analysis was also performed, showing that the
model was stable to moderate variations in environmental and operating conditions. Combined, these findings
suggest that the use of AI-based modelling for renewable energy management in the context of an irrigation
simulation model built in MATLAB could be a valuable asset in improving irrigation efficiency and lowering
water and energy use, which is a promising start for future implementation of hardware versions of intelligent,
solar-powered irrigation devices.
Keywords Smart irrigation · Long short-term memory (LSTM) · Internet of things (IoT) · Photovoltaic
system · Adaptive irrigation control · Smart agriculture
Abbreviations
AI Artificial intelligence
AI-IoT Artificial intelligence–internet of things
IoT Internet of things

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
LSTM Long short-term memory
RNN Recurrent neural network
RMSE Root mean square error
NASA National Aeronautics and Space Administration
GSM Global system for mobile communications
AC Alternating current
𝑃𝑃𝑃𝑃𝑃𝑃 Photovoltaic output power
𝐺𝐺 Solar irradiance
𝜂𝜂𝑃𝑃𝑃𝑃 PV efficiency
𝑆𝑆𝑆𝑆𝑆𝑆𝑡𝑡 Battery state of charge
PV Photovoltaic
MPPT Maximum power point tracking
SOC State of charge
ANN Artificial neural network
SVM Support vector machine
MAE Mean absolute error
RH Relative humidity
LoRaWAN Long range wide area network
DC Direct current
𝑃𝑃𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 Motor power
𝑄𝑄 Water flow rate
𝜂𝜂𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 MPPT efficiency
𝑒𝑒𝑆𝑆𝑆𝑆 Soil-moisture error
Introduction
Irrigation is a major consumer of water and energy in the world, especially in arid and semi-arid regions where
water resources are scarce and demand for irrigation is constantly rising. Traditional irrigation systems are typi -
cally operated using fixed schedules or manual control, often resulting in excessive water consumption, unneces-
sary energy use, and increased operational costs 1,2. Moreover, diesel powered irrigation equipment is a source
of greenhouse gas emission and may not be suitable for areas of agriculture where the electricity supply is not
reliable. Therefore, the use of renewable energy technologies with intelligent irrigation management is an impor-
tant research trend of sustainable agriculture. However, the use of solar powered irrigation systems has become
a successful alternative to other irrigation methods with its low operating costs, environmental friendliness, and
applicability in off-grid farming applications 3. In the last decade, the reliability and efficiency of solar irriga -
tion platforms have greatly benefited from recent advances in PV technologies, power-electronic converters,
and intelligent motor-drive systems under varying environmental conditions 4–6. Despite these advances, many
solar-powered irrigation systems still operate using fixed irrigation schedules without considering environmental
variability, crop water requirements, or future climatic conditions. Internet of Things (IoT) in smart irrigation
integrates the Internet with a distributed sensor network with the capacity to monitor soil moisture, soil tempera-
ture, humidity, solar irradiance and water-flow conditions in real time7. These systems also employ communica-
tion technologies such as Wi-Fi, GSM, and LoRaWAN to enable remote monitoring and automated irrigation
control, thereby improving irrigation efficiency while reducing manual intervention 8. Despite these capabilities,
many existing IoT-based irrigation systems remain threshold-driven, responding only to instantaneous sensor
readings without predictive intelligence or adaptive decision-making capabilities.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
In the field of precision agriculture, AI and machine learning have also been utilized to great effect, specifi -
cally in irrigation scheduling, and predicting water requirements9. For agricultural forecasting applications, Long
Short-Term Memory (LSTM) networks are well suited for capturing temporal dynamics, long-range dependen -
cies and nonlinear relationships of environmental and climatic data 10. The application of LSTM models has
proven to be very successful in forecasting irrigation needs, soil moisture variations and agricultural variables
related to the weather of historical time-series data 11. Despite these significant advances, only a limited number
of studies have simultaneously integrated solar-powered irrigation, IoT-based monitoring, and LSTM-driven
predictive intelligence within a unified framework.
The existing studies have mainly concentrated on two aspects: enhancing the predictive models for irrigation
scheduling or optimizing the use of renewable energies and the adaptive pump control based on the gathered data;
very few studies have been conducted on an overall AI-IoT solar irrigation system that integrates all the three
optimization approaches including irrigation scheduling, renewable energy optimization, and adaptive pump con-
trol, using the real-world environmental data 12. Moreover, there are numerous studies which are not practically
validated in real climatic conditions and long time series. To fill these gaps.
To address these research gaps, this paper proposes a MATLAB-based simulation framework for an AI-IoT
solar smart irrigation system that integrates an LSTM neural network for irrigation-demand prediction with adap-
tive irrigation management. The proposed simulation framework integrates IoT sensing, photovoltaic power gen-
eration, battery energy management, adaptive pump-speed control, and LSTM-based irrigation prediction within
a unified MATLAB simulation environment. The development and evaluation of the system is based on real data
that has been extracted from the NASA POWER database, for the region of the New Delta in Egypt. Simulation
results demonstrate that the proposed LSTM model achieves a prediction accuracy of 96.11%, while the adap -
tive irrigation strategy reduces water consumption by approximately 28.57%. The combination of AI predictions,
IoT monitoring, and Energy Management is showcased as a synergy to enhance water-use efficiency and foster
sustainable precision agriculture.
The main contributions of this paper are summarized as follows:
● Development of a MATLAB-based AI-IoT simulation framework that integrates photovoltaic (PV) energy
management, a conceptual IoT communication architecture, adaptive irrigation control, and LSTM-based irri-
gation-demand prediction within a unified platform.
● Development of an LSTM-based binary classification model for intelligent irrigation decision support using
real environmental data obtained from the NASA POWER database for the New Delta region of Egypt.
● Integration of adaptive pump-speed control, Maximum Power Point Tracking (MPPT), and battery state-of-
charge (SOC) management to improve irrigation efficiency and renewable energy utilization within the simula-
tion framework.
● Comprehensive performance evaluation of the proposed framework through classification metrics, benchmark
comparison with ANN and SVM models, robustness analysis over multiple independent training runs, and
sensitivity analysis under different environmental and operational conditions.
● Demonstration of the potential of the proposed simulation framework to improve irrigation scheduling, reduce
annual water consumption, and enhance energy efficiency, providing a foundation for future hardware imple-
mentation and field-scale validation.
The remainder of this paper is organized as follows. Section 2 reviews recent advances in smart irrigation sys -
tems integrating renewable energy, IoT technologies, and artificial intelligence. Section 3 presents the proposed
AI-IoT simulation framework, including the IoT sensing architecture, renewable-energy management, adaptive
irrigation control, and LSTM-based prediction model. Section 4 describes the study area, environmental data -
set, and preprocessing procedures based on NASA POWER data for the New Delta region of Egypt. Section 5
presents the LSTM-based predictive model, including its mathematical formulation and training configuration.
Section 6 introduces mathematical models, control algorithms, and simulation parameters. Section 7 presents and
discusses simulation results, including prediction performance, renewable-energy behavior, irrigation efficiency,

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
water savings, sensitivity analysis, and comparison with previous studies. Finally, Sect. 8 concludes the study and
outlines directions for future research.
Related work
The intelligent irrigation systems, which integrate renewable energy technologies, Internet of Things (IoT) plat-
forms and Artificial Intelligence (AI) decision-making methods, are gaining ground quickly with recent advances
in smart agriculture. Smart irrigation systems powered by solar energy have been the topic of much interest
because of their ability to minimize the reliance on traditional energy sources and enhance water-use efficiency
for agricultural activities13,14. A few works have focused on photovoltaic (PV) based irrigation system coupled
with wireless sensor network and automatic control technologies to support sustainable irrigation management
under varying environmental conditions. Typical irrigation architectures based on the Internet of Things (IoT)
include soil-moisture sensor, environmental monitoring sensor, cloud platform and wireless communication tech-
nology like Wi-Fi, GSM, and LoRaWAN for real-time irrigation monitoring and remote control 7,8. They are
designed to monitor environmental parameters continuously, and switch irrigation pumps on whenever a pre-
set moisture level is sensed. For instance, the LoRa smart irrigation systems were shown to provide long range
communication and low power operation for large-scale agriculture fields 15. The GSM- and Wi-Fi-based smart
irrigation systems provided cloud-assisted irrigation monitoring and mobile-based control interfaces16. Recently,
machine learning and deep learning techniques have become important in precision agriculture and optimizing
irrigation systems9. Various artificial neural networks (ANNs), support vector machines (SVMs), random for -
est algorithms, and recurrent neural networks (RNNs) have been used to estimate soil moisture and crop-water
needs, evapotranspiration, and irrigation scheduling 10. LSTM networks have been shown to be effective on the
nonlinear time-series prediction problem, especially when dealing with temporal datasets with a long memory,
such as environmental and climatic datasets11 and have been used in various other applications. LSTM networks
have been successfully applied for the nonlinear time-series prediction problem, particularly for temporal time
series with long memory such as environmental and climatic data. LSTM models have been applied with success
to various weather-related applications in agriculture such as weather prediction17 and irrigation-demand estima-
tion18 and soil-moisture forecasting. Although all of these progressions have taken place, most of the current
research is dedicated to model-based prediction of irrigation or IoT-based monitoring systems in isolation. There
is little research to date that has examined the use of LSTM predictive intelligence in conjunction with smart
irrigation systems that are designed to be aware of renewable energy and work in realistic environmental condi -
tions. Besides, there are many existing studies which do not provide an integrated solution for both PV energy
management and adaptive pump-speed control with sensing through the Internet of Things (IoT) and predictive
control through Artificial Intelligence (AI) in irrigation systems 12. Also, in some of the existing approaches,
the implementation and validation with real environmental data are still limited. Unlike the previous studies
that focused mainly either on the prediction of irrigation time/schedules using AI techniques or on the monitor -
ing using IoT techniques separately, the proposed work introduces a single operational architecture for a solar
smart irrigation framework, where real-time monitoring of the environment conditions, PV energy management,
adaptive pump-speed management, battery SOC control and LSTM-based irrigation scheduling prediction are
all integrated. The structure is based on actual river, climatic and environmental data from the NASA POWER
database and is used to test the performance of the system in actual agricultural operating conditions in the New
Delta area of Egypt. This multi-integrated solution allows optimal irrigation, maximum use of renewable energy
and intelligent irrigation decision making in dynamically changing environmental conditions simultaneously To
provide a comprehensive overview of the recent literature and to identify the research gap addressed in this work,
Table 1 presents a feature-based comparison of representative AI-enabled smart irrigation studies. The com -
parison considers key technical aspects, including artificial intelligence, IoT integration, LSTM-based prediction,
renewable energy utilization, battery energy management, adaptive pump-speed control, simulation methodology,

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
and experimental validation. As summarized in Table 1, although previous studies have investigated individual
aspects of AI-based irrigation, IoT monitoring, renewable energy integration, or predictive modeling, only lim -
ited efforts have combined these technologies within a unified framework. To address this gap, the proposed study
integrates these functionalities into a MATLAB-based simulation framework. The functional architecture and the
major components of the proposed framework are summarized in Table 2.
Table 2 summarizes the functional layers, principal components, and enabling technologies incorporated
into the proposed MATLAB-based simulation framework, illustrating the interaction between renewable
Table 1 Feature-based comparison of recent AI-driven smart irrigation systems with the proposed AI-IoT framework.
Reference AI-based
prediction
IoT integration LSTM Renew-
able
energy
(PV)
Battery energy
management
Adaptive
pump speed
control
MATLAB/simulation-based Perfor-
mance
evalu-
ation
19 ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✓
20 ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✓
21 ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓
22 ✓ ✓ ✗ ✗ ✗ ✓ ✓ ✓
23 ✗ ✓ ✗ ✓ ✓ ✗ ✓ ✓
24 ✓ ✓ ✗ ✗ ✗ ✗ ✓ ✓
25 ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✓
26 ✓ ✓ ✗ ✗ ✗ ✓ ✗ ✓
27 ✓ ✗ ✓ ✓ ✗ ✗ ✓ ✓
Proposed
work
✓ ✓* ✓ ✓ ✓ ✓ ✓ ✓
*For the proposed work, IoT integration refers to a conceptual communication architecture implemented within a MATLAB-based simulation
framework rather than a physical IoT deployment.
Layer Framework
components
Main function Key
challenges
Adopted techniques/solutions Refer-
ences
Renew-
able
energy
layer
PV array,
MPPT, battery
storage
Renewable
power genera-
tion and energy
management
Solar
intermit-
tency, power
fluctuations
MPPT control, adaptive battery
SOC management
28,29
Power
condi-
tioning
layer
DC–DC
converter,
inverter
V oltage regula-
tion and power
conditioning
Conver-
sion losses,
efficiency
optimization
High-efficiency converter topology 30,31
Smart
irrigation
layer
Pump, motor-
drive system
Adaptive irriga-
tion and water
delivery
Variable
irrigation
demand,
energy-aware
operation
Adaptive pump-speed control 32,33
IoT mon-
itoring
layer
Soil moisture,
temperature,
humidity sen-
sors, wireless
communica-
tion
Real-time
environmental
monitoring
Sensor noise,
communica-
tion delay
IoT cloud monitoring, wireless
sensing
34–36
AI pre-
diction
layer
LSTM neural
network
Irrigation-
demand
forecasting
Nonlinear
environmen-
tal dynamics
Deep learning prediction using
LSTM
33,37
Inte-
grated
control
layer
AI-IoT
supervisory
controller
System-level
optimization and
decision making
Multi-variable
coordination
Intelligent irrigation scheduling
and energy-aware control
28,29
Table 2 Functional architec-
ture of the proposed AI-IoT
smart irrigation simulation
framework.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
energy management, artificial intelligence, adaptive irrigation control, and the conceptual IoT communication
architecture.
Proposed AI-IoT solar smart irrigation framework
The proposed AI-IoT solar smart irrigation framework is a MATLAB-based simulation framework designed to
evaluate intelligent irrigation management by integrating photovoltaic (PV) energy generation, environmental
data processing, adaptive irrigation control, and Long Short-Term Memory (LSTM)-based irrigation-demand
prediction. The primary objectives of the framework are to improve irrigation efficiency, reduce water consump-
tion, and enhance the utilization of renewable energy under different environmental and climatic conditions. The
framework integrates five principal components: simulated environmental sensing, communication architecture,
cloud-based data management, AI-based prediction, and adaptive pump-control strategies. Environmental vari -
ables, including air temperature, humidity, solar irradiance, soil moisture, water-flow rate, and PV electrical
parameters, are processed within the simulation environment using NASA POWER environmental data and
mathematical subsystem models.
The overall Conceptual architecture of the proposed AI-IoT simulation framework is illustrated in Fig. 1.
The sensing layer represents the environmental data-acquisition module within the simulation framework. Soil-
moisture, temperature, humidity, PV electrical parameters, water-tank level, and irrigation-flow variables are
mathematically represented to emulate the measurements that would typically be acquired by sensing devices in a
Fig. 1 Conceptual architecture of the proposed MATLAB-based AI-IoT solar smart irrigation simulation framework.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
practical deployment. These simulated measurements are processed within the MATLAB environment to support
irrigation-demand prediction and adaptive control.
The communication layer represents the conceptual exchange of information among the simulated sensing
module, cloud-based data-management platform, and irrigation-control algorithm. Communication technologies
such as Wi-Fi, GSM, and LoRaWAN are included only to illustrate the intended IoT architecture for future imple-
mentation and are not physically implemented or evaluated in this study. Accordingly, cloud-based monitoring,
remote supervision, and communication functions are modeled conceptually within the simulation framework.
The renewable-energy subsystem consists of a photovoltaic array, battery-energy storage subsystem, DC–DC
power-conditioning stage, and motor–pump subsystem. These components are mathematically modeled to evalu-
ate power generation, energy storage, and irrigation-energy management under varying environmental conditions.
Adaptive power-management strategies regulate the simulated energy flow between the PV array, battery-storage
system, and irrigation pump to maximize renewable-energy utilization and maintain reliable operation.
The irrigation-control layer determines the simulated pump-operating conditions according to environmental
variables, battery state of charge, photovoltaic power availability, and the irrigation water required predicted
by the LSTM model. Unlike conventional timer-based irrigation strategies, the proposed framework employs
AI-based prediction to estimate future irrigation requirements from historical and current environmental data,
enabling adaptive irrigation scheduling within the simulation environment. The integration of simulated environ-
mental data with the LSTM prediction model improves irrigation scheduling while reducing unnecessary irriga-
tion events and enhancing water-use efficiency.
The temporal environmental patterns are analyzed by an artificial neural network with LSTM and its irriga -
tion needs are predicted in the face of environmental changes. The model uses historical environmental variables
and irrigation related variables to predict future irrigation requirements and assist in making optimized irrigation
scheduling decisions. To ensure continuous real-time operation, the proposed framework adopts an Edge–Cloud
execution architecture. Latency-sensitive tasks, including LSTM inference, adaptive pump-speed control, MPPT
regulation, and battery State-of-Charge (SOC) management, are executed locally using the latest available sensor
measurements. In contrast, the cloud platform is dedicated to remote monitoring, historical data storage, visual -
ization, and supervisory functions38–40. Consequently, temporary communication latency or intermittent network
connectivity does not interrupt the irrigation control loop, thereby improving operational reliability.
The ability of LSTM networks to learn from and model the long-term temporal dynamics and nonlinear rela -
tionships found in climate and irrigation data makes them well suited for agriculture. The entire framework is
simulated and validated using real-world environmental data from the New Delta region of Egypt from the NASA
POWER data base, within MATLAB environment41. The proposed system combines IoT monitoring, renewable
energy management, adaptive irrigation control, and LSTM-based prediction, creating a scalable and intelligent
irrigation system that can be adapted to precise and sustainable agriculture applications.
Study area and dataset description
The case study utilized environmental and meteorological data collected for the New Delta region in Egypt
(Fig. 2), an agricultural area characterized by high solar irradiance, a semi-arid climate, and increasing irrigation-
water demand, making it well suited for evaluating photovoltaic-powered smart irrigation systems. The raw
environmental data were obtained from the NASA POWER database for entire year of 2024. Multiple meteoro -
logical variables, including air temperature, specific humidity, relative humidity, surface pressure, wind speed,
surface soil wetness, root-zone soil wetness, and solar radiation, were initially downloaded. These raw datasets
were subsequently merged into a unified dataset to facilitate preprocessing and integration within the proposed
MATLAB-based AI-IoT smart irrigation framework. The resulting dataset was then used for irrigation-demand
prediction, photovoltaic energy management, and adaptive irrigation control.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
To ensure the data sequence is smooth and stable in the simulation, gaps were filled using linear interpolation
after sorting and pre-processing the entire data set before adding it to the simulation framework. In this study, the
variables that were measured are summarized in Table 3.
The solar radiation data were converted from MJ/m²/day to W/m² to facilitate photovoltaic power calculations.
Soil moisture was estimated using the average values of surface and root-zone soil wetness according to:
𝑆𝑆𝑆𝑆 𝑆
𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 + 𝑆𝑆𝑆𝑆𝑠𝑠𝑟𝑟𝑟𝑟𝑟𝑟
2 (1)
where: 𝑆𝑆𝑆𝑆 represents estimated soil moisture, 𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 denotes surface soil wetness, 𝑆𝑆𝑆𝑆𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 denotes root-zone
soil wetness.
Fig. 2 Location of the New Delta region in Egypt 42. The map was obtained from the Global Solar Atlas 2.0, a free, web-
based application developed and operated by Solargis s.r.o. on behalf of the World Bank Group, utilizing Solargis data, with
funding provided by the Energy Sector Management Assistance Program (ESMAP). The map was subsequently compiled,
annotated, and graphically arranged by the authors using Microsoft Visio LTSC Professional 2021. For additional informa-
tion: https://globalsolaratlas.info.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
The arithmetic mean was adopted to provide a simple and computationally efficient estimate of the overall soil
moisture condition by combining both surface and root-zone moisture information. Equal weighting was selected
to avoid introducing empirical weighting coefficients that may vary with soil type, crop species, irrigation strat -
egy, and local environmental conditions. Although root-zone moisture generally has greater agronomic impor -
tance for irrigation scheduling, the adopted formulation provides a generalized soil moisture indicator suitable
for the MATLAB-based simulation framework. Future work may investigate adaptive or crop-specific weighting
strategies based on field measurements and soil characteristics.
From an agronomic perspective, root-zone soil moisture generally provides a more direct indication of water
availability to plant roots and could therefore be assigned a higher weighting in irrigation scheduling. However,
adopting a fixed root-zone-dominant weighting would require crop-specific information, including root depth,
soil hydraulic characteristics, and the effective rooting zone 43, which are not available in the regional NASA
POWER dataset used in this simulation. Therefore, a weighted formulation was intentionally not adopted to
avoid introducing empirical weighting coefficients that could bias the irrigation decision model toward a specific
crop or soil condition. The equal-weight formulation was consequently retained as a generalized soil-moisture
indicator for the simulation framework, while crop- and site-specific weighting remains an appropriate direction
for future field-based validation.
Stochastic Gaussian noise was added to the environmental measurements to simulate practical sensor uncer -
tainty and field-level environmental measurement disturbances to enhance the realism of the simulations.
Gaussian noise was adopted as a widely accepted stochastic uncertainty model to emulate random sensor mea -
surement errors during preliminary simulation-based robustness evaluation. Such an approach has been exten -
sively employed in AI-based agricultural prediction systems to assess model generalization under measurement
uncertainty. Nevertheless, practical soil-moisture sensors may additionally experience nonlinear disturbances,
including calibration drift, missing measurements, temporary communication failures, and abrupt signal interrup-
tions44,45. These hardware-dependent effects are beyond the scope of the present simulation-based study and will
be investigated through experimental validation in future work. Following preprocessing, the prepared datasets
were integrated into the MATLAB implementation environment for LSTM model training, irrigation-demand
prediction, adaptive pump control, and renewable-energy management analysis. The preprocessed dataset was
subsequently transformed into fixed-length temporal sequences for LSTM training and evaluation. The dataset
was divided into training, validation, and testing subsets using a ratio of 70%, 15%, and 15%, respectively, as
described in Sect. 5. Figure 3 illustrates the complete workflow of environmental data acquisition and preprocess-
ing adopted in this study. The workflow includes raw data collection from the NASA POWER database, variable
extraction, dataset merging, preprocessing, feature generation, normalization, and preparation of sequential input
data for the proposed LSTM-based AI-IoT smart irrigation framework.
Variable Unit Description
Temperature °C Ambient air temperature
Humidity % Relative humidity
Solar irradiance W/m² Solar radiation intensity
Wind speed m/s Wind velocity
Surface soil wetness % Surface-layer soil moisture
Root-zone soil wetness % Root-zone soil moisture
Battery SOC % Battery state of charge
PV output power W Generated photovoltaic power
Table 3 Environmental and
irrigation dataset variables.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
LSTM-based prediction model
LSTM mathematical formulation
A Long Short-Term Memory (LSTM) network was developed to provide intelligent irrigation decision support
within the proposed AI-IoT smart irrigation framework. Owing to its capability to capture long-term temporal
Fig. 3 Workflow of environmental data acquisition and preprocessing for the proposed AI-IoT smart irrigation framework.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
dependencies in sequential data, LSTM is well suited for modeling the nonlinear relationships between environ-
mental conditions and irrigation system operation. Compared with conventional machine learning techniques,
the internal memory cells and gating mechanisms of LSTM enable the network to preserve relevant historical
information while filtering irrelevant temporal variations, thereby improving prediction stability for time-series
agricultural applications.
In the proposed framework, the prediction task is formulated as a binary classification problem in which the
LSTM predicts the irrigation pump operating state (ON/OFF). The class labels are generated from the simulated
irrigation control strategy based on soil-moisture thresholds and energy availability. A pump activation state
(Class 1) indicates that irrigation is required, whereas a pump deactivation state (Class 0) indicates that irriga -
tion is not required. The prediction model receives sequential environmental and energy-related measurements,
including ambient temperature, relative humidity, solar irradiance, wind speed, soil moisture, battery state of
charge (SOC), and available photovoltaic power.
Before training, the input variables are organized into fixed-length temporal sequences to preserve chrono -
logical dependencies between consecutive observations. Figure 4 illustrates the internal structure of an LSTM
memory cell, whereas the complete network architecture and training configuration employed in this work are
presented in the following subsection.
The LSTM model processes sequential environmental data through memory cells capable of retaining long-
term temporal information while selectively updating relevant features using internal gating operations. The
fundamental structure of an LSTM unit consists of input, forget, and output gates that regulate information flow
through the memory cell.
The forget gate determines which information from the previous hidden state should be discarded and is
expressed as:
Fig. 4 Architecture of LSTM unit46.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
𝑓𝑓𝑡𝑡 =𝜎𝜎 (𝑊𝑊 𝑓𝑓 [ ℎ𝑡𝑡𝑡𝑡,𝑥𝑥 𝑡𝑡]+𝑏𝑏 𝑓𝑓 ) (2)
where 𝑓𝑓𝑡𝑡 denotes the forget-gate activation, 𝑥𝑥𝑡𝑡represents the current input vector, ℎ𝑡𝑡𝑡𝑡 is the previous hidden-state
vector.
The input gate controls the amount of new information added to the memory state according to:
𝑖𝑖𝑡𝑡 =𝜎𝜎 (𝑊𝑊 𝑖𝑖[ ℎ𝑡𝑡𝑡𝑡,𝑥𝑥 𝑡𝑡]+𝑏𝑏 𝑖𝑖) (3)
The candidate memory-state update is calculated as:

∼
𝐶𝐶𝑡𝑡 = tanh (𝑊𝑊𝑐𝑐[ ℎ𝑡𝑡𝑡𝑡,𝑥𝑥 𝑡𝑡]+𝑏𝑏 𝑐𝑐) (4)

The memory-cell state is then updated using:
𝐶𝐶𝑡𝑡 =𝑓𝑓 𝑡𝑡 ⋅ 𝐶𝐶𝑡𝑡𝑡𝑡 +𝑖𝑖 𝑡𝑡 ⋅
∼
𝐶𝐶𝑡𝑡 (5)
Finally, the output gate generates the predicted hidden-state output according to:
𝑜𝑜𝑡𝑡 =𝜎𝜎 (𝑊𝑊𝑜𝑜[ ℎ𝑡𝑡𝑡𝑡,𝑥𝑥 𝑡𝑡]+𝑏𝑏 𝑜𝑜) (6)
ℎ𝑡𝑡 =𝑜𝑜 𝑡𝑡 ⋅ tanh (𝐶𝐶𝑡𝑡) (7)
where 𝐶𝐶𝑡𝑡 represents the cell-state vector and ℎ𝑡𝑡 denotes the hidden-state output of the LSTM network, and 𝑊𝑊 𝑓𝑓 ,
𝑊𝑊𝑐𝑐, and 𝑊𝑊𝑜𝑜 denote the weight matrices of the input, forget, candidate, and output gates, respectively, while 𝑏𝑏𝑖𝑖, 𝑏𝑏𝑓𝑓
, 𝑏𝑏𝑐𝑐, and 𝑏𝑏𝑜𝑜represent the corresponding bias vectors.
LSTM network architecture and training configuration
The complete architecture and training configuration of the proposed LSTM model are summarized in Table 4.
The network was designed to accurately classify the irrigation pump operating state from sequential environmen-
tal and energy-related observations while maintaining a lightweight structure suitable for real-time deployment.
Prior to training, all input features were normalized to eliminate differences in measurement scales and improve
convergence during optimization. The normalized data were then organized into fixed-length temporal sequences
of 12 consecutive observations, allowing the LSTM network to capture temporal dependencies between succes -
sive environmental measurements. Each sequence was assigned the pump operating state at the subsequent time
step, thereby formulating the prediction task as a supervised binary classification problem.
Network architecture Configuration Training configuration Configuration
Input data Fixed-length time-series
sequences
Optimizer Adam
Number of input features 7 Learning rate 0.0005
Sequence length 12 Batch size 32
Input layer Sequence input layer Epochs 20
LSTM Layer 1 64 units Validation frequency Every 20 iterations
Dropout 1 0.3 Early stopping Not employed
LSTM Layer 2 32 units Gradient threshold 1
Dropout 2 0.3 Data split 70/15/15
Fully connected layers 32 → ReLU → 16 → ReLU Class balancing Random
oversampling
Output layer FC (2) → Softmax Shuffle Every epoch
Prediction task Binary classification Loss function Cross-entropy
Table 4 LSTM network
architecture and training
configuration.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
The prepared dataset was randomly divided into training, validation, and testing subsets using a ratio of 70%,
15%, and 15%, respectively. To mitigate the influence of class imbalance, minority-class samples in the training
set were randomly oversampled until both classes contained an equal number of training samples. The balanced
training data were subsequently shuffled before model training to improve generalization performance.
The selected configuration was determined through preliminary experimental evaluation to achieve an effective
balance between prediction accuracy, computational efficiency, and model complexity. During training, model
performance was continuously monitored using the validation dataset to assess the generalization capability of
the proposed network.
The proposed LSTM model was trained using the Adam optimizer with a fixed (static) learning rate of 0.0005
throughout the entire training process. A dynamic learning-rate schedule was not employed because prelimi -
nary experiments showed that the selected fixed learning rate provided stable convergence, consistent valida -
tion performance, and satisfactory classification accuracy while maintaining a simple and reproducible training
configuration.
Model training procedure
The proposed LSTM model was simulated and trained in the MATLAB environment using the prepared sequen-
tial dataset. To improve the robustness of the prediction model and better represent practical agricultural IoT
conditions, stochastic Gaussian noise was added to the environmental measurements during data preparation,
thereby simulating sensor uncertainty and environmental disturbances encountered in real-world operation. This
augmentation strategy enhances the model’s ability to generalize under varying operating conditions.
Early stopping was not employed during training. Instead, the model was trained for a fixed 20 epochs, as
stable convergence was achieved within the predefined training schedule while maintaining a simple and repro -
ducible training configuration.
Following the training process, the predictive performance of the proposed model was evaluated using stan -
dard classification metrics, including accuracy, precision, recall, and F1-score. These metrics provide a compre-
hensive assessment of the model’s capability to correctly classify irrigation pump operating states under different
environmental and renewable-energy conditions. Furthermore, the computational efficiency of the proposed
LSTM model was analyzed in terms of training time, inference latency, and model complexity. The correspond-
ing computational characteristics are summarized in Table 5, demonstrating that the proposed network is compu-
tationally lightweight and suitable for near real-time irrigation decision-making within the MATLAB simulation
framework. Since the present study focuses on simulation-based validation, memory consumption on embedded
hardware platforms was not experimentally evaluated and is considered part of future work.
Finally, the trained LSTM model was integrated with the adaptive irrigation control strategy and photovoltaic
energy management algorithm within the MATLAB-based simulation framework. This integration enables intel-
ligent irrigation scheduling by combining environmental monitoring with renewable-energy availability, thereby
supporting efficient water utilization and sustainable pump operation in the proposed AI-IoT smart irrigation
system.
Although the present study is limited to MATLAB-based simulation, the proposed LSTM model exhibits a
lightweight architecture with only 32,466 trainable parameters and an average inference time of 0.186 ms per
sample, indicating its potential suitability for deployment on resource-constrained Edge-AI devices. Furthermore,
Metric Value
Network architecture Two-layer LSTM with fully connected classifier
Trainable parameters 32,466
Training time 122.11 s
Total inference time 0.153 s
Average inference time 0.186 ms/sample
Table 5 Computational
complexity of the proposed
LSTM model.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
model optimization techniques, such as post-training quantization, weight pruning, and network compression,
could further reduce the computational and memory requirements while preserving prediction performance. Nev-
ertheless, experimental deployment and memory profiling on embedded hardware platforms were beyond the
scope of the present study and are considered important directions for future research.
Although the present study focuses on MATLAB-based simulation, the adopted LSTM architecture was inten-
tionally designed to remain computationally lightweight by employing only two LSTM layers and a limited
number of trainable parameters. Similar compact LSTM architectures have recently been reported as suitable
candidates for deployment on resource-constrained Edge-AI platforms used in intelligent IoT applications 38,47.
Therefore, the proposed architecture provides a practical balance between prediction accuracy and computational
efficiency. Future work will investigate embedded implementation, model quantization, memory-footprint analy-
sis, and deployment on microcontroller-based Edge-AI platforms.
Mathematical modeling and AI-IoT algorithm
The proposed AI-IoT smart irrigation simulation framework consists of five integrated subsystems represented
within the MATLAB environment.

  1. Photovoltaic (PV) energy-generation unit.
  2. MPPT-assisted power-conditioning stage.
  3. Battery energy-storage subsystem.
  4. Smart irrigation pump and motor-drive unit.
  5. AI-based irrigation decision and control subsystem (LSTM-based prediction and scheduling).
    The PV subsystem converts and harvests the solar irradiance to electrical power that is applied to pump irrigation
    water and charge the battery storage system. The PV power generation is controlled by the MPPT controller to
    extract optimum power from the PV with varying climatic conditions and the power is fed to the motor for irriga-
    tion based on the soil moisture status and predicted irrigation requirement. It continuously acquires various envi-
    ronmental and irrigation parameters (ambient temperature, humidity, solar irradiance, wind speed, soil moisture)
    and makes decisions on the irrigation scheduling strategy and the operating state of the pump and the calculated
    decisions are applied within the simulation to the AI-IoT controller. The AI-based irrigation decision and control
    subsystem processes the environmental and energy-related inputs, predicts the irrigation pump operating state
    using the proposed LSTM model, and generates intelligent irrigation scheduling decisions.
    Photovoltaic power model
    The generated photovoltaic power was estimated according to:
    𝑃𝑃𝑃𝑃𝑃𝑃 =𝐺𝐺𝐺 𝐺𝐺 𝑃𝑃𝑃𝑃 𝐺𝜂𝜂 𝑃𝑃𝑃𝑃 (8)
    where: 𝑃𝑃𝑃𝑃𝑃𝑃is photovoltaic output power, 𝐺𝐺is solar irradiance, 𝐴𝐴𝑃𝑃𝑃𝑃is PV area, 𝜂𝜂 𝑃𝑃𝑃𝑃is PV conversion efficiency.
    The framework was built based on an 18 m² PV array with a conversion efficiency of 22% and then further
    modified to take into consideration changes in operating parameters related to environmental and stochastic
    effects.
    MPPT and available power estimation
    The MPPT stage regulates the PV operating point to maximize solar-energy extraction under varying irradiance
    conditions. The available electrical power after MPPT regulation is expressed as:

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
𝑃𝑃𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 =𝜂𝜂 𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 ×𝑃𝑃 𝑀𝑀𝑃𝑃 (9)
where: 𝑃𝑃𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎is the usable electrical power, 𝜂𝜂 𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀is MPPT efficiency.
The proposed simulated framework assumes a constant MPPT efficiency of 97% throughout the simulation.
This value is adopted as a fixed conversion-efficiency parameter representative of modern MPPT converters
and is not derived from the implementation of a specific MPPT control algorithm (e.g., Perturb and Observe or
Incremental Conductance). V ariations in the photovoltaic output result from the time-varying solar irradiance and
ambient temperature, while the MPPT efficiency remains constant.
Irrigation pump and motor model
The motor power consumption was estimated using the pump affinity law, while the irrigation pump speed was
dynamically regulated according to the soil-moisture conditions, available photovoltaic power, and battery state
of charge.

𝑃𝑃𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 =𝑃𝑃𝑚𝑚𝑟𝑟𝑚𝑚𝑟𝑟𝑟𝑟( 𝑁𝑁𝑁𝑁𝑚𝑚𝑟𝑟𝑚𝑚𝑟𝑟𝑟𝑟 )3 (10)
where: 𝑃𝑃𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 is motor power, 𝑃𝑃𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 is rated motor power, 𝑁𝑁 is actual pump speed, 𝑁𝑁𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 is rated pump speed.
The irrigation water-flow rate was estimated according to:
𝑄𝑄 𝑄 𝑄𝑄𝑄𝑄 (11)
where: 𝑄𝑄 represents water-flow rate, 𝑘𝑘 is a proportionality constant, 𝑁𝑁 is the pump speed.
The proposed control algorithm determines the required pump speed according to the soil-moisture error:
𝑒𝑒 (𝑡𝑡) = 𝑆𝑆𝑆𝑆 𝑟𝑟𝑟𝑟𝑟𝑟 − 𝑆𝑆𝑆𝑆 (𝑡𝑡) (12)
where: 𝑒𝑒 (𝑡𝑡) is soil-moisture error, 𝑆𝑆𝑆𝑆𝑟𝑟𝑟𝑟𝑟𝑟 is desired soil moisture, 𝑆𝑆𝑆𝑆 (𝑡𝑡) is measured soil moisture.
The pump operates only when sufficient photovoltaic power is available and the battery SOC exceeds the pre-
defined operating threshold. Once activated, the proposed controller dynamically adjusts the pump speed accord-
ing to the soil-moisture error while considering the available PV power and battery SOC. Consequently, the
motor power varies according to the pump affinity law, enabling energy-efficient irrigation operation compared
with a conventional fixed-speed pump.
Battery state-of-charge model
The battery-storage subsystem was modeled using the following SOC relationship:

𝑆𝑆𝑆𝑆𝑆𝑆 (𝑘𝑘𝑘𝑘 ) = 𝑆𝑆𝑆𝑆𝑆𝑆 (𝑘𝑘) 𝑘
𝜂𝜂 𝑐𝑐𝑃𝑃𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 (𝑘𝑘) Δ𝑡𝑡
𝐸𝐸𝑏𝑏𝑐𝑐𝑏𝑏
−
𝑃𝑃𝑑𝑑𝑑𝑑𝑑𝑑𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 (𝑘𝑘) Δ𝑡𝑡
𝜂𝜂 𝑑𝑑𝐸𝐸𝑏𝑏𝑐𝑐𝑏𝑏 (13)
where: 𝑆𝑆𝑆𝑆𝑆𝑆 (𝑘𝑘) and 𝑆𝑆𝑆𝑆𝑆𝑆 (𝑘𝑘𝑘𝑘 ) denote the battery state of charge at the current and subsequent time steps, respec-
tively; 𝑃𝑃𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 (𝑘𝑘) and 𝑃𝑃𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 (𝑘𝑘) represent the battery charging and discharging power, respectively; 𝐸𝐸𝑏𝑏𝑏𝑏𝑏𝑏 is the
nominal battery energy capacity; 𝜂𝜂 𝑐𝑐 and 𝜂𝜂 𝑑𝑑 are the charging and discharging efficiencies, respectively; and Δ𝑡𝑡
is the simulation time step. The SOC is constrained within the predefined minimum and maximum limits of 50%
and 85%, respectively.
The AI prediction layer is based on a deep LSTM neural network that predicts irrigation decisions, given envi-
ronmental and operational input parameters.
The overall working of the proposed framework is shown in Fig. 5. The algorithm will gather the environmen-
tal and soil data from the sensing layer, preprocess and normalize the collected data, and input the data into the

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Fig. 5 Flowchart of the proposed AI-IoT smart solar irrigation control algorithm.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
prediction model: LSTM. Meanwhile, the soil moisture, battery SOC and expected irrigation needs are utilized
by the irrigation controller to determine the desired value of the pump operating condition, and the MPPT con -
troller estimates the available PV power. This process of irrigation will continually monitor the condition of the
soil and battery until the desired irrigation objective is met.
Simulation parameters and system specifications
Table 6 summarizes all the simulation parameters employed in the MATLAB simulation of the proposed AI-IoT
irrigation framework.
Results and performance evaluation
This section presents the performance evaluation of the proposed AI-IoT smart irrigation framework under vary-
ing environmental and operating conditions. The obtained results include LSTM prediction performance, envi -
ronmental analysis, renewable-energy behavior, irrigation efficiency, and comparative evaluation with previous
studies.
LSTM training and prediction performance
The training and validation accuracy curves show stable convergence toward high classification performance
with limited fluctuations, as illustrated in Fig. 6. Figure 7 presents the corresponding training and validation loss
curves, which further indicate stable convergence and limited overfitting.
The confusion matrix of the proposed LSTM irrigation prediction model is shown in Fig. 8. The classification
performance is strong, with relatively low values for the false-positives and false-negatives. One advantage of
this low false-negative rate is its importance in irrigation management, where it minimizes the risk of not initiat-
ing irrigation when the soil is very dry. Because the proposed prediction task is formulated as binary classifica -
tion rather than continuous-value regression, the model performance is evaluated using standard classification
metrics, including accuracy, precision, recall, and F1-score, as summarized in Table 7.
The overall irrigation controller performance of the developed AI-based controller was found to be satisfactory
under various environmental and operating conditions.
Comparative evaluation with benchmark machine learning models
To further validate the effectiveness of the proposed LSTM model, a benchmark comparison was conducted
against two widely used machine learning algorithms, namely Artificial Neural Network (ANN) and Support
Vector Machine (SVM). All models were trained and evaluated using the same preprocessed dataset, identical
train-validation-test partitions, and the same evaluation metrics to ensure a fair and unbiased comparison. The
quantitative results are summarized in Table 8, while the graphical comparison is shown in Fig. 9.
Parameter Value
PV area 18 m²
PV efficiency 22%
MPPT efficiency 97%
Rated pump power 4.5 kW
Initial battery SOC 65%
Battery SOC limits 50–85%
Table 6 Simulation param-
eters of the proposed AI-IoT
irrigation system.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Fig. 7 LSTM training and validation loss.

Fig. 6 LSTM training and validation accuracy.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Table 8 Quantitative performance comparison of the proposed LSTM model with benchmark machine learning models.
Accuracy (%) Precision Recall F1-score
Proposed LSTM 96.11 0.9100 0.9820 0.9446
ANN 94.40 0.9000 0.9388 0.9190
SVM 93.55 0.8814 0.9353 0.9075
Metric Value
Accuracy 96.11%
Precision 0.9100
Recall 0.9820
F1-score 0.9446
True positive 273
True negative 517
False positive 27
False negative 5
Table 7 LSTM irrigation
prediction performance.

Fig. 8 LSTM confusion matrix.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
As presented in Table 8; Fig. 9, the proposed LSTM model consistently outperformed the benchmark ANN
and SVM models across all evaluation metrics. Specifically, the proposed model achieved the highest accuracy
of 96.11%, along with superior recall (0.9820) and F1-score (0.9446), demonstrating its effectiveness in captur -
ing temporal dependencies within irrigation data. These results confirm that incorporating sequential learning
enables more accurate irrigation state prediction than conventional machine learning approaches operating on
static feature representations. Furthermore, the robustness analysis presented in Sect. 7.3 demonstrates that the
proposed LSTM model maintains consistently high classification performance over ten independent training
runs, confirming that its superior performance is both stable and reproducible rather than being dependent on a
particular random initialization.
In addition to the predictive performance, the computational efficiency of the proposed LSTM model was
also considered. As summarized in Sect. 5.3, the proposed network consists of only 32,466 trainable parameters,
requiring 122.11 s for training and 0.186 ms per sample during inference, making it suitable for near real-time irri-
gation decision-making. Since the proposed framework addresses a binary classification problem, classification
metrics (accuracy, precision, recall, and F1-score) were adopted as the primary evaluation criteria. Regression-
based performance indicators such as RMSRE, MSRE, and RMSPE are generally intended for continuous-valued
prediction problems and are therefore not applicable to the present classification task. Overall, the proposed
LSTM model achieved the highest classification accuracy while maintaining a lightweight architecture and low
computational cost compared with the benchmark machine learning models. These results demonstrate that the
proposed framework provides an effective balance between prediction accuracy, computational efficiency, and
robustness for AI-IoT-based smart irrigation applications.
Robustness analysis of the proposed LSTM model
To further evaluate the reliability and stability of the proposed LSTM model, a robustness analysis was performed
through ten repeated training runs. While the primary performance metrics presented in the previous sections were
obtained from a representative training run, an additional robustness evaluation was conducted by retraining the
Fig. 9 Performance comparison of the proposed LSTM and benchmark models.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
proposed LSTM model ten times using different random seeds while maintaining the same training, validation,
and testing partitions. This analysis aims to examine the sensitivity of the model to random weight initialization
and stochastic training processes, thereby assessing the consistency of the obtained classification performance.
Table 9 summarizes the statistical performance of the proposed LSTM model over ten independent training
runs. The average classification accuracy reached 96.36% with a standard deviation of only 0.95%, indicat -
ing that the predictive performance remains highly stable despite variations in the random initialization during
training. Similarly, the precision, recall, and F1-score exhibited low standard deviations of 0.0290, 0.0189, and
0.0129, respectively, demonstrating consistent classification behavior across repeated experiments.
The robustness results are further illustrated in Fig. 10, where the classification accuracy obtained from each
independent training run is presented together with the mean accuracy and the corresponding ± 1 standard devia-
tion limits. The relatively small variation among the ten runs confirms that the proposed LSTM model is not
sensitive to stochastic training effects and consistently achieves high predictive performance. Consequently, these
findings demonstrate that the reported performance is reliable and reproducible rather than being influenced by
a particular random initialization.
Environmental and temperature analysis
The annual temperature range of the New Delta region over the simulation period has been represented in Fig. 11.
The temperature profile clearly shows seasonal variation, with the highest levels during the Summer and the low-
est levels during the Winter, between 12 °C and 30 °C across the year.
Fig. 10 Accuracy of the proposed LSTM model over ten independent training runs.

Metric Mean Standard deviation
Accuracy (%) 96.36 0.95
Precision 0.9195 0.0290
Recall 0.9795 0.0189
F1-score 0.9481 0.0129
Table 9 Statistical robust-
ness evaluation of the pro-
posed LSTM model over ten
independent training runs.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Ambient temperature directly affects crop water demand, evapotranspiration rates, soil moisture depletion and
PV operating conditions. In the warmer seasons, the evapotranspiration increases and this results in an increased
demand for irrigation, higher pump operating times and increased flow rates. Cooler winter temperatures, how -
ever, decrease the need for irrigation, and thus lower energy usage. The observations highlight the importance of
integrating real-time climatic data into irrigation scheduling and energy management within AI-IoT smart irriga-
tion systems.
PV and energy performance
The annual power generation profile for PV of the proposed framework is shown in Fig. 12. The generation is
fairly well correlated with the seasonal variation of solar radiation, with highest generation during the summer
months when solar radiation is highest (about 1.25 kW), and lower generation in winter when solar radiation
is lower. The behavior of the battery SOC over the entire annual operating cycle, together with the dynamic
pump-speed profile, is illustrated in Fig. 13. The results demonstrate stable battery charging and discharging
while the intelligent controller continuously adjusts the pump speed according to the soil-moisture error defined
in Eq. (12), considering the available photovoltaic power and battery SOC. Consequently, the motor power is
dynamically regulated according to the pump affinity law given in Eq. (10), while the irrigation water-flow rate
follows Eq. (11). This adaptive variable-speed operation ensures stable system performance and efficient energy
utilization.
To further quantify the effectiveness of the proposed adaptive control strategy, Fig. 14 presents a theoretical
comparison between the annual motor energy consumption of the proposed adaptive pump and a conventional
fixed-speed 4.5 kW pump operating under the same irrigation schedule. The adaptive control strategy reduced
the annual motor energy consumption from 7933.50 kWh to 2004.29 kWh, corresponding to an energy saving of
74.74%. The overall energy performance of the proposed system is summarized in Table 10.
Fig. 11 Annual ambient temperature variation.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Fig. 13 Battery SOC and smart irrigation pump-speed profile.

Fig. 12 Annual PV power generation profile.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Irrigation and water-saving analysis
Figure 15 shows how soil moisture conditions are related to the irrigation water flow dynamics during the entire
simulation year. The results show that the proposed AI-IoT irrigation controller dynamically controls the flow of
the irrigation water when the soil moisture level and irrigation water demand are changed. Soil moisture is moni-
tored against the desired level and the controller adjusts the flow rate to bring it back up to the desired level, and
then reduces the flow once the desired level is reached.
To evaluate the water-saving performance, a conventional fixed-schedule irrigation strategy was considered as
the reference baseline. Since conventional irrigation water consumption varies depending on crop type, climatic
conditions, and irrigation management practices, a representative baseline was adopted. Based on the commonly
reported water-saving range of smart irrigation technologies, the conventional strategy was assumed to consume
40% more water than the proposed adaptive irrigation system 48–50. Therefore, the conventional irrigation water
consumption was defined as:
𝑊𝑊𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 = 1.4𝑊𝑊𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
where 𝑊𝑊𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 and 𝑊𝑊𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 represent the annual water consumption of the conventional and proposed irrigation sys-
tems, respectively. The water-saving ratio was calculated as:
Parameter Value
Total solar energy 5013.13 kWh
Motor energy (adaptive pump) 2004.29 kWh
Motor energy (fixed-speed pump) 7933.50 kWh
Annual energy saving 74.74%
Electrical efficiency 39.98%
Final battery SOC 50.00%
Table 10 Energy perfor-
mance of the proposed AI-
IoT irrigation system.

Fig. 14 Annual motor energy consumption of fixed-speed and adaptive pump control strategies.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0

𝑊𝑊𝑊𝑊 𝑊 𝑊𝑊𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 −𝑊𝑊𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
𝑊𝑊𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐
× 100
Using this baseline, the proposed framework achieved a water-saving rate of 28.57% compared with conven -
tional fixed-schedule irrigation. This improvement is primarily attributed to the adaptive irrigation scheduling
strategy, which dynamically controls pump operation based on the LSTM-predicted irrigation pump operating
state and environmental conditions, thereby minimizing unnecessary water application.
Sensitivity analysis
To evaluate the robustness of the proposed AI-IoT irrigation framework, a sensitivity analysis was performed by
independently varying the solar irradiance, soil moisture, and initial battery state-of-charge (SOC) by ± 10% while
keeping all other parameters unchanged. The corresponding effects on photovoltaic energy generation, motor
energy consumption, final battery SOC, and total irrigation water were analyzed, as summarized in Table 11;
Fig. 16.
Scenario PV energy
(kWh)
Motor energy
(kWh)
Final battery SOC
(%)
Annual
irrigation
water (L)
Baseline 5013.1 2004.3 50.00 21,874
Solar irradiance (+ 10%) 5341.2 1980.8 62.85 23,331
Solar irradiance (− 10%) 4370.1 1636.7 60.51 19,769
Soil moisture (+ 10%) 4855.6 1362.2 53.52 18,973
Soil moisture (− 10%) 4855.6 1887.4 58.51 21,113
Initial battery SOC (+ 10%) 4855.6 1605.1 61.68 20,025
Initial battery SOC (− 10%) 4855.6 1604.6 61.68 20,022
Table 11 Sensitivity
analysis of the proposed
AI-IoT irrigation framework
under different operating
conditions.

Fig. 15 Soil moisture and water flow dynamics.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
The results indicate that the proposed framework maintains stable operation under moderate environmental
variations. Among the investigated parameters, soil moisture exhibited the greatest influence on irrigation water
demand and motor energy consumption, whereas solar irradiance primarily affected PV energy generation and
battery charging. In contrast, variations in the initial battery SOC produced only minor changes in the overall
system performance, demonstrating the robustness of the proposed energy management strategy. Furthermore,
this sensitivity analysis provides a system-level interpretation of how the principal environmental and operational
variables influence the integrated AI-IoT irrigation framework, thereby improving the transparency of the pro -
posed decision-making process and supporting the practical understanding of the interactions between irrigation
decision classification, renewable energy availability, and battery management.
Correlation and environmental analysis
Following the performance and sensitivity evaluations, the relationships among the environmental and irrigation
variables were further investigated using a correlation analysis. Figure 17 presents the correlation matrix of the
environmental and irrigation parameters. The results obtained reveal a high positive correlation between solar
irradiance and PV output power, which suggests that the energy model of PV used is consistent. Solar PV power
generation also had a positive correlation with ambient temperature as increased solar energy was available dur-
ing the warmer time periods. However, soil moisture was found to be negatively correlated with irrigation water
required prediction and pumping operation, thus encouraging the irrigation scheduling strategy suggested.
The environmental correlation analysis underscores the importance of integrating climatic sensing, AI-driven
prediction, and energy resource management into AI-IoT smart irrigation systems, to enhance agricultural sus -
tainability and resilience.
Fig. 16 Motor energy consumption under different sensitivity analysis scenarios.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Economic implications of the proposed framework
Beyond the technical performance improvements, the proposed AI-IoT solar smart irrigation simulation frame -
work demonstrates promising economic implications. The adaptive pump-speed control strategy reduced the
annual motor energy consumption from 7933.50 kWh for a conventional fixed-speed irrigation pump to 2004.29
kWh, corresponding to an energy saving of 74.74%. This substantial reduction in electricity consumption can
directly contribute to lower irrigation operating costs, particularly for large-scale agricultural applications. In
addition, the proposed adaptive irrigation strategy achieved a 28.57% reduction in irrigation water consumption,
which may further decrease water abstraction and pumping expenses while promoting more efficient utilization
of water resources. Furthermore, the integration of photovoltaic energy reduces dependence on conventional
energy sources, providing additional long-term operational benefits. It should be noted that the present work
focuses on the technical performance evaluation of a MATLAB-based simulation framework; therefore, a com -
prehensive techno-economic assessment, including capital investment, life-cycle cost, payback period, and return
on investment, is beyond the scope of this study and is recommended for future research.
Comparative analysis with previous studies
The proposed AI-IoT smart irrigation framework was also tested by comparing with intelligent irrigation system
recently published by the researchers and deep learning based agricultural system published in the literature. The
proposed framework is compared to previous studies of similar scope in terms of the main features, approaches
Fig. 17 Correlation matrix of environmental parameters.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
and data employed in those studies, and the performance measures and their limitations, in Table 12. The com-
parison illustrates the capability of the proposed system to implement the entire elements of the smart irrigation
system in a single smart irrigation architecture: prediction of irrigation by AI, environmental monitoring by IoT,
management of PV energy, optimization of the battery storage, adaptive control of the pump speed.
From the literature reviewed, it is observed that most of the previous works were based on relatively spe -
cific applications like soil moisture prediction and forecasting, soil moisture anomaly detection and/or irrigation
scheduling as illustrated in Table 12. The proposed AI-IoT smart irrigation framework, however, proposes to
use a hybrid approach by combining different operational layers as an integrated framework with the particular
combinations illustrated below: PV power generation, battery energy management, pump speed adaptive control,
IoT-supported environmental monitoring, and irrigation predictive systems based on LSTM.
Furthermore, the majority of existing works have studied prediction accuracy, while the proposed framework
presents a new formulation that considers not only the prediction accuracy but also other factors such as irrigation
efficiency, renewable energy usage, battery SOC stability and water saving performances. The results show that
the proposed framework provides competitive prediction accuracy, enhances irrigation sustainability and energy
management of the irrigation system. These findings indicate that the proposed framework may be practical for
deployment in smart-world agricultural environments, particularly in areas with limited or unreliable electricity
supply.
Discussion, limitations, and future research
The present study demonstrates, through a MATLAB-based simulation framework, the feasibility of integrating
AI-based irrigation prediction, photovoltaic (PV) energy management, adaptive pump-speed control, and a con-
ceptual IoT communication architecture into a unified smart irrigation framework. The simulation results indi -
cate that combining predictive artificial intelligence with renewable energy management can improve irrigation
scheduling, reduce unnecessary water consumption, and enhance energy utilization under varying environmental
conditions. Moreover, the proposed LSTM model achieved high predictive performance for irrigation decision
support, while the adaptive pump-speed control strategy provided greater operational flexibility than conven -
tional fixed-schedule irrigation approaches.
Table 12 Comparative analysis between the proposed AI-IoT smart irrigation framework and recent intelligent irrigation
systems.
Ref. Technique Objective Dataset/region Metrics Limitations Framework advantage
51 IoT +
RNN-LSTM
Soil-moisture
prediction
Malaysia RMSE = 1.1544,
MAE = 0.6362, R²
= 0.3331, Acc. = 95
± 2%
No PV or battery
management
Integrates AI irrigation, PV ,
battery SOC, and pump
control
52 IoT + LSTM Rainfall
prediction
Australia dataset LSTM-based rainfall
prediction
No renew-
able-energy
optimization
Adds PV utilization and
adaptive energy management
53 IoT + KNN

  • ANFIS +
    LSTM + Trans-
    fer Learning
    Sustainable irri-
    gation require-
    ment prediction
    India (Banana
    farms, Tamil
    Nadu)
    R² = 0.945–0.967,
    MSLE = 0.439,
    Accuracy = 94%
    No PV integration
    or battery-energy
    optimization
    Extends irrigation prediction
    with PV generation, battery
    SOC management, and adap-
    tive pump-speed optimiza-
    tion using AI-IoT framework
    54 LSTM network Irrigation
    forecasting
    Alabama, USA R² = 0.82–0.98 No IoT or energy
    management
    Adds IoT monitoring and
    smart energy control
    55 AI-IoT + Solar
    irrigation
    Smart irrigation
    control
    Agricultural IoT
    environment
    Solar-powered auto-
    mated irrigation
    Limited bat-
    tery and pump
    optimization
    Adds LSTM prediction and
    adaptive pump-speed control
    Proposed
    framework
    AI-IoT +
    LSTM + PV
    Smart irrigation
    management
    NASA POWER,
    Egypt
    Acc. = 96.11%, F1 =
    0.9446, Water Sav-
    ing = 28.57%
    — Unified AI, IoT, PV , battery,
    and smart pump framework

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Despite these promising simulation results, several limitations should be acknowledged. First, the proposed
framework was evaluated entirely within a MATLAB simulation environment and does not include physical IoT
deployment, embedded hardware implementation, or field-scale experimental validation. Consequently, the sens-
ing, communication, and control processes are represented using mathematical and conceptual models rather than
real sensor nodes, wireless communication networks, or embedded controllers. Therefore, the reported results
should be interpreted as a simulation-based assessment of the proposed framework rather than the performance
of an operational field system.
Second, the environmental data used in this study were obtained from the NASA POWER database, which
provides satellite-derived meteorological information at a relatively coarse spatial resolution. While these data
are widely adopted for renewable energy and agricultural simulation studies, they cannot fully capture local -
ized micro-climatic variations or field-scale soil-moisture dynamics. As a result, the simulated irrigation deci -
sions represent regional environmental conditions rather than site-specific measurements that would normally
be acquired from in-field IoT sensors. In practical deployments, locally installed sensors could provide higher-
resolution environmental observations, enabling the prediction model to better adapt to localized conditions and
potentially further improve irrigation scheduling accuracy.
In addition, several real-world operational factors were beyond the scope of the present simulation framework.
These include communication latency, packet loss, sensor calibration drift, hardware reliability, battery aging
under long-term charge-discharge cycling, and seasonal environmental uncertainties. Although these factors were
not explicitly modeled, they may influence the performance of a practical smart irrigation system and should
therefore be considered during future experimental validation.
The proposed framework also demonstrates promising economic potential through reduced energy and water
consumption, which can contribute to lower irrigation operating costs and more efficient resource utilization.
Nevertheless, a comprehensive techno-economic assessment, including capital investment, operating cost, life-
cycle cost, payback period, and return on investment, is beyond the scope of the present MATLAB-based simula-
tion study and will be considered in future research.
Future research will focus on implementing the proposed framework using physical IoT hardware and field-
scale sensor networks, integrating edge-AI and adaptive online learning techniques, incorporating additional
renewable energy resources, and conducting long-term experimental validation under real agricultural operating
conditions. These developments will enable a comprehensive assessment of the proposed framework beyond
simulation and facilitate its practical deployment in intelligent and sustainable irrigation systems.
The present study assumes constant photovoltaic conversion efficiency (22%) and MPPT efficiency (97%)
throughout the annual simulation period. Likewise, the battery model does not incorporate long-term degrada -
tion mechanisms such as capacity fade, calendar aging, temperature-induced degradation, or cycle aging. Simi -
larly, photovoltaic performance degradation caused by dust accumulation, module aging, or other environmental
effects was not considered. These assumptions were adopted to focus the analysis on the proposed AI-based
irrigation control strategy while maintaining computational simplicity. Future work will extend the framework
by incorporating detailed battery aging models and time-dependent photovoltaic degradation to further improve
long-term performance assessment.
Since the present work is based on a MATLAB simulation framework, communication latency and asyn -
chronous execution associated with practical IoT deployments were not experimentally evaluated. Within the
simulation environment, environmental data acquisition, LSTM inference, adaptive pump control, and battery
state-of-charge management are executed sequentially at each simulation time step, ensuring deterministic opera-
tion throughout the control process. In a practical Edge-AI implementation, these functions can be organized as
independent tasks, where the local control loop operates continuously on the edge device while communication
with cloud services (e.g., Wi-Fi or LoRaWAN) is executed asynchronously. Such architecture minimizes block-
ing delays and preserves the real-time operation of the irrigation control system. Experimental validation of this
execution architecture on embedded hardware platforms remains an important direction for future work.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
In the present study, Gaussian noise was adopted to simulate sensor uncertainty because it is one of the most
widely used stochastic models for representing random measurement errors during algorithm validation. This
approach enables a controlled evaluation of the proposed LSTM model under uncertain environmental mea -
surements while maintaining reproducibility of the simulation framework. Nevertheless, practical soil moisture
sensors may also experience nonlinear faults, including sensor drift, abrupt signal loss, calibration degradation,
and outlier measurements, which cannot be fully represented by Gaussian noise alone. Although the temporal
learning capability of LSTM networks generally provides a certain degree of resilience against moderate mea -
surement fluctuations, the robustness of the proposed framework under these complex sensor faults has not been
experimentally investigated in the present study. Evaluating fault-tolerant AI models using real sensor degrada -
tion scenarios will be considered in future research.
Conclusion
An AI-IoT simulation platform for Smart Solar Irrigation System has been designed and tested based on MAT -
LAB and it includes the irrigation-demand prediction model based on long short-term memory (LSTM), pho -
tovoltaic (PV) energy management, Maximum Power Point Tracking (MPPT), Battery State of Charge (SOC)
control module, and conceptual IoT communication architecture. Real environmental data from the NASA
POWER database was used to test the framework and thus enable the simulation of intelligent irrigation manage-
ment in a controlled environment under realistic environmental conditions. The classification accuracy, precision,
recall and F1 score obtained for the proposed LSTM model were found to be 96.11%, 0.9100, 0.9820 and 0.9446
respectively. To benchmark the proposed approach, its performance was compared with that of an Artificial Neu-
ral Network (ANN) and a Support Vector Machine (SVM) using the same evaluation framework. To verify the
robustness of the proposed model, several independent trainings were carried out, with good and reproducible
results in model performance. Additionally, the water savings through adaptive irrigation strategy was 28.57%
annual and adaptive pump-speed control achieved 74.74% annual total motor energy savings as compared to
fixed-speed pump. The results were also considered to be sensitive for moderate changes of the environmen -
tal and operational parameters, which gave further validations for the proposed approach. The integration of
AI-based prediction with renewable energy management can optimize irrigation schedules, improve water-use
efficiency, reduce energy consumption, and support sustainable precision agriculture. There are, however, several
factors to consider. Currently, there is no deployment or implementation of an embedded system or field-based
test (experiments) with the proposed framework, but it is only simulated in MATLAB using conceptual IoT archi-
tecture. Therefore, the results presented here cannot be considered as empirical evidence for the application in the
operational field conditions, but merely as proof of feasibility of the proposed framework.
Future research will focus on deployment of the proposed framework on real physical devices of the IoT,
integration of additional renewable energy resources and additional more complex models of battery degradation
and execution of long-term real-life experiments to test the framework performance in real scenarios within the
agriculture domain.
Author contributions Ahmad Mashaly: Conceptualization, Methodology, Software, Data Curation, Resources, Software,
Writing - Original Draft. Ragab El-Sehiemy:- Project administration, Conceptualization, Validation, Resources, Supervision,
Review & Editing. Mohamed Elgohary: Conceptualization, Validation, Visualization, Resources, Investigation, Review &
Editing. All authors reviewed the manuscript.
Data availability The datasets used and/or analyzed during the current study are available from the corresponding author
upon reasonable request.

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
Declarations
Competing interests The authors declare no competing interests.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 Interna-
tional License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as
long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence,
and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material
derived from this article or parts of it. The images or other third party material in this article are included in the article’s Cre-
ative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s
Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you
will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit h t t p : / / c r e a t i v e c o m m o
n s . o r g / l i c e n s e s / b y - n c - n d / 4 . 0 / .
References

  1. Al Mamun, R., Ahmed, A. K., Upoma, S. M., Haque, M. & Ashik-e-rabbani, M. IoT-enabled solar-powered smart irrigation
    for precision agriculture. Smart Agricultural Technology 10, 100773. https://doi.org/10.1016/j.atech.2025.100773 (2025).
  2. Vaghela, H. B., Nitinkumar, R., Buch, B., Patel, R. & Kapadia, R. R. Comprehensive review on solar water pumping
    system for irrigation application. J. Electr. Syst. 20, 2323–2331. https://doi.org/10.52783/jes.4892 (2024).
  3. Gevorkov, L., Dom, L. & Romero, L. T. Review on solar photovoltaic-powered pumping systems. Energies (Basel) 16,
  4. https://doi.org/10.3390/en16010094 (2023).
  5. Kumar, S., Kumar, S. & Engineering, E. Solar PV powered water pumping system using DC motor drive. Int. J. Tech.
    Res. Sci. Solar 5, 1–8. https://doi.org/10.30780/IJTRS.V05.I04.001 (2024).
  6. Mashaly, A. et al. Optimal techno-economic framework for the design and control of off-grid solar-battery EV charging
    stations in Benban-Egypt. J. Energy Storage 167, 122367. https://doi.org/10.1016/j.est.2026.122367 (2026).
  7. Alagmy, A. R. et al. Design and development of drivetrain system for electric motorcycles. In 2024 25th International
    Middle East Power System Conference (MEPCON) Design (2024).
  8. Samarth, D. B., Giridhar, C., Ananjan, S. & Pagey, P. A solar-powered, internet of things (IoT)-controlled water irrigation
    system supported by rainfall forecasts utilizing aerosols: a review. Environ. Dev. Sustain. 1 (1). h t t p s : / / d o i . o r g / 1 0 . 1 0 0 7 / s
    1 0 6 6 8 - 0 2 4 - 0 5 9 5 3 - z (2025).
  9. Muhammed, D. et al. Artificial Intelligence of Things (AIoT) for Smart Agriculture: A Review of Architectures,
    Technologies and Solutions. https://doi.org/10.1016/j.jnca.2024.103905 (Academic, 2024)
  10. García, L. et al. IoT-based smart irrigation systems: An overview on the recent trends on sensors and IoT systems for
    irrigation in precision agriculture. Sensors https://doi.org/10.3390/s20041042 (2020).
  11. Qian, M. et al. Smart irrigation systems from cyber–physical perspective: State of art and future directions. Future
    Internet https://doi.org/10.3390/fi16070234 (2024).
  12. Thilakarathne, N. N. et al. Internet of things enabled smart agriculture: Current status, latest advancements, challenges
    and counter measures. Heliyon https://doi.org/10.1016/j.heliyon.2025.e42136 (2025).
  13. Ahmed, N. & Shakoor, N. Advancing agriculture through IoT, big data, and AI: A review of smart technologies enabling
    sustainability.. Smart Agric. Technol. https://doi.org/10.1016/j.atech.2025.100848 (2025).
  14. Assimakopoulos, F. et al. AI and related technologies in the fields of smart agriculture: A review. Information h t t p s : / / d o i
    . o r g / 1 0 . 3 3 9 0 / i n f o 1 6 0 2 0 1 0 0 (2025).
  15. Kabato, W. et al. Towards climate-smart agriculture: Strategies for sustainable agricultural production, food security, and
    greenhouse gas reduction. Agronomy https://doi.org/10.3390/agronomy15030565 (2025).
  16. Mashaly, A., Elmadawy, M., Elgohary, M. & Shahin, A. Novel and cost-efficient design of stand-alone PV system with
    simulation using PVsyst and experimental validation. Sci. Rep. 15, 43383. https://doi.org/10.1038/s41598-025-28401-y
    (2025).
  17. Ibraheam, E. H. & Aslan, S. R. Solar photovoltaic water pumping system approach for electricity generation and
    irrigation: review. Diagnostyka 24, 1–7. https://doi.org/10.29354/diag/165849 (2023).
  18. Matar, O., Governorate, D. & Governorate, D. Enhance the design of low-cost fast charging battery systems for electric
    mobility systems enhance the design of low-cost fast charging battery systems for electric. Mansoura Eng. J. Vol. 50
    (3255). https://doi.org/10.58491/2735-4202.3255 (2025).
  19. Strategy, G. A. A comprehensive review on development of solar pump operated by PV module. Evergreen 11, 1964–
    1989 (2024).
  20. Hammouch, H., El-Yacoubi, M. A., Qin, H. & Berbia, H. A systematic review and meta-analysis of intelligent irrigation
    systems. IEEE Access 12, 128285–128304. https://doi.org/10.1109/ACCESS.2024.3421322 (2024).

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
20. Younes, A., Elassad, Z. E. A., El Meslouhi, O., Elassad, D. E. A. & Dahbi Abdel Majid, E. The application of machine
learning techniques for smart irrigation systems: A systematic literature review. Smart Agric. Technol. 7, 425. h t t p s : / / d o i
. o r g / 1 0 . 1 0 1 6 / j . a t e c h . 2 0 2 4 . 1 0 0 4 2 5 (2024).
21. Sheline, C., Grant, F., Gelmini, S., Pratt, S. & Winter, A. G. Designing a predictive optimal water and energy irrigation
(POWEIr) controller for solar-powered drip irrigation systems in resource-constrained contexts. Appl. Energy 377, 107.
https://doi.org/10.1016/j.apenergy.2024.124107 (2025).
22. Kitcharoen, P., Chookaew, S. & Howimanporn, S. Implementation of an AIoT-based intelligent water resources control
system for smart farm. IEEE Access 12, 156878–156892. https://doi.org/10.1109/ACCESS.2024.3482088 (2024).
23. Don Chua, W. F., Lim, C. L., Koh, Y . Y . & Kok, C. L. A novel IoT photovoltaic-powered water irrigation control
and monitoring system for sustainable city farming. Electronics 13, 676. https://doi.org/10.3390/electronics13040676
(2024).
24. Xu, X. et al. An adaptive hybrid (1D-2D) convolution-based ShuffleNetV2 mechanism for irrigation levels prediction
in agricultural fields with smart IoTs. IEEE Access 12, 71901–71918. https://doi.org/10.1109/ACCESS.2024.3384473
(2024).
25. Fahaad Alumfareh, M., Humayun, M., Ahmad, Z. & Khan, A. An intelligent LoRaWAN-based IoT device for monitoring
and control solutions in smart farming through anomaly detection integrated with unsupervised machine learning. IEEE
Access. 12, 119072–119086. https://doi.org/10.1109/ACCESS.2024.3450587 (2024).
26. Kasera, R. K. & Acharjee, T. A Comprehensive IoT edge based smart irrigation system for tomato cultivation. Internet
Things (Netherlands) 28, 356. https://doi.org/10.1016/j.iot.2024.101356 (2024).
27. Awais, M. et al. Short-term photovoltaic energy generation for solar powered high efficiency irrigation systems using
LSTM with spatio-temporal attention mechanism. Sci. Rep. 14, 9. https://doi.org/10.1038/s41598-024-60672-9 (2024).
28. Chandola, J., Pundir, S., Sharma, A., Song, Y . & Singh, T. Results in engineering recent advances in MPPT techniques for
photovoltaic systems: A review of classical (P & O, IC), intelligent (ANN), optimization (PSO) and hybrid (ANN-PSO)
methods. Results Eng. 29, 395. https://doi.org/10.1016/j.rineng.2026.109395 (2026).
29. Yaseen, M., Aldulaimi, M. & Çevik, M. AI-enhanced MPPT control for grid-connected photovoltaic systems using
ANFIS-PSO optimization. Electronics (Basel) 14 (2649). https://doi.org/10.3390/electronics14132649 (2025).
30. Mezouari, M., Megrini, M. & Gaga, A. Control engineering practice high efficiency DC-DC converter for renewable
energy integration and energy storage applications: A review of topologies and control strategies. Control Eng. Pract.
162, 106371. https://doi.org/10.1016/j.conengprac.2025.106371 (2024).
31. Jagadeesh, I. & Indragandhi, V . Solar photo voltaic based hybrid CUK, SEPIC, ZETA converters for microgrid
applications. e-Prime Advances in Electrical Engineering, Electronics and Energy 6, 100364. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . p
r i m e . 2 0 2 3 . 1 0 0 3 6 4 (2023).
32. Bawayan, H. M., Enany, M. A., Elymany, M. M., Shaier, A. & Ahmed, M. M. Control strategies of hybrid RESs for off-
grid water pumping technologies: An overview. Sci. Afr. 29, e02856. https://doi.org/10.1016/j.sciaf.2025.e02856 (2025).
33. Boztas, G., Aydogmus, O. & Yilmaz, M. Optimized design of SynRM drive systems for high-efficiency solar water
pumps. Heliyon 10, e39478. https://doi.org/10.1016/j.heliyon.2024.e39478 (2024).
34. Conteh, N. Sustainable Agriculture: IoT-Based Smart Irrigation Systems (Springer, 2025). h t t p s : / / d o i . o r g / 1 0 . 1 0 0 7 / 9 7
8 - 3 - 0 3 1 - 7 2 4 7 9 - 4 _ 1 5 .
35. Forest, R. AI-driven irrigation systems for sustainable water management: A systematic review and meta-analytical
insights. Smart Agric. Technol. J. 11, 982. https://doi.org/10.1016/j.atech.2025.100982 (2025).
36. State, A. Internet of Things (IoT) data communication challenges, and solutions, J. Dig. Learn. Dist. Educ. 2, 226. h t t p s
: / / d o i . o r g / 1 0 . 5 6 7 7 8 / j d l d e . v 2 i 1 1 . 2 2 6 (2024).
37. Banluesapy, S., Ketcham, M. & Rattanasiriwongwut, M. AI-augmented smart irrigation system using IoT and solar
power for sustainable water and energy management. Energy Eng. 122 (422). https://doi.org/10.32604/ee.2025.068422
(2025).
38. Kasera, R. K. & Acharjee, T. A comprehensive IoT edge based smart irrigation system for tomato cultivation. Internet
Things 28, 356. https://doi.org/10.1016/j.iot.2024.101356 (2024).
39. Artetxe, E. et al. Smart IoT irrigation system based on fuzzy logic, LoRa, and cloud integration. Electronics (Switzerland)
13, 949. https://doi.org/10.3390/electronics13101949 (2024).
40. Zhang, Y . et al. Research and development of an IoT smart irrigation system for farmland based on LoRa and edge
computing. Agronomy https://doi.org/10.3390/agronomy15020366 (2025).
41. NASA POWER Data Access Viewer (DA V). https://power.larc.nasa.gov/data-access-viewer/.
42. World Bank Group &. Solargis s.r.o. Global Solar Atlas 2.0. https://globalsolaratlas.info/download/egypt (2026).
43. Kumar, H. et al. Site-specific irrigation scheduling using one-layer soil hydraulic properties and inverse modeling. Agric.
Water Manag. 273, 877. https://doi.org/10.1016/j.agwat.2022.107877 (2022).
44. Mohammadhossein Shekarian, S., Aminian, M., Mohammad Fallah, A. & Akbary Moghaddam, V . AI-powered sensor
fault detection for cost-effective smart greenhouses. Comput. Electron. Agric. 224, 98. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . c o m p a g
. 2 0 2 4 . 1 0 9 1 9 8 (2024).

Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-74935-0
45. Orihuela, L., Pacheco, E., Bareiro, J., Tapia, A. & Manzano, J. M. Deployment of a smart irrigation control system with
capacity-based moisture sensors on a production farm. J. Irrig. Drain. Eng. 151, 124. h t t p s : / / d o i . o r g / 1 0 . 1 0 6 1 / j i d e d h . i r e n
g - 1 0 1 2 4 (2025).
46. Zhou, D., Zuo, X. & Zhao, Z. Constructing a large-scale urban land subsidence prediction method based on neural
network algorithm from the perspective of multiple factors. Remote Sens. https://doi.org/10.3390/rs14081803 (2022).
47. Hayajneh, A. M. et al. Tiny machine learning on the edge: A framework for transfer learning empowered unmanned aerial
vehicle assisted smart farming. IET Smart Cities 6, 10–26. https://doi.org/10.1049/smc2.12072 (2024).
48. Bwambale, E., Abagale, F. K. & Anornu, G. K. Smart irrigation monitoring and control strategies for improving water
use efficiency in precision agriculture: A review. Agric. Water Manag. 260, 107324. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / J . A G W A T . 2
0 2 1 . 1 0 7 3 2 4 (2022).
49. Lunstad, N. T. & Sowby, R. B. Smart irrigation controllers in residential applications and the potential of integrated water
distribution systems. J. Water Resour. Plan. Manag. 150, 03123002 (2024).
50. Touil, S. et al. A review on smart irrigation management strategies and their effect on water savings and crop yield. Irrig.
Sci. 71, 1396–1416 (2022).
51. Maniam, S. et al. Enhancing agricultural sustainability: An IoT-based RNN-LSTM model for precision sub-surface
moisture monitoring and irrigation optimisation. Ann. Emerg. Technol. Comput. 1083. h t t p s : / / d o i . o r g / 1 0 . 3 3 1 6 6 / a e t i c . 2 0
2 6 . 0 1 . 0 0 5 (2026).
52. Meddaoui, M. A. & Erritali, M. Smart Irrigation Integrate To IOT Technology Based on Deep Learning’ s Algorithm
LSTM (2024).
53. Blessy, A. et al. Sustainable irrigation requirement prediction using internet of things and transfer learning. Sustainability
15 (10). https://doi.org/10.3390/su15108260 (2023).
54. Jimenez, A. F., Ortiz, B. V ., Bondesan, L., Morata, G. & Damianidis, D. Long short-term memory neural network for
irrigation management: A case study from Southern Alabama, USA. Precis. Agric. 22, 475–492. h t t p s : / / d o i . o r g / 1 0 . 1 0 0 7
/ s 1 1 1 1 9 - 0 2 0 - 0 9 7 5 3 - z (2021).
55. Maniam, S., Tee, Y . K., Memar, E., Wong, H. Y . & Zaman, M. Smart irrigation management: IoT-based RNN-LSTM
model for soil moisture prediction in precision agriculture. Smart Agric. Technol. 13, 866. h t t p s : / / d o i . o r g / 1 0 . 1 0 1 6 / j . a t e c
h . 2 0 2 6 . 1 0 1 8 6 6 (2026).
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional
affiliations.
Authors and Affiliations
Ahmed Mashaly1 · Ragab A. El-Sehiemy2,3,4  · Mohamed Elgohary5,6
Ragab A. El-Sehiemy
elsehiemy@eng.kfs.edu.eg; elsehiemy@sze.hu
1 Faculty of Engineering, Mansoura National University, Gamasa 35712, Egypt
2 Electrical Engineering Department, Faculty of Engineering, Kafrelsheikh University, Kafrelsheikh, Egypt
3 Electronics Engineering Department, Higher Institute of Engineering and Technology at Manzala, Manzala
66412, Egypt
4 Sustainability Competence Centre, Széchenyi István University, Gyor 9026, Hungary
5 Electrical Engineering Department, Faculty of Engineering, Mansoura University, Mansoura, Egypt
6 Faculty of Engineering, Delta University for Science and Technology, Gamasa 35712, Egypt

论文原文与出版信息

Scientific Reports
查看论文原文

继续探索