论文信息
论文解读
AI 辅助整理- 方法
- LLM语义推理、模糊推理、多目标优化与数字孪生仿真,基于半智能番茄农场数据。
- 发现
- 相比纯数值优化,运营成本降3.35%、作物胁迫降7.98%、运营性能升4.45%。
- 机会点
- 可开展多季节田间规模化验证,并融合实时物联网数据提升数字孪生自适应能力。
论文摘要
本研究开发了一个面向自适应农业机器人(adaptive agricultural robotics)的集成式LLM-模糊决策支持与数字孪生框架,融合了语义推理、模糊推理、多目标优化和反馈驱动的状态更新。数值传感器数据、运营信息和文本田间知识被转化为经过验证的决策规则和模型就绪参数,从而支持在经济、运营、作物胁迫和可持续性相关目标之间进行协调决策。该框架以基于仿真的概念验证形式进行评估,并利用半智能番茄农场的真实观测数据进行校准,同时使用受控数字孪生场景评估其在环境和运营扰动下的行为表现。与仅使用数值优化相比,完整的LLM-模糊框架将运营成本降低了3.35%,作物胁迫降低了7.98%,同时将运营性能提升了4.45%。消融实验、重复运行、场景、敏感性和动态自适应分析进一步表明,在所评估条件下该框架具有一致的计算性能。可持续性通过一个基于模型的度量进行评估,该度量综合了用水量、能源消耗和土壤压实相关影响。这些发现表明,将语义推理、不确定性处理、优化和数字孪生反馈相结合用于自适应农业决策支持具有潜力。然而,这些结果代表的是一种经过校准的基于仿真的概念验证,而非通过全尺度自主田间部署所进行的验证;因此,在将所报告的运营和可持续性效益加以推广之前,仍需开展更广泛的多季节和田间尺度验证。
全文
AgriEngineeringAgriEngineering 2026, 8, 423 https://doi.org/10.3390/agriengineering8100423
Article
An Intelligent LLM–Fuzzy Decision Support and Digital Twin
Framework for Adaptive Agricultural Robotics Systems
Hamed Nozari 1,* and Zornitsa Yordanova2
1 Institute of Economics and Politics, University of National and World Economy, 1700 So fia, Bulgaria
2 Industrial Business Department, Business Faculty, University of National and World Economy, 1700 So fia,
Bulgaria; zornitsayordanova@unwe.bg
- Correspondence: hamed.nozari@unwe.bg
Abstract
This study develops an integrated LLM–fuzzy decision-support and digital twin frame-
work for adaptive agricultural robotics, combining semantic reasoning, fuzzy inference,
multi-objective optimization, and feedback-driven state updating. Numerical sensor data,
operational information, and textual field knowledge are transformed into validated de-
cision rules and model-ready parameters, enabling coordinated decisions across economic,
operational, crop-stress, and sustainability-related objectives. The framework is evaluated
as a simulation-based proof of concept calibrated with real observations from a semi-
smart tomato farm, while controlled digital twin scenarios are used to assess its behavior
under environmental and operational disturbances. Compared with numerical optimiza-
tion alone, the complete LLM–fuzzy framew ork reduces operational cost by 3.35% and
crop stress by 7.98%, while improving oper ational performance by 4.45%. Ablation, re-
peated-run, scenario, sensitivity, and dynamic-adaptation analyses further demonstrate
consistent computational performance under th e evaluated conditions. Sustainability is
assessed through a model-based measure integrating water use, energy consumption, and
soil-compaction-related impacts. These findings demonstrate the potential of combining
semantic reasoning, uncertainty processing, optimization, and digital-twin feedback for
adaptive agricultural decision support. However, the results represent a calibrated simu-
lation-based proof of concept rather than validation through a full-scale autonomous field
deployment; broader multi-season and field-scale validation is therefore required before
generalizing the reported operational and sustainability benefits.
Keywords: intelligent decision support systems; large language models; fuzzy expert
systems; digital twins; agricultural robotics; multi-objective optimization
- Introduction
In recent decades, agriculture has faced growing pressure from rising food demand,
climate change, and resource constraints, making traditional approaches ine ffective at
meeting future needs and high lighting the need for a shift to intelligent, adaptive, and
data-driven systems [1]. In this context, agricultural robotics, as a key component of pre-
cision agriculture, enables high-precision operations, reduces resource waste, and im-
proves productivity [2]. However, physic al automation alone, without advanced deci-
sion-making mechanisms, cannot guarantee true system-level optimization. Therefore,
Academic Editors: Flavio Capraro
and Santiago Tosetti
Received: 28 August 2026
Revised: 24 September 2026
Accepted: 29 September 2026
Published: 2 October 2026
Copyright: © 2026 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license.
AgriEngineering 2026, 8, 423 2 of 40
https://doi.org/10.3390/agriengineering8100423
research attention has been focused on combining robotics with intelligent decision-mak-
ing models and complex data analysis [3].
In the meantime, the emergence of large language models (LLMs) as powerful tools
for processing unstructured data has opened a new horizon in transforming qualitative
knowledge into usable inputs in analytical models. These models can transform textual
information, expert experiences, and descriptive data into structured rules, thereby reduc-
ing the gap between qualitative data and quantitative models [4]. On the other hand,
fuzzy logic, as a suitable framework for modeling uncertainty and ambiguity, allows the
integration of these rules into a computable format [5]. The combination of LLM and fuzzy
systems creates a context in which decision-making is based not only on numerical data,
but also on semantic interpretations [6]. At the same time, multi-objective optimization,
as one of the main pillars of decision-making in complex systems, plays an important role
in balancing con flicting goals. In the agricultural field, these goals usually include cost
reduction, yield increase, resource conservation, and environmental improvement, which
cannot be maximized simultaneously. The use of multi-objective evolutionary algorithms
enables the extraction of a set of e fficient solutions from which the decision maker can
choose based on their priorities [7,8]. However, the main challenge in this area is e ffec-
tively integrating multi-source data, uncertainty, and empirical knowledge into the opti-
mization process [9].
In this regard, the concept of the Digital Twin, as a dynamic digital representation of
physical systems, has provided a new platform for real-time and predictive decision-mak-
ing. By continuously connecting to real data, Digital Twin enables the simulation, analysis,
and continuous updating of the system state, thereby transforming decision-making from
a static process into an adaptive and intelligent one [10]. In agricultural applications, this
concept can be used to monitor environmental conditions, predict system behavior, and
optimize operations in real time. However, the full integration of Digital Twins with op-
timization models and AI-based decision support systems remains an active area of re-
search [11].
The main contributions of this study can be summarized in three points. First, a trace-
able semantic-to-optimization decision chain is developed in which an LLM interprets
heterogeneous sensor, operational, and textual farm information, while a validation and
safety mechanism prevents unverified linguistic outputs from directly entering the deci-
sion model. The validated knowledge is su bsequently transformed through fuzzy infer-
ence into quantitative parameters used by the multi-objective optimization model. This
differs from existing LLM-based agricultural decision-support approaches that mainly
generate recommendations or textual interpre tations without explicitly linking semantic
reasoning to constrained numerical optimization. Second, the proposed framework inte-
grates this reasoning–optimization process with a closed-loop Digital Twin of the agricul-
tural robotic system, allowing updated physic al states, resource conditions, and robotic
feedback to modify the decision state and initiate subsequent optimization cycles. In con-
trast to Digital Twin approaches mainly used for monitoring, simulation, or prediction,
the proposed architecture embeds the Digital Twin directly within the adaptive decision
loop. Third, the framework jointly evaluates economic, operational, crop-stress, and sus-
tainability-related objectives and explicitly examines the contribution of the semantic and
fuzzy reasoning components through comparative, ablation, scenario, sensitivity, and dy-
namic-adaptation analyses. Together, these contributions establish an integrated and ex-
perimentally evaluated pathway from heterogeneous farm knowledge to adaptive robotic
decision-making under uncertainty.
The remainder of this paper is organized as follows. Section 2 reviews the relevant
literature. Section 3 presents the problem de finition and system formulation. Section 4
introduces the proposed framework, including the data acquisition layer (Section 4.1), the
AgriEngineering 2026, 8, 423 3 of 40
https://doi.org/10.3390/agriengineering8100423
large language model-based reasoning layer (Section 4.2), the fuzzy multi-objective opti-
mization layer (Section 4.3), the robotic execution layer (Section 4.4), and the integration
logic between layers (Section 4.5). Section 5 develops the mathematical model. Section 6
describes the LLM–fuzzy integration mechanism. Section 7 outlines the solution method-
ology. Section 8 reports and discusses the resu lts. Finally, Section 9 concludes the paper
and highlights directions for future research.
2. Literature Review
The evolution of smart agriculture has expanded the role of agricultural robots from
autonomous mechanized equipment to connected decision-making components in cyber–
physical systems. Research in this area has demonstrated the capabilities of robots in crop
monitoring, irrigation, harvesting, input management, and performing precision farm op-
erations [12,13]. However, a signi ficant portion of the agricultural robotics literature has
focused on perception, navigation, motion control, and execution of a speci fic task, and
less attention has been paid to the coordination of decisions at the system level, especially
when water, energy, crop status, and availability constraints of multiple robots change
simultaneously [14]. Consequently, the issue is not simply to increase the autonomy of a
robot, but to create a mechanism that can translate the changing state of the farm into
coordinated, multi-objective decisions for a set of resources and operations [15].
IoT infrastructure and farm sensors have enabled a significant part of this transition,
enabling continuous monitoring of variables such as soil moisture, temperature, radiation,
water consumption, and equipment status [16] . Decision support systems based on this
data have been able to improve the quality of monitoring and responding to environmen-
tal changes, but they mainly rely on structur ed numerical data. In the real farm environ-
ment, part of the decision-making information is provided in the form of operational re-
ports, crop condition descriptions, empirical knowledge, and linguistic assessments that
cannot be directly used in mathematical mo dels [17]. Therefore, a fundamental gap re-
mains between the data perception layer and the quantitative decision-making layer, es-
pecially in situations where numerical and contextual information must simultaneously
influence the priority of robotic operations.
The emergence of large language models has opened up a new possibility for pro-
cessing this unstructured part of agricultural information. Early studies have shown that
LLMs can interpret textual reports, expert knowledge, and contextual descriptions and be
used in agricultural decision support [18,19]. However, most of these applications remain
at the level of recommendation generation, linguistic response, or knowledge extraction.
The linguistic output of an LLM is not a reliable parameter in itself for a constrained opti-
mization model, and its direct use can encounter issues of consistency, physical scope, and
decision safety [20]. From this perspective, the unsolved problem is not simply the use of
LLMs in agriculture, but rather the development of a controlled and validated path to
transform their semantic reasoning into structured knowledge that can be fed into a quan-
titative model without delegating the final operational decision to the linguistic model.
Fuzzy logic provides a complementary path to transform linguistic evaluations and
uncertainties into computable variables and has been previously applied in irrigation, in-
put management, environmental control, an d decision making under ambiguous condi-
tions [21]. However, many agricultural fuzzy systems rely on a set of rules that are defined
by an expert before implementation, and as a result, their adaptation to context changes
depends on the redesign or manual updating of the rule base [22]. The important di ffer-
ence between this research stream and the present approach is that in the proposed frame-
work, LLM does not replace the fuzzy or expe rt system; rather, it generates structured
context knowledge, the output of which passes through a validation and safety layer be-
fore being applied, and then the fuzzy syst em transforms the validated knowledge into
AgriEngineering 2026, 8, 423 4 of 40
https://doi.org/10.3390/agriengineering8100423
the quantitative parameters required by the model [23]. In this way, semantic reasoning,
safety control, and fuzzy parameterization act as separate but connected steps in the de-
cision chain.
On the other hand, multi-objective optimization is a major tool for managing the con-
flict between cost, performance, resource consumption, and other operational objectives
in complex agricultural systems. Algorithms such as NSGA-II, MOPSO, and GWO have
been applied to multi-objective and resource allocation problems, and their ability to gen-
erate a set of Pareto solutions to complex pr oblems has been reported [24,25]. However,
most of these models solve the problem after de fining a set of numerical parameters and
do not have a built-in mechanism to interpre t contextual and contextual information or
convert them into decision parameters [26]. This limitation becomes even more important
in the scheduling and allocation of agricultural robots, because the priority of an area, the
level of crop stress, or the need for interventi on may not be a function of a single sensor
value but may be derived from a combination of the current state, operational history, and
contextual information [27].
Digital Twins cover another layer of this problem, providing an up-to-date compu-
tational representation of the physical system, enabling data synchronization, state simu-
lation, and decision evaluation [28]. Agricultural applications of Digital Twins have
demonstrated the potential of this technolo gy for crop and equipment monitoring, re-
source management, scenario analysis, and de cision support [29]. However, the existing
literature still varies in terms of the depth of integration, and many frameworks apply
Digital Twins primarily for observation, simulation, or prediction, without developing a
complete chain from heterogeneous knowledge interpretation to multi-objective optimi-
zation and feedback-based decision updating [30]. This is particularly important in multi-
robot systems, as Digital Twins go beyond a monitoring model when a change in physical
state can update decision parameters and trigger a new optimization cycle [31].
A comparison of these four research streams shows that the main gap is not the lack
of a single technology, but rather the lack of a traceable computational chain between
them [32]. LLM-based studies mainly focus on language interpretation and support; fuzzy
systems model fuzzy knowledge but usually rely on predefined rules; multi-objective op-
timization models mainly assume ready-made numerical inputs; and agricultural Digital
Twins have focused more on monitoring, simulation, and state synchronization [33]. As a
result, there is still a need for a framework that speci fies how contextual information is
extracted, validated, quantified, and fed into the optimization model, and how the result-
ing decision is re-evaluated in a dynamic digital representation [34,35].
Accordingly, the innovation of the present research is not simply in bringing together
LLM, fuzzy logic, optimization, and Digital Twin, but in defining and evaluating the com-
putational path between these components. Sensor data, operational information, and
contextual knowledge are first fed into a controlled semantic reasoning layer; the struc-
tured output of the LLM pass es through the Validation and Safety Gate; the validated
knowledge is converted into quantitative pa rameters through fuzzy inference; these pa-
rameters are directly fed into the multi-obje ctive optimization model of robot allocation
and operation; and the Digital Twin, receiving the updated state, provides the basis for
evaluating and reoptimizing the decision in the next cycle. In addition, separating the
roles of these components through ablation analysis allows for the independent and com-
bined contribution of the LLM and fuzzy processing to be evaluated. Therefore, the main
contribution of the research is to provid e a validated semantic-to-optimization-to-feed-
back architecture for multi-objective decision making in agricultural robotics that explic-
itly bridges the gap between heterogeneous farm knowledge and quantitative decision
making.
AgriEngineering 2026, 8, 423 5 of 40
https://doi.org/10.3390/agriengineering8100423
3. Problem Definition and System Formulation
In recent years, the shift towards sustainable agriculture has become a major concern
in food production systems [36]. The limitations of vital resources such as water, rising
energy costs, climate change, and the need to increase productivity have turned decision-
making in agricultural systems from a simple process into a complex, multidimensional,
and uncertain problem [37]. In such circumstances, the use of agricultural robots as intel-
ligent executive agents can play an importan t role in optimizing farm operations. How-
ever, the main challenge lies not in the execut ion of operations, but in optimal, adaptive,
and reliable decision-making to guide these robots [38].
The main problem of this research is to design a decision-making framework that can
simultaneously manage multiple con flicting objectives in an uncertain environment.
These objectives include minimizing water consumption, reducing energy consumption,
maximizing crop yield, and improving environmental sustainability indicators. On the
other hand, data from agricult ural environments (including sensor data, weather condi-
tions, and plant growth status) are generally noisy, imprecise, and highly variable. There-
fore, accurate modeling of this system without accounting for uncertainty will lead to im-
practical decisions.
In this study, the agricultural system is considered an intelligent cyber–physical sys-
tem that consists of several main components: (1) a data collection layer that receives en-
vironmental and biological information through sensors, (2) a reasoning layer based on a
large language model (LLM) that interprets the data and extracts decision-making
knowledge, (3) a multi-objective fuzzy optimization layer that produces optimal decisions
under uncertainty, and (4) an execution layer that includes agricultural robots to apply
the decisions in the real environment. The interaction between these layers enables the
creation of a dynamic and adaptive decision support system capable of stable, reliable
performance under changing conditions.
In this framework, uncertainty in data and environmental conditions is modeled us-
ing fuzzy logic, so variables such as soil moisture, temperature, and plant water require-
ments are expressed as fuzzy sets. On the other hand, a multi-objective optimization prob-
lem is defined as one in which a set of Pareto-optimal responses is obtained. The role of
the large language model in this context goes beyond a simple analytical tool; it serves as
a reasoning layer and can generate, modify, and interpret fuzzy decision rules based on
input data. This feature reduces the sy stem’s dependence on manual rule de finition and
enables greater adaptability. To be tter understand the problem’s structure, an overview
of the system components and their interactions is presented in Figure 1.
As shown in Figure 1, environmental data is first collected via a network of sensors
and then transferred to the reasoning layer. At this stage, the large language model ana-
lyzes the current conditions and extracts the knowledge necessary for decision-making as
usable rules. These rules are then entered in to the fuzzy system, and a set of optimal de-
cisions is produced using a multi-objective op timization model. Fina lly, these decisions
are sent to agricultural robots, and operations such as irrigation, fertilization, or plant
monitoring are performed automatically.
AgriEngineering 2026, 8, 423 6 of 40
https://doi.org/10.3390/agriengineering8100423
Figure 1. Conceptual view of a smart ag riculture system including data, reasoning, optimization,
and robotic execution layers.
4. Proposed Framework
To address the complexities of decision-making in sustainable agricultural robotics,
this research presents an integrated and multilayered framework in which the reasoning
capabilities of large language models, the uncertainty modeling power of fuzzy logic, the
simultaneous analysis power of conflicting objectives in multi-objective optimization, and
the execution capacity of agricultural robots are connected in a coherent structure. The
main logic of this framework is based on the assumption that in real agricultural environ-
ments, effective decision-making is not su fficient to rely solely on raw data or classical
algorithms, but there must be an intelligent layer to interpret the conditions, a decision-
making layer to deal with uncertainty, and an execution layer to apply decisions opera-
tionally [39]. Accordingly, the proposed fram ework is designed as a four-layer architec-
ture in which the information flow starts from the physical environment, passes through
the reasoning and optimization layers, and returns to the execution operations on the farm.
In this structure, the farm is not consider ed a passive production space but rather a
dynamic, data-driven, and co ntrollable environment that continuously generates data,
makes decisions, and experiences the operatio nal consequences of those decisions. For
this reason, the proposed framework is clos ed-loop, meaning that the output of robotic
operations is fed back into the system as input for the next round of decision-making. This
feature makes the framework suitable not only for cross-sectional decision-making, but
also for adaptive and sustainable control over time. An overview of this architecture is
presented in Figure 2.
AgriEngineering 2026, 8, 423 7 of 40
https://doi.org/10.3390/agriengineering8100423
Figure 2. Proposed Framework Based on LLM, Fuzzy Logic, Multi-Objective Optimization, and Ro-
botics Implementation in Sustainable Agriculture.
After providing an overview, it is necessary to describe the main components of this
framework in detail to clarify the role of each layer and how each interacts with the others.
These layers are as follows:
4.1. Data Acquisition Layer
The first layer of the proposed framework is responsible for receiving, integrating,
and preparing the data required for decision-making. In agricultural environments, data
is obtained from diverse and heterogeneous sour ces. Some of this data is obtained from
ground sensors measuring soil moisture, temperature, light intensity, pH, electrical con-
ductivity, and other environmental parameters. Another part of the data may be extracted
from imaging systems, drones, field cameras, weather stations, or even management and
crop planning records. Although this data diversity is very valuable for information, it
also creates problems of heterogeneity, noise, incompleteness, and sometimes incon-
sistency.
For this reason, the data collection layer in the proposed framework does not merely
serve as a passive receiver; its tasks include initial cleaning, temporal alignment, normal-
ization, and the construction of a usable representation of the field’s current state. In other
words, this layer must transform the actual field conditions into a coherent data language
so they can be interpreted and analyzed by higher layers. For example, a decrease in soil
moisture in a particular plot, an increase in ambient temperature, and a drop in the plant
health index in field images make sense when analyzed together and in the appropriate
temporal context. Therefore, the data collect ion layer forms the perceptual basis of the
entire system, and any weakness in it can reduce the quality of the final decision-making.
4.2. Large Language Model-Based Reasoning Layer (LLM Reasoning Layer)
The second layer is the most important cognitive part of the proposed framework. In
many conventional smart farming models, a gap exists between raw data and the final
decision, which is usually filled by predefined rules or closed-form numerical models. The
problem with this approach is that in complex and changing agricultural environments,
defining all possible rules or manually updating them is di fficult and costly in the long
AgriEngineering 2026, 8, 423 8 of 40
https://doi.org/10.3390/agriengineering8100423
run. To overcome this limitation, this research uses a large language model as a reasoning
layer.
The role of the large language model in this framework is multifaceted. First, this
model can interpret environmental data and signals beyond simple numerical analysis,
combining them to develop a conceptual understanding of the farm situation. For exam-
ple, the simultaneous decrease in soil mois ture, increase in ambient temperature, and
slight decrease in the plant health index can be interpreted as an initial water-stress con-
dition, rather than as three independent nu mbers. Second, a large language model can
translate this conceptual understanding into decision rules. These rules may be expressed
as “if-then” statements in a fuzzy system; for example, if soil moisture is low, temperature
is high, and the plant health index is decreasing, then irrigation intensity should be in-
creased, while also controlling energy consumption.
The third role of this layer is to generate interpretations and explanations for the de-
cisions made. One of the main challenges in smart agricultural systems is that decisions
are not understandable to the operator or farm manager. When the system decides to in-
crease irrigation, change the robot movement sc hedule, or prioritize a crop plot, it must
provide a clear explanation for its decision. The LLM-based layer allows the system out-
put to be expressed not only as an executable command but also with its supporting logic.
This feature is of great importance for practical acceptance, user trust, and usability in
real-world environments.
At the same time, it should be emphasized that the large language model in this
framework is not a complete replacement fo r numerical modeling or optimization, but
rather acts as a cognitive interface layer that transforms data into decision-making
knowledge. More specifically, the decision knowledge generated by the LLM is not kept
at a descriptive level; rather, it is transformed into model-ready parameters, including the
target soil moisture level (𝜇,௧) and the intervention priority weight ( 𝜆,௧), which are later
embedded in the fuzzy optimization model. In this way, the LLM output becomes a func-
tional input to the mathematical formulation instead of remaining a purely explanatory
component. This is an important distinction of the proposed framework from approaches
that use LLMs only as auxiliary or purely descriptive components.
4.3. Fuzzy Multi-Objective Optimization Layer
After generating decision knowledge and initial rules in the reasoning layer, this in-
formation is passed to the fuzzy multi-objectiv e optimization layer. This layer forms the
core of the system’s analytical decision-making, and its task is to identify the best solutions
in situations with multiple, conflicting, and uncertain objectives. In agricultural systems,
it is rare to find a decision that pursues only one ob jective. Usually, reducing water con-
sumption may a ffect crop yield, increasing mechanized operations can increase energy
consumption, and achieving maximum yield may con flict with environmental sustaina-
bility goals. Therefore, decision-making must be based on balance and compromise be-
tween multiple criteria.
The main feature of this layer is that it explicitly incorporates environmental uncer-
tainties into the decision-making model rather than ignoring them. Fuzzy logic plays a
key role here. Hard-and-fast boundaries cannot describe many agricultural variables. For
example, soil moisture is not necessarily just “sufficient” or “insufficient”; it can be at dif-
ferent degrees of low, medium, or high. Similarly, a plant’s water requirement, the sever-
ity of heat stress, or a robot’s operational ri sk is also gradual and uncertain. The use of
fuzzy sets and membership functions enables real-world field information to be repre-
sented more accurately in the decision-making model.
At the multi-objective level, this layer also does not seek to produce a single answer,
but rather a set of Pareto solutions. Each solution in this set represents a possible trade-off
AgriEngineering 2026, 8, 423 9 of 40
https://doi.org/10.3390/agriengineering8100423
between objectives. For example, one solution might minimize water use at the cost of a
slight loss in crop yield, while another migh t enhance yield at the cost of greater energy
use. The advantage of this approach is that the final decision-maker or control system can
choose the best option from among the e fficient solutions, taking into account the farm’s
current priorities.
From a structural perspective, the pre-processed data from the first layer and the
rules derived from the second layer are combined in this section. The fuzzy rules de fine
the relationships between the input variables and the possible decisions, while the multi-
objective optimization model organizes these relationships into a systematic, solvable de-
cision-making process. The final result of this layer is decisions that are both analytically
optimal and adaptable to the agricultural environment’s ambiguous, changing reality.
4.4. Robotic Execution Layer
The fourth layer is the practical implementation of optimal decisions in real-world
field environments. The real value of any intelligent framework is revealed when its out-
put can be translated into controllable and effective action. In this study, this role is played
by agricultural robots. Robots can include ground systems for targeted irrigation, selective
spraying, local monitoring, precise fertilization, or movement along speci fic paths in the
field. Also, at larger scales, this layer can be integrated with drones or mobile systems.
Decisions received from the optimization layer are converted into operational commands
in this section. These commands may include determining the irrigation amount for an
area, scheduling operations, selecting the robot’s path, prioritizing crop plots, or adjusting
the intensity and duration of intervention. Since execution operations in the real environ-
ment are subject to mechanical, time, and environmental constraints, the robotic execution
layer must account for its own technical and operational constraints while making optimal
decisions. In other words, the optimization output must be translated into a language that
robotic systems can implement.
The important point is that this layer is not only a receiver of commands but also a
generator of feedback. After the operations are executed, the robots and sensors can record
the actual results and return them to the data layer. In this way, the system can observe
the actual effects of previous decisions and apply the necessary corrections in subsequent
decision-making cycles. This closed-loop stru cture forms the basis for gradual learning
and adaptive control in the farm.
4.5. Integration Logic Between Layers
The main strength of the proposed framework lies not only in the presence of each
layer, but also in how they are connected and synergized. In many studies, these compo-
nents have been examined separately; for example, some have focused only on agricul-
tural robotics, others have used only multi-objective optimization, and a few have inves-
tigated limited applications of language models. However, the main innovation in this
study is the creation of a coherent mechanism for the interaction among these components.
In this architecture, raw data is first translated into the language of the farm situation.
The LLM converts it into the language of decision-making. This knowledge is converted
into an operational decision using fuzzy lo gic and multi-objective optimization, and the
robots ultimately execute it. The feedback from the execution also returns to the data layer,
completing this cycle. In this way, the proposed framework goes beyond a linear, static
system to become a dynamic, explainable, adaptable decision-support system suitable for
sustainable agriculture.
To make this integration logic more explicit, the closed-loop decision process can be
conceptually represented as follows:
AgriEngineering 2026, 8, 423 10 of 40
https://doi.org/10.3390/agriengineering8100423
𝐷௧ = ℱ௧ (ℱ௨௭௭௬ (ℱெ (𝑋௧, 𝐾௧)), 𝑆௧) (1)
where 𝑋௧ denotes the environmental and operational data collected at the time 𝑡 , 𝐾௧
represents textual or expert-based knowledge interpreted by the LLM, 𝑆௧ indicates the
current system state received from the digital twin and robotic feedback, and 𝐷௧ denotes
the final executable decision sent to the robotic execution layer. This relation clarifies that
the LLM, fuzzy logic, optimization model, and robotic execution layer are not independ-
ent components but are connected through a sequential, feedback-driven decision mech-
anism.
The digital twin represents the physical agricultural system considered in this study,
consisting of eight crop zones and four mobile agricultural robots. The physical system is
observed at 30 min intervals and includes the soil and crop conditions of each zone, the
operational state of the robots, and the available water and energy resources. Rather than
employing a separate crop-growth simulator, the crop component of the twin is repre-
sented by the coupled soil-moisture, crop-health, and yield relationships already incorpo-
rated into the mathematical model. Accordingly, the digital state at time 𝑡 is represented
by:
𝐒௧ = ൛𝑀,௧, 𝐻,௧, 𝐵,௧, 𝑄,௧, 𝐴,௧, 𝑊௧, 𝐸௧ൟ, 𝑖∈𝐼 , 𝑟∈𝑅 (2)
where 𝑀,௧ and 𝐻,௧ represent the soil-moisture an d crop-health states of zone 𝑖 ; 𝐵,௧ ,
𝑄,௧, and 𝐴,௧ denote the ba ttery level, tank inventory, and availability of robot r; and 𝑊௧
and 𝐸௧ represent the available water and energy resources. The evolution of these states
is governed by the dynamic relationships su bsequently formulated in the mathematical
model, including the soil-moisture balance, moisture-de ficit and crop-health dynamics,
yield–health relationship, and robot battery and tank-inventory equations. Thus, the Dig-
ital Twin and the optimization model share a common state-transition formulation, en-
suring that optimization decisions and subs equent state updates remain physically and
mathematically consistent within the calibr ated system representation. In the present
study, this common formulation is intentionally used to maintain a coherent closed-loop
decision environment rather than to introduce a separate surrogate crop model. Real farm
observations are used to define realistic operating ranges, initialize the system state, and
calibrate the relevant state-transition para meters. Consequently, the agreement between
the Digital Twin and the optimization mode l demonstrates internal computational con-
sistency within the calibrated framework; independent empirical validation of the Twin’s
ability to reproduce real farm trajectories would additionally require comparison against
longitudinal physical-farm observations not used for calibration.
At each 30-min update, synchronized sensor and operational observations are used
to refresh the corresponding state variables. The updated state is combined with the vali-
dated LLM–fuzzy parameters and passed to the multi-objective optimization model. The
selected Pareto-efficient solution determines the operational control actions, including ro-
bot assignment, irrigation, activation, charging, and tank-refilling decisions. The resulting
state transition is represented by:
𝑺௧ାଵ = ℱ(𝑺௧, 𝑼௧, 𝑫௧) (3)
where 𝑼௧ denotes the optimization-d erived control decisions and 𝑫௧ contains newly
observed environmental and resource conditions. The transition operator ℱ is imple-
mented through the state equations de fined in the mathematical model. At the next ob-
servation interval, new sensor measurements update the corresponding state components,
closing the sensor–twin–optimization–execution feedback loop and initiating the next de-
cision cycle.
AgriEngineering 2026, 8, 423 11 of 40
https://doi.org/10.3390/agriengineering8100423
To quantify the response of the digital twin to operational disturbances, four indica-
tors were calculated from the system-performance trajectory. Let 𝑃 denote the stable
performance immediately before a disturbance, 𝑃௧ the performance observed after the
disturbance, 𝑡ௗ the disturbance time, and 𝑡 the first observation at which performance
returns to and remains within ±5% of 𝑃 for three consecutive update intervals. Recovery
Time (𝑅𝑇) is defined as:
𝑅𝑇 = 𝑡 −𝑡 ௗ (4)
Performance Deviation (𝑃𝐷) measures the maximum relative departure from the pre-
disturbance reference performance:
𝑃𝐷 = 100 max
௧ஸ௧ஸ௧ೝ
ฬ𝑃௧ −𝑃
𝑃
ฬ (5)
The Stability Index (𝑆𝐼) measures the average proximity of performance to the refer-
ence state during the recovery interval:
𝑆𝐼 =1 − 1𝑁
௧ೝ
௧ୀ௧
ฬ𝑃௧ −𝑃
𝑃
ฬ (6)
where 𝑁 is the number of observations between disturbance and recovery. Finally, Ad-
aptation E fficiency (𝐴𝐸) represents the proportion of disturbance-induced performance
loss recovered by the system:
𝐴𝐸 = 100 ቈ1 − ห𝑃௧ೝ −𝑃 หห𝑃௧ −𝑃 ห (7)
Higher values of SI indicate greater stability during adaptation, whereas higher val-
ues of AE indicate a greater restoration of pre-disturbance performance. These definitions
were applied consistently to all disturbance scenarios used in the dynamic-adaptation
analysis.
5. Mathematical Model
To transform the conceptual framework into a solvable decision-making structure,
this section presents a comprehensive mathematical model to optimize the performance
of agricultural robots in a dynamic, multi-objective, and uncertain environment. The na-
ture of the problem is such that the decision maker must decide at each time interval about
the allocation of robots to different parts of the field, the amount of irrigation, the intensity
of operational intervention, energy consumption, the level of response to plant needs, and
how to maintain a balance between productivity and sustainability. Since these objectives
are in conflict in practice, the model is designed as a multi-objective model to enable Pa-
reto front analysis and the selection of e fficient solutions. An important feature of this
problem is uncertainty in key parameters, including the actual plant water requirement,
soil moisture status, plant growth response to operations, and the priority of intervention
intensity in each part. To re flect these conditions, critical parameters are conceptually
modeled as triangular fuzzy numbers and then transformed into deterministic equiva-
lents for use in the model via a confidence level (𝛼-cut). In addition, knowledge extracted
from the LLM-based reasoning layer is fed in to the model as parameters, such as inter-
vention priority, moisture target level, and perceived stress intensity. Therefore, the pre-
sent mathematical model is not a purely classical formulation, but an integrated model
that integrates data, reasoning, uncertainty, and implementation into a single decision-
making structure.
Sets
𝑖∈𝐼 : Set of agricultural zones (field segments);
𝑟∈𝑅 : Set of agricultural robots;
AgriEngineering 2026, 8, 423 12 of 40
https://doi.org/10.3390/agriengineering8100423
𝑡∈𝑇 : Set of discrete time periods.
Parameters
𝐴: Area of zone 𝑖;
𝑎,௧: Availability of the robot 𝑟 at time 𝑡;
𝛿,: Travel distance or cost from the robot 𝑟 to zone 𝑖;
𝑠: Initial soil moisture of the zone 𝑖;
𝑞: Initial crop health index of the zone 𝑖;
𝜉: Natural soil moisture depletion rate in the zone 𝑖;
𝜌: Irrigation efficiency coefficient for soil moisture improvement;
𝜔: Effect of irrigation on crop health;
𝜙: Sensitivity of crop to water stress;
𝑤‾ : Maximum irrigation capacity per zone;
𝑊‾ ௧: Total available water at time 𝑡;
𝐸‾௧: Total available energy at time 𝑡;
𝐵, 𝐵‾: Minimum and maximum battery levels of the robot 𝑟;
𝑏: Initial battery level;
𝐺‾: Maximum charging capacity per period;
𝑀‾: Tank capacity of the robot 𝑟;
𝑚: Initial tank level;
𝑃‾: Maximum refill capacity;
𝑒௫: Fixed activation energy cost;
𝜅: Energy coefficient for movement;
𝜂: Energy coefficient for irrigation;
𝑦‾: Maximum yield potential of the zone 𝑖;
𝜋: Economic value per unit yield;
𝑐௧௪, 𝑐௧: Unit costs of water and energy;
𝑐: Maintenance cost of the robot 𝑟;
𝑐: Cost of water stress;
𝑐ௗ: Penalty for service delay or omission;
𝜒௪, 𝜒: Environmental impact coefficients;
𝜒, : Soil compaction impact coefficient;
𝑑˜,௧: Fuzzy water demand (triangular);
𝑑ˆ,௧ఈ : Defuzzified demand under 𝛼-cut;
𝜇,௧: Target soil moisture level (LLM-generated);
𝜆,௧: Priority weight (LLM-based).
Several parameters in this formulation are crop- and environment-dependent rather
than universally fixed. In particular, the natural moisture-depletion rate 𝜉, irrigation-re-
sponse coefficient 𝜌, effect of irrigation on crop health 𝜔, sensitivity to water stress 𝜙,
maximum yield potential 𝑦ത , fuzzy water-demand parameters, and admissible target
soil-moisture range are calibrated for the crop and operating environment represented in
the available data. The mathematical structur e of the framework does not require these
quantities to remain unchanged across crops; application to another crop, cropping sys-
tem, or climatic region would require reca libration of the corresponding agronomic pa-
rameters, fuzzy ranges, and expert-approved limits using representative local observa-
tions.
In the computational experiments, these parameters were instantiated from the cali-
brated farm baseline, with zone- and robot-speci fic values retained where applicable ra-
ther than replaced by a single global constant.
Decision Variables
𝑥,,௧ ∈ {0,1}: Assignment of the robot 𝑟 to zone 𝑖;
𝑧,௧ ∈ {0,1}: Service status of the zone 𝑖;
AgriEngineering 2026, 8, 423 13 of 40
https://doi.org/10.3390/agriengineering8100423
𝑢,௧ ∈ {0,1}: Activation of the robot 𝑟;
𝑤,,௧ ≥ 0: Irrigation applied;
𝑊,௧: Total irrigation per zone ;
𝑠,௧: Soil moisture;
ℎ,௧: Water stress (shortage);
𝑞,௧: Crop health index;
𝑦: Yield;
𝑒,௧: Energy consumption;
𝑏,௧, 𝑔,௧: Battery level and charging;
𝑚,௧, 𝑝,௧: Tank level and refill.
Objective Functions
min 𝑍ଵ = ∑௧∈் ∑∈ூ 𝑐௧௪𝑊,௧ + ∑௧∈் ∑∈ோ ൫𝑐௧𝑒,௧ + 𝑐𝑢,௧൯ + ∑௧∈் ∑∈ூ 𝑐ℎ,௧ + ∑௧∈் ∑∈ூ 𝜆,௧𝑐ௗ൫1 −𝑧 ,௧൯ (8)
max 𝑍ଶ = ∑∈ூ 𝜋𝑦 + ∑∈ூ ∑௧∈் 𝜆,௧𝑞,௧ (9)
min 𝑍ଷ = ∑∈ூ ∑௧∈் ൣ𝜆,௧ℎ,௧ + 𝜆,௧൫1 −𝑧 ,௧൯൧ (10)
min 𝑍ସ = 𝜒௪∑௧∈் ∑∈ூ 𝑊,௧ + 𝜒∑௧∈் ∑∈ோ 𝑒,௧ + ∑௧∈் ∑∈ூ ∑∈ோ 𝜒, 𝑥,,௧ (11)
Aggregated Fuzzy Form for Final Decision-Making
Because the four objectives have different scales and desirable directions, their values
are first transformed into dimensionless satisfaction levels. The objectives 𝑍ଵ (opera-
tional cost), 𝑍ଷ (crop stress), and 𝑍ସ (sustainability-related impact) are minimized,
whereas 𝑍ଶ (system performance) is maximized. The satisfaction functions and the final
max–min compromise formulation are defined as:
𝜇൫𝑍൯ = 𝑍nad −𝑍 𝑍nad −𝑍 ideal , 𝑔∈ {1,3,4},
𝜇ଶ(𝑍ଶ) = 𝑍ଶ −𝑍 ଶnad 𝑍ଶideal −𝑍 ଶnad ,
maxΛ,
s.t. 𝜇൫𝑍൯≥Λ , 𝑔∈ {1,2,3,4},
0 ≤𝜇 ൫𝑍൯≤ 1, 𝑔∈ {1,2,3,4}.⎭
⎪⎪⎪
⎬
⎪⎪⎪
⎫
(12)
where 𝑍ௗ and 𝑍ௗ denote the ideal and nadir reference values of objective g, respec-
tively. The ideal values are obtained by optimizing each objective individually under the
complete model constraints, while the nadir values are derived from the corresponding
payoff matrix. A satisfaction value of 1 represen ts full satisfaction, whereas 0 represents
the least desirable admissible level. Thus, maximizing 𝛬 identi fies the compromise solu-
tion that maximizes the minimum satisfaction across the four conflicting objectives.
S.t:
𝑧,௧ =
∈ோ
𝑥,,௧ ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (13)
∈ூ
𝑥,,௧ ≤𝑢 ,௧ ∀𝑟 ∈ 𝑅 , 𝑡∈𝑇 (14)
𝑢,௧ ≤𝑎 ,௧ ∀𝑟 ∈ 𝑅 , 𝑡∈𝑇 (15)
𝑤,,௧ ≤𝑤‾ 𝑥,,௧ ∀𝑖 ∈ 𝐼 , 𝑟∈𝑅 , 𝑡∈𝑇 (16)
AgriEngineering 2026, 8, 423 14 of 40
https://doi.org/10.3390/agriengineering8100423
𝑊,௧ =
∈ோ
𝑤,,௧ ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (17)
∈ூ
𝑊,௧ ≤𝑊‾ ௧ ∀𝑡 ∈ 𝑇 (18)
𝑠,ଵ = 𝑠 −𝜉 + 𝜌𝑊,ଵ (19)
𝑠,௧ = 𝑠,௧ିଵ −𝜉 + 𝜌𝑊,௧ ∀𝑖 ∈ 𝐼 , 𝑡 = 2 ,…,| 𝑇| (20)
0 ≤𝑠 ,௧ ≤ 1 ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (21)
𝑠,௧ + ℎ,௧ ≥𝜇 ,௧ ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (22)
ℎ,௧ ≥ 0 ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (23)
𝑞,ଵ = 𝑞 + 𝜔𝑊,ଵ −𝜙 ℎ,ଵ ∀𝑖 ∈ 𝐼 (24)
𝑞,௧ = 𝑞,௧ିଵ + 𝜔𝑊,௧ −𝜙 ℎ,௧ ∀𝑖 ∈ 𝐼 , 𝑡 = 2 ,…,| 𝑇| (25)
0 ≤𝑞 ,௧ ≤ 1 ∀𝑖 ∈ 𝐼 , 𝑡∈𝑇 (26)
𝑦 ≤𝑦‾ ∀𝑖 ∈ 𝐼 (27)
𝑦 ≤𝑦‾ ൭ 1|𝑇|
௧∈்
𝑞,௧൱ ∀𝑖 ∈ 𝐼 (28)
𝑒,௧ = 𝑒௫𝑢,௧ + 𝜅
∈ூ
𝛿,𝑥,,௧ + 𝜂
∈ூ
𝑤,,௧ ∀𝑟 ∈ 𝑅 , 𝑡∈𝑇 (29)
∈ோ
𝑒,௧ ≤𝐸‾௧ ∀𝑡 ∈ 𝑇 (30)
𝑏,ଵ = 𝑏 −𝑒 ,ଵ + 𝑔,ଵ ∀𝑟 ∈ 𝑅 (31)
𝑏,௧ = 𝑏,௧ିଵ −𝑒 ,௧ + 𝑔,௧ ∀𝑟 ∈ 𝑅 , 𝑡 = 2 ,…,| 𝑇| (32)
𝐵 ≤𝑏 ,௧ ≤𝐵‾ ∀𝑟 ∈ 𝑅 , 𝑡∈𝑇 (33)
0 ≤𝑔 ,௧ ≤𝐺‾൫1 −𝑢 ,௧൯ ∀𝑟 ∈ 𝑅 , 𝑡∈𝑇 (34)
𝑚,ଵ = 𝑚 −
∈ூ
𝑤,,ଵ + 𝑝,ଵ ∀𝑟 ∈ 𝑅 (35)
𝑚,௧ = 𝑚,௧ିଵ −
∈ூ
𝑤,,௧ + 𝑝,௧ ∀𝑟 ∈ 𝑅 , 𝑡 = 2 ,…,| 𝑇| (36)
0 ≤𝑚 ,௧ ≤𝑀‾,0 ≤𝑝 ,௧ ≤𝑃‾൫1 −𝑢 ,௧൯, 𝑥,,௧, 𝑧,௧, 𝑢,௧ ∈ {0,1}
∀𝑖 ∈ 𝐼 , 𝑟∈𝑅 , 𝑡∈𝑇 (37)
Objective function (8) represents the minimization of the operational load and cost of
the entire system. This function is designed so that decision-making is not based on a sin-
gle limiting factor, such as water consumption, but rather accounts for a set of key system
costs simultaneously. Here, the costs of wa ter consumption, energy required for robot
AgriEngineering 2026, 8, 423 15 of 40
https://doi.org/10.3390/agriengineering8100423
operation, maintenance, and activation, crop stress, and the penalty for non-service or de-
layed intervention are considered. As a result, the objective function (8) tries to guide the
system in a direction that, on the one hand, controls resource consumption and, on the
other hand, prevents costly and ine fficient decisions. Objective function (9) is related to
maximizing the system’s economic-functional e fficiency. This function not only focuses
on increasing the final product but also links the econom ic value of production to crop
quality over the planning horizon. In other words, in this section, not only the farm’s final
output but also the sustainability of plant health and the quality of operations are im-
portant. This feature plays a more prominent role, especially in parts that have higher
priority in the reasoning system or LLM. Ther efore, the objective function (9) represents
an approach that combines economic productivity with biological e fficiency and func-
tional sustainability. The objective function (10) represents the minimization of crop stress,
service shortages, and decision inconsistency in the entire system. This function aims to
ensure that the more sensitive and important pa rts of the farm are less exposed to stress
from water shortages or service disruptions. In fact, this function plays an important role
in ensuring the system’s operational sustainability by preventing a decline in farm perfor-
mance due to unbalanced resource distribution. From this perspective, the objective func-
tion (10) is not only a control criterion but also a tool for enhancing the intelligent alloca-
tion of resources in a dynamic agricultural environment. Objective function (11) is dedi-
cated to minimizing the environmental footprint and physical pressure of the system. In
this function, sustainability is directly integrated into the model, extending decision-mak-
ing beyond the purely economic level. In addition to considering water and energy con-
sumption, this section examines the effects of robots’ movement and presence on soil and
the environment. Therefore, th e objective function (11) re flects the view that high e ffi-
ciency is only valuable when it is accompanied by environmental protection and reduc-
tion in undesirable side effects.
In this study, sustainability is evaluate d as a model-based operational resource and
environmental-impact measure rather than as a comprehensive sustainability or life-cycle
assessment indicator. Specifically, objective 𝑍ସ represents the combined modeled burden
associated with water consumption, robot energy use, and soil-compaction-related effects,
according to the corresponding coe fficients defined in objective function (11). Lower 𝑍ସ
values therefore indicate lower modeled re source and environmental pressure under
comparable operating conditions. This measure does not represent direct field measure-
ments of greenhouse-gas emissions, biodiversity, long-term soil health, or full life-cycle
environmental performance.
Constraint (13) shows the relationship between servicing each part and the assign-
ment of robots. This constraint specifies that the servicing status of each part depends on
whether a robot is assigned to it in that time period. In fact, this constraint establishes a
logical link between the allocation planning level and the service execution level. Con-
straint (14) states that each robot can service at most one part in each time period. This
constraint is necessary from technical and operational perspectives because it prevents a
robot from being scheduled for multiple ta sks at multiple locations simultaneously.
Therefore, this constraint reflects the actual service capacity of each robot. Constraint (15)
indicates that each robot’s activation is allowed only if it is available during the same time
period. In this way, the system prevents the assignment or use of robots that are not in
standby mode and ensures that decisions are consistent with the equipment’s actual con-
ditions. Constraint (16) speci fies that the irrigation amount by a robot is only allowed if
that robot is actually assigned to that plot. The purpose of this constraint is to prevent
unrealistic water allocation and to establish coherence between the allocation decision and
the amount of execution. Constraint (17) defines the total irrigation of each plot as the sum
of the irrigation performed by all robots assi gned to that plot. This constraint plays an
AgriEngineering 2026, 8, 423 16 of 40
https://doi.org/10.3390/agriengineering8100423
aggregate role and turns the dispersion of the operational variables into a macro-indicator
that can be used in other model relationships. Constraint (18) expresses the total farm
water constraint in each time period. Accordingly, the total water allocated to all plots
should not exceed the amount of water availabl e in that period. This constraint is one of
the most fundamental resource constraints in the model and directly introduces the reality
of water shortage or limitation into the decision-making process. Constraint (19) expresses
the soil moisture dynamic equation in the first period. This constraint calculates soil mois-
ture by accounting for the initial value, the natural moisture reduction, and the e ffect of
irrigation over the same period. Therefore, this constraint defines the starting point of the
soil condition’s temporal evolution. Constraint (20) expresses the soil moisture dynamic
equation in subsequent periods. Here, the soil moisture in each period is a ffected by the
previous period’s conditions, natural reduction, and the new irrigation rate. This structure
allows the model to realistically track the temporal and cumulative behavior of moisture.
Constraint (21) speci fies the physical boundary of soil moisture. According to this
constraint, the moisture content cannot exceed its logical and physical limits. This con-
straint prevents the model from generating unrealistic and invalid responses. Constraint
(22) defines the moisture deficiency relative to the target level proposed by the intelligent
system. In other words, if the actual soil mois ture is lower than the expected level, this
difference is recorded as stress or deficiency. This constraint plays a pivotal role in trans-
forming the environmental condition into a decision indicator. Constraint (23) ensures
that water stress is non-negative. This constraint states that stress cannot be negative, since
moisture deficiency is either zero or positive. Cons traint (24) represents the plant health
equation in the first period. In this regard, the plant health index is determined according
to the initial condition, the positive e ffect of irrigation, and the negative e ffect of water
stress. This constraint provides a basis for tracking the plant’s biological status during the
planning period. Constraint (25) expresses the plant health equation in subsequent peri-
ods. This constraint indicates that the plant health status in each period depends on its
previous status and is simultaneously a ffected by irrigation and stress. As a result, the
process of plant changes over time is dynamically entered into the model. Constraint (26)
determines the bounds of the plant health index. This constraint ensures that the value of
the health index remains within a reasonable and interpretable range, avoiding unrealistic
values. Constraint (27) indicates the upper bound of the actual crop yield. This constraint
specifies that the final harvest or yield of each plot cannot exceed its potential capacity.
Thus, the model remains within the system’s actual capacity range. Constraint (28) estab-
lishes the relationship between the actual crop yield and the average plant health status.
This constraint implies that the final yield depends not only on potential capacity but also
on the plant’s health status over time. Therefore, performance is de fined as a function of
the biological quality of the production process. Constraint (29) defines the robot’s energy
consumption in each period. In this constraint, the robot’s energy consumption is a func-
tion of its activity, movement, and the volume of irrigation operations. This constraint
ensures that the energy estimate is consistent with the robot’s operational reality.
Constraint (30) expresses the total energy co n straint of the syste m in each pe riod.
According to this constraint, the total energy consumption of all robots must not exceed
the available energy ceiling. This constraint, like the water constraint, is one of the sys-
tem’s main resource constraints. Constraint (31) expresses the robot’s battery equation in
the first period. Based on this relationship, each robot’s initial ba ttery level is updated
according to the energy consumed and the charging performed during the same period.
This constraint is the basis for modeling ba ttery dynamics. Constraint (32) expresses the
robot’s battery equation in subsequent periods. This constraint states that the battery level
of each robot in each period is a function of its previous-period level, the new energy
consumed, and the amount of charge received. In this way, the robot’s energy state is
AgriEngineering 2026, 8, 423 17 of 40
https://doi.org/10.3390/agriengineering8100423
tracked continuously. Constraint (33) determines the bound on the robot’s ba ttery level.
This constraint ensures that the battery neither falls below the safe minimum nor exceeds
its maximum capacity. This constraint is necessary to maintain operational feasibility and
prevent the robot from crashing or stopping unexpectedly. Constraint (34) states that bat-
tery charging is allowed only when the robot is inactive. This constraint is important from
both a logical and an implementation perspective because it assumes that the robot cannot
perform a mission while charging. As a result, energy and mission planning are per-
formed consistently. Constraint (35) represents the equation for the robot’s tank inventory
in the first period. According to this constraint, the initial tank level is adjusted based on
the irrigation and refill amounts in the same period. This relationship initiates the model-
ing of the robot tank dynamics. Constraint (3 6) expresses the robot tank inventory equa-
tion for the subsequent periods. According to this constraint, the tank inventory of each
robot in each period depends on the previo us inventory amount, the volume consumed
for irrigation, and the re fill amount. This constraint allows precise control of the robot’s
operational capacity with respect to li quid resources. Constraint (37) speci fies the tank
capacity, refill limit, and the type of variables. On the one hand, this constraint ensures
that the tank inventory and re fill amount do not exceed the permissible limits. On the
other hand, it establishes the binary nature of the allocation, service, and activation varia-
bles. Also, this constraint implicitly unifies the mathematical framework of the decisions
in terms of variable types and forms the final basis for the model’s feasibility.
6. LLM–Fuzzy Integration Mechanism
In the proposed framework, the Large Language Model (LLM) is used as a controlled
semantic inference layer to transform heteroge neous farm data into structured decision
knowledge and does not directly determine any of the model’s execution decisions, such
as irrigation volume, robot allocation, or resource consumption. The LLM implementation
was done with GPT-4.1 (gpt-4.1-2025-04-14) from OpenAI and via the API. For all experi-
ments, temperature = 0, top-p = 1.0, and a maximum output length of 800 tokens were
kept constant, and each state was processed as an independent request without transfer-
ring the conversation history. The model ou tput was also constrained to a structured
JSON format. Table 1 summarizes the fixed LLM configuration used throughout the ex-
periments, including the model and access method, generation parameters, output format,
and context-handling setting. These settings were kept unchanged across all experimental
cases to control generation conditions and minimize avoidable sampling variability. Be-
cause fixed decoding parameters alone do not establish repeated-call reproducibility, out-
put consistency under identical inputs was additionally evaluated through a dedicated
repeatability experiment described below.
Table 1. LLM Configuration Used in the Experiments.
Setting Value
Provider OpenAI
Model GPT-4.1 (gpt-4.1-2025-04-14)
Access API
Access date 26 June
Temperature 0
Top-p 1
Maximum output tokens 800
Output format Structured JSON
Conversation history Disabled
AgriEngineering 2026, 8, 423 18 of 40
https://doi.org/10.3390/agriengineering8100423
For each area 𝑖 and period 𝑡, the model input included numerical sensor data, tex-
tual information on the farm status, and relevant historical information:
𝐈,௧ =( 𝐗,௧, 𝐓,௧, 𝐇,௧ ) (38)
where 𝐗,௧ includes data such as soil moisture, temperature, solar radiation, water con-
sumption, and robot status; 𝐓,௧ represents a textual description of the current status, and
𝐇,௧ represents relevant historical and operational information. For all cases, the following
fixed prompt was used:
Prompt: “Evaluate the supplied agricultural-zone state using only the provided sensor meas-
urements, operational information, historical data, and field description. Determine the target soil-
moisture condition and intervention priority (Low, Medium, or High), and generate one concise
decision rule supported by the supplied evidence. Do not assume unreported conditions and do not
generate irrigation quantities, robot assignments, or other operational decisions. If the information
is insufficient, contradictory, or inconsistent with the supplied agronomic limits, return REVIEW.
Return only the predefined structured output.”
The structured output of LLM is defined as follows:
𝐊,௧ெ = 𝐹ெ (𝐼,௧)=( 𝜇̂ ,௧ , 𝑐̂,௧, 𝑅,௧) (39)
where 𝜇̂,௧ denotes the proposed target soil-moisture level, 𝑐̂,௧ denotes the intervention-
priority category, and 𝑅,௧ denotes the concise decision rule extracted from the supplied
sensor, operational, historical, and contextual information.
The REVIEW response specified in the prompt is treated as a control status for insuf-
ficient, contradictory, or agronomically inconsistent input and is therefore not included as
a separate component of 𝐊,௧ெ; such cases are handled by the Validation and Safety Gate
described below.
For example, for input including soil moisture of 21.8%, temperature of 31.6 °C, irra-
diance of 710 W/m2, and an initial plant stress report, the model produced a target mois-
ture level of 31%, a High priority, and a rule to increase intervention priority under mois-
ture deficit conditions with heat stress. In an example with 30.7% moisture, temperature
of 25.4 °C, and no signs of water stress, a Low priority was obtained, and there was no
need to increase intervention priority. These examples show that the LLM output is lim-
ited to decision knowledge and that the op timization model still determines the opera-
tional variables.
The LLM output passed a Validation and Safety Gate stage before entering the fuzzy
system. This stage checks three conditions: th e completeness and validity of the output
structure, the fact that the generated values are within the permissible physical and agro-
nomic limits 𝛺, and the absence of con flict between the generated rule and the rule base
approved by experts ℛா. The acceptance status is defined as follows.
𝑉,௧ = 𝑉ௌ൫𝐊,௧ெ൯𝑉൫𝐊,௧ெ, Ω൯𝑉 ൫𝐊,௧ெ, ℛா ൯, 𝑉,௧ ∈ {0,1} (40)
The output is accepted only if it successfu lly passes all three checks. Output that is
incomplete, out of scope, inconsistent, or has a REVIEW status is not entered into the fuzzy
system and is replaced by the corresponding decision from the expert-approved rule base:
𝐊,௧∗ = ቊ𝐊,௧ெ, 𝑉,௧ =1𝐊,௧ா , 𝑉,௧ =0 (41)
In order to independently assess the reliability of this mechanism, 120 zone–time
cases were selected from the cleaned study dataset using strati fied random sampling. To
ensure spatial and temporal coverage, the 12-week monitoring period was divided into
three consecutive four-week stages, and five non-adjacent observations were randomly
selected from each of the eight agricultural zones within each stage, resulting in 8 × 3 × 5
= 120 cases. This sampling design ensured representation of all zones and growing-period
AgriEngineering 2026, 8, 423 19 of 40
https://doi.org/10.3390/agriengineering8100423
stages while reducing temporal redundancy among the selected observations. Each case
represented the condition of a speci fic agricultural zone at a speci fic time period and in-
cluded sensor measurements, robot operational status, historical information, and the cor-
responding contextual description. Two precision-agriculture experts, without observing
the LLM outputs, independently evaluated each case and determined the intervention
priority and target soil-moisture level. Ca ses of disagreement between the experts were
resolved through consensus to obtain the reference decision. The same 120 cases were then
processed by the LLM using the fixed configuration reported in Table 1. Agreement be-
tween the LLM-generated intervention priority and the expert reference was evaluated
using accuracy and Cohen’s 𝜅, while the difference between the LLM-generated and ex-
pert-defined target soil-moisture levels was evaluated using MAE. The proportion of out-
puts rejected by the Validation and Safety Gate and the corresponding rejection reasons
were also recorded.
Because the validated LLM outputs subsequently in fluence the fuzzy-derived inter-
vention-priority weight 𝜆,௧ and target soil-moisture parameter 𝜇,௧ , repeated-call con-
sistency was additionally evaluated using the same 120 cases. Each case was submitted to
the LLM ten times as an independent API request, resulting in 1200 repeated evaluations.
For every repetition, the input data, prompt, GPT-4.1 model snapshot, temperature, top-
p, maximum output length, structured JSON speci fication, and conversation-history set-
ting were kept identical. No output or co nversational context was transferred between
repetitions. Repeatability was evaluated at four levels of the decision chain: intervention-
priority category, proposed target soil-moisture level, Validation and Safety Gate decision,
and the final fuzzy-derived 𝜆,௧ and 𝜇,௧ values. Categorical repeatability was measured
relative to the case-speci fic modal priority output, whereas numerical repeatability was
evaluated using the within-case standard deviation across the ten repetitions. This analy-
sis therefore assesses whether residual LLM variability under identical input conditions
propagates into the numerical parameters ultimately supplied to the optimization model.
𝐴 = 1𝑁
ே
ୀଵ
𝕀(𝑐ˆ = 𝑐ா), 𝑀𝐴𝐸ఓ = 1𝑁
ே
ୀଵ
|𝜇ˆ −𝜇 ா| (42)
The quantitative results of the expert-r eferenced validation and repeated-call con-
sistency analysis are reported in the Result s section. Together, these evaluations distin-
guish three complementary properties of the semantic reasoning layer: agreement with
agronomic expert judgment, compliance with the Validation and Safety Gate, and repeat-
ability under identical input conditions. The la tter is particularly important because any
residual variation in the LLM output may propagate through fuzzy inference to 𝜆,௧ and
𝜇,௧. After these checks, only valid decision knowledge 𝐾,௧∗ is transferred to the fuzzy sys-
tem.
For the validated decision knowledge 𝐊,௧∗ , Low, Medium, and High linguistic sets
were de fined for the intervention priority and target soil-moisture level. To make the
fuzzy conversion reproducible, triangular membership functions were used consistently
for all linguistic sets. For a triangular fuzzy set 𝐴 =( 𝑎, 𝑏, 𝑐), the membership degree of a
value v was calculated as:
𝜇(𝑣)=
⎩
⎪
⎨
⎪
⎧0, 𝑣≤𝑎𝑣−𝑎
𝑏−𝑎 , 𝑎 < 𝑣≤𝑏
𝑐−𝑣
𝑐−𝑏 , 𝑏 < 𝑣 < 𝑐
0, 𝑣≥𝑐
(43)
The intervention-priority domain was normalized to [0, 1], with Low = (0.00, 0.20,
0.40), Medium = (0.30, 0.50, 0.70), and High = (0.60, 0.80, 1.00). For target soil moisture, the
calibrated domain of 20–40% was used, with Low = (20, 24, 28), Medium = (25, 30, 35), and
AgriEngineering 2026, 8, 423 20 of 40
https://doi.org/10.3390/agriengineering8100423
High = (32, 36, 40). These me mbership parameters were fixed before the computational
experiments and remained unchanged across all scenarios.
The fuzzy inference process was implem ented using the Mamdani approach. The
complete rule base, shown in Table 2, maps the validated LLM-derived intervention pri-
ority and target-moisture condition to the corresponding fuzzy outputs. The rule base was
fixed before the experiments and was not modified across scenarios or optimization algo-
rithms.
Table 2. Complete Fuzzy Rule Base for LLM–Fuzzy Conversion.
Rule Intervention Priority Target-Moisture Condition Output Priority Output Target Moisture
R1 Low Low Low Low
R2 Low Medium Low Medium
R3 Low High Medium High
R4 Medium Low Medium Low
R5 Medium Medium Medium Medium
R6 Medium High High High
R7 High Low High Low
R8 High Medium High Medium
R9 High High High High
For each rule 𝑅, the conjunction of antecedents was evaluated using the minimum
operator, and the outputs of simultaneously activated rules were combined using maxi-
mum aggregation. Accordingly, the firing strength of rule m was calculated as:
𝛼 =m i n൛𝜇భ (𝑣ଵ), 𝜇మ (𝑣ଶ)ൟ (44)
and the Mamdani minimum operator was used for implication. The aggregated output
membership function was therefore obtained by maximum aggregation across the acti-
vated rules.
After rule evaluation and aggregation, the center-of-gravity method was used for de-
fuzzification. The final intervention-priority weight and target soil-moisture level were
calculated as:
𝜆,௧ =
ଵ
𝜆𝜇ఒ(𝜆)𝑑𝜆
ଵ
𝜇ఒ(𝜆)𝑑𝜆 , 𝜇,௧ =
ସ
ଶ 𝑚𝜇ఓ(𝑚)𝑑𝑚
ସ
ଶ 𝜇ఓ(𝑚)𝑑𝑚 (45)
Here, 𝜆,௧ is the final intervention-priority weight and 𝜇,௧ is the target soil-moisture
level supplied to the mathematical model. Thus, the conversion from validated LLM
knowledge to numerical optimization parameters is fully specified by the fixed triangular
membership functions, the complete rule ba se in Table 2, the min–max Mamdani infer-
ence operators, and centroid defuzzification. The resulting 𝜆,௧ is used in the model com-
ponents related to service priority, plant stress, and non-service, while 𝜇,௧ is used in
moisture-deficit control.
As shown in Figure 3, sensor, operational, textual, and historical data are first trans-
ferred to the LLM in a standard format, and its structured output passes through the Val-
idation and Safety Gate before entering the fuzzy system. Valid outputs enter the fuzzifi-
cation, fuzzy inference, and defuzzi fication stages, while rejected outputs are excluded
from the decision pipeline and replaced by the corresponding expert-approved rule-base
outputs. The resulting valid parameters are th en transferred to the multi-objective opti-
mization model, and the resulting decisions are evaluated in the operational environment
and the digital twin. The updated state of the system is passed to the next cycle through a
feedback loop; therefore, feedback causes an update of the input state and does not mean
automatic acceptance or uncontrolled learning from previous LLM outputs.
AgriEngineering 2026, 8, 423 21 of 40
https://doi.org/10.3390/agriengineering8100423
Figure 3. Validated LLM–Fuzzy Integration Framework for Intelligent Agricultural Decision-Mak-
ing.
7. Solution Methodology
An integrated computational framework is developed to solve the proposed model,
in which the interactions among the LLM, fuzzy system, and multi-objective optimization
algorithms are structured. This framework is designed to simultaneously handle environ-
mental uncertainties, linguistic data, and the problem’s multi-objective nature, and to pro-
duce a set of Pareto-efficient responses.
In the first step, raw data are received from various sources, including field sensors,
operator textual inputs, and environmental data. After pre-processing, these data are sent
to the LLM for semantic analysis. The output of this step includes the target soil-moisture
condition, intervention-priority category, an d a concise decision rule derived from the
supplied sensor, operational, historical, and contextual information.
Next, this information is entered into the fuzzy system, and the fuzzification process
is performed. In this step, linguistic variables are mapped to membership functions, and
fuzzy inference is then performed using the rule base. The output of this process is con-
verted to numerical values after defuzzi fication and then entered into the optimization
model as dynamic parameters.
After preparing the parameters, the multi-objective optimization process is per-
formed using three metaheuristic algorithms: NSGA-II, MOPSO, and the Gray Wolf algo-
rithm. These algorithms are run independently, and their results are compared based on
Pareto front quality, response diversity, and convergence. The three algorithms were in-
tentionally selected to represent compleme ntary search mechanisms: dominance-based
evolutionary search in NSGA-II, swarm-based search with an external non-dominated re-
pository in MOPSO, and leader-guided population search in multi-objective GWO. Ac-
cordingly, the comparison is intended to ch aracterize the behavior of representative
search paradigms within the proposed framew ork rather than to provide an exhaustive
benchmark or universal ranking of multi-objective optimization algorithms. Finally, a set
of non-dominated responses is extracted and used for final decision making [40].
As one of the most powerful population-based multi-objective optimization methods,
the NSGA-II algorithm is used to generate high -quality Pareto fronts. In this algorithm,
AgriEngineering 2026, 8, 423 22 of 40
https://doi.org/10.3390/agriengineering8100423
the initial population is randomly generated and then sorted according to Pareto domi-
nance. Individuals are grouped at different levels of the Pareto fronts, and the swarming
distance criterion is used to maintain diversity among the responses [41].
Genetic operators, including selection, crossover, and mutation, are applied itera-
tively to create new generations. In each iteration, the combined parent and offspring pop-
ulations are evaluated, and the best individuals are selected based on Pareto rank and
swarming distance. This process continues until a stopping criterion is reached. NSGA-II
is considered a primary reference for comparing the performance of other algorithms due
to its ability to balance convergence and diversity [42].
The MOPSO algorithm is an extended version of PSO for multi-objective problems,
in which each particle represents a potential solution. In this method, the movement of
particles in the search space is guided by bo th individual and collective experience. To
address the problem’s multi-objective nature, an external repository is maintained to store
non-dominated responses [43].
At each iteration, the particles’ positions and velocities are updated, then evaluated
against the Pareto criteria. The leader is selected from among the non-dominated re-
sponses in a controlled random manner to maintain diversity. Also, mechanisms such as
mutation or throttling are considered to prevent premature convergence. Due to its high
convergence speed, MOPSO plays an important role in quickly extracting suitable re-
sponses in this research.
The gray wolf algorithm is modeled based on the social behavior and hierarchy of
wolves. In this method, the population is divided into four groups, including alpha, beta,
delta, and omega, and the positions of the other members are updated based on the three
main leaders.
To adapt to the multi-objective nature of the problem, an extended version of GWO
is used in which a set of non-dominated solutions is maintained, and leaders are selected
from this set. This algorithm serves as a suitable complement to NSGA-II and MOPSO, as
it can explore the search space and avoid getting stuck in local optima.
To independently validate the mathematical formulation and establish a determinis-
tic benchmark for the metaheuristic algorithms, a reduced instance of the problem was
implemented in GAMS. The validation instance comprised 4 agricultural zones, 2 robots,
and 12 decision periods, while retaining all four objectives and the principal structural
constraints of the full model, including robot assignment and activation, irrigation alloca-
tion, soil-moisture and crop-h ealth dynamics, water and en ergy limitations, and robot
battery and tank-inventory dynamics. The parameter values were obtained from the same
calibrated baseline ranges used for the main experiments; only the numbers of zones, ro-
bots, and periods were reduced to permit de terministic optimization. The resulting in-
stance contained approximately 600 decision variables, including 240 binary variables,
and 750 constraints.
Because the four objectives are con flicting, the GAMS solution was not obtained by
independently optimizing a single objective and was not treated as a unique optimum of
the original multi-objective problem. Each objective was first optimized individually to
construct the payoff matrix and determine its ideal and nadir reference values. The satis-
faction-based max–min formulation defined in Equation (12) was then solved to maximize
the minimum satisfaction across the four objectives. The resulting solution was therefore
used as the exact compromise reference solution rather than as an undefined “exact multi-
objective optimum.” The reduced model was solved using GAMS 48.4 with CPLEX 22.1.1,
with the relative optimality-gap tolerance set to 0.01%. The solver terminated with the
prescribed gap satis fied, and the resulting compromise so lution was retained as the de-
terministic reference for validation.
AgriEngineering 2026, 8, 423 23 of 40
https://doi.org/10.3390/agriengineering8100423
For a consistent comparison, the identical reduced instance, parameter values, objec-
tive definitions, and constraints were subsequent ly solved using NSGA-II, MOPSO, and
GWO. Each algorithm was executed using the parameter settings reported in Table 3 and
repeated 30 times. For the deterministic-reference comparison, the final non-dominated
solutions generated across the 30 independent runs of each algorithm were evaluated us-
ing the same four satisfaction functions, and the solution a ttaining the highest minimum
satisfaction was retained as the criterion-selected compromise solution for that algorithm.
Consequently, the reported objective values correspond to the single deterministic GAMS
compromise solution and one consistently se lected compromise solution for each me-
taheuristic; they are not averages across the 30 runs and do not represent separately opti-
mized best values for the individual objectives. The reported errors were calculated as the
absolute relative deviations of these objective values from the corresponding GAMS ref-
erence values.
The algorithms are implemented in Python 3.11. NumPy, Pandas, and SciPy libraries
were used for model development and data processing, and custom optimization algo-
rithms were implemented. The number of iterations for each algorithm was set to 200, and
the population size was set to 100. Each al gorithm was independently repeated 30 times
to assess the stability of the results.
Table 3. Parameter Settings of the Multi-Objective Optimization Algorithms.
Parameter NSGA-II MOPSO GWO
Population Size 100 100 100
Max Iterations 200 200 200
Crossover Rate 0.8 — —
Mutation Rate 0.1 — —
Inertia Weight — 0.5–0.9 —
Cognitive Coefficient — 1.5 —
Social Coefficient — 1.5 —
Archive Size — 100 100
Control Parameter (a) — — decreasing 2 → 0
The high crossover rate is considered to generate diversity in new generations, while
the mutation rate is adjusted to prevent pr emature convergence. In MOPSO, the inertia
weight is chosen in a decreasing manner to be broader in the early stages of the search
and more precise in the later stages. In the GWO algorithm, the control parameter is also
reduced linearly, thereby shifting the search process from exploratory to exploitative.
These settings have shown good performance in various experimental studies.
Algorithm performance was quantified using Hypervolume (HV), Spread, Spacing,
and the number of non-dominated solutions. HV measures convergence and coverage of
the Pareto front, with larger values indicating better performance. For its calculation, the
four objectives were transformed to a common normalized minimization space on [0, 1];
the direction of the maximization objective 𝑍ଶ was reversed, and the fixed reference point
(1.1, 1.1, 1.1, 1.1) was applied consistently. Spread and Spacing characterize the distribu-
tion and uniformity of non-dominated solutions, respectively, with lower values indicat-
ing better distribution quality. The number of non-dominated soluti ons corresponds to
the size of the final Pareto set in each run.
The normalized performance score was used as a supplementary aggregate measure.
HV, Spread, and Spacing were normalized using common bounds obtained from the
pooled run-level results; Spread and Spacin g were reverse-normalized because smaller
values are preferable. The score was calculated as the equally weighted mean of the three
AgriEngineering 2026, 8, 423 24 of 40
https://doi.org/10.3390/agriengineering8100423
normalized components and therefore ranges fr om 0 to 1, with higher values indicating
better overall Pareto-front quality.
Run-level results were summarized as mean ± standard deviation, and 95% con fi-
dence intervals were calculated for the pr incipal performance metrics using Student ʹs t-
distribution. Overall di fferences among the three algorithms were evaluated using the
Friedman test at α = 0.05, followed, when signi ficant, by pairwise Wilcoxon signed-rank
tests with Holm correction. Holm-adjusted p < 0.05 was considered statistically significant.
An ablation experiment was additionally conducted to isolate the contributions of
the LLM and fuzzy components. Five configurations were evaluated: (i) Numerical Opti-
mization Only, in which the calibrated numerical parameters were supplied directly to
the optimization model without LLM or fuzzy processing; (ii) Expert-Defined Fuzzy Rules,
in which intervention priority and target mo isture conditions were determined from the
expert-approved rule base an d processed through the fuzz y system without LLM infer-
ence; (iii) LLM Only, in which validated LLM outputs were mapped directly to the corre-
sponding optimization parameters without fu zzy inference; (iv) Fuzzy Only, in which
sensor-derived conditions were mapped to the predefined linguistic inputs and processed
through the fuzzy inference system without LLM-generated knowledge; and (v) Com-
plete LLM–Fuzzy Framework, in which validated LLM outputs were processed through
the complete fuzzy inference mechanism before entering the optimization model. All five
configurations were evaluated using the same da taset, operational scenarios, objective
functions, constraints, algorithm se ttings, population size, stopping criterion, and 30 in-
dependent runs. Thus, the intelligent-layer configuration was the only experimental factor
varied across the ablation cases.
The workflow presented in Figure 4 shows that the process starts with data acquisi-
tion and, after the LLM generates rules, enters the fuzzification stage. Then the optimiza-
tion algorithms are executed, generating a set of Pareto responses. Finally, the best re-
sponse or set of responses is sent to the robotic system for execution.
Figure 4. Integrated Optimization Workflow.
8. Results and Discussion
8.1. Results
The research analyses were based on a calibrated composite dataset consisting of real
operational observations and simulated scenarios in a digital twin environment. Real data
were collected from a semi-smart tomato farm with an investigated cultivated area of ap-
proximately 0.8 ha, divided into eight agricultural zones of about 0.1 ha each. The domi-
nant soil texture was sandy loam. The sensin g system included capacitive soil-moisture
probes, digital ambient-temperature sensors, solar-radiation sensors, and inline water-
flow meters, while four ba ttery-powered ground mobile robots were used for irrigation
and routine field-service operations. Data were recorded over a 12-week growing season
at 30-min sampling intervals, yielding 4032 timestamped observations per zone and
AgriEngineering 2026, 8, 423 25 of 40
https://doi.org/10.3390/agriengineering8100423
32,256 actual zone-level records before data cleaning; thus, the reported 32,256 observa-
tions represent the raw recorded dataset rather than a theoretical sample size. Sensor data
included soil moisture, ambient temperature, solar radiation, and water consumption,
while robot operational data covered energy consumption, operating time, irrigation vol-
ume, and availability status. In addition to numerical data, structured text reports on the
status of the areas, moisture de ficit, environmental stress, and urgency of intervention
were provided to the LLM layer to extract deci sion parameters related to the target soil
moisture level and intervention priority and fed into the optimization model through a
fuzzy mechanism.
Before model calibration, all 32,256 raw re cords were synchronized at common 30-
min timestamps. A total of 684 records contai ned missing sensor entries. Of these, 512
records contained isolated single-value gaps and were retained after linear interpolation
between the nearest valid observations, whereas 172 records a ffected by prolonged gaps
or sensor delays were removed. Outlier screening was then performed using the inter-
quartile range (IQR) criterion with a 1.5-IQR threshold and veri fication against adjacent
time observations. This process identi fied 96 additional records as measurement or re-
cording errors, which were removed, while extreme but physically plausible observations
were retained. The resulting cleaned dataset therefore contained 31,988 zone-level records,
corresponding to 99.17% of the original recorded dataset. Continuous variables were then
normalized using the min-max method. The cleaned data were used to determine the true
range of parameters, initialize state variables, and calibrate water, energy, irrigation, and
robot availability constraints, and the digital twin baseline was de fined based on these
observations. Accordingly, crop-response parameters used in the present experiments
should be interpreted as calibrated tomato-specific values for the monitored growing sea-
son and environmental conditions, rather than as crop-invariant constants.
The simulation scenarios were not generated independently or randomly from the
real data, but rather by applying controlled perturbations to the calibrated baseline. Sce-
narios of water scarcity through reduced water availability, increased demand conditions
through increased crop water requirements, energy constraints through reduced robot
usable energy capacity, and robotic disruption through reduced number of active robots
were created relative to the four-robot baseline; the range of variation in some inputs was
also increased to represent higher levels of uncertainty. In the single-factor experiments,
only one factor was varied from the baseline, while more severe scenarios included a com-
bination of water constraints, increased de mand, energy constraints, and reduced robot
availability. In all scenarios, the objective functions, constraints, and algorithm se ttings
were kept constant so that performance changes were solely due to scenario conditions.
In this way, the digital twin scenarios were directly derived from the domains and rela-
tionships observed in real data and were used to evaluate the stability, adaptability, and
robustness of the framework under different operational conditions.
Accordingly, the study is positioned as a simulation-based proof of concept cali-
brated with real farm observations. The field observations were used to establish realistic
operating ranges, initialize system states, and calibrate the digital twin, whereas the com-
parative, scenario, sensitivity, ablation, and dynamic-adaptation experiments were con-
ducted computationally within the calibrated digital twin environment. The reported per-
formance should therefore be interpreted as evidence obtained under controlled farm-
representative conditions rather than as validation from a full-scale autonomous field de-
ployment.
The expert-referenced evaluation of the LLM layer showed a priority-classi fication
accuracy of 92.5% across the 120 zone–time cases, corresponding to agreement in 111 cases.
Cohen’s 𝜅 was 0.887, indicating strong agreement beyond chance between the LLM-gen-
erated intervention priorities and the expert reference decisions. The mean absolute error
AgriEngineering 2026, 8, 423 26 of 40
https://doi.org/10.3390/agriengineering8100423
of the proposed target soil-moisture level wa s 1.08 percentage points. Seven of the 120
initial LLM outputs (5.8%) were rejected by the Validation and Safety Gate because they
either violated the prede fined agronomic bounds, con flicted with the expert-approved
rule base, or returned a REVIEW status. In these cases, the corresponding expert-ap-
proved rule-base decision was used as speci fied in Equation (41). These results indicate
that the semantic reasoning layer generally remained aligned with the expert reference
while the Validation and Safety Gate prevented the relatively small number of incon-
sistent outputs from entering the fuzzy–optimization pipeline.
Repeated-call analysis further showed that the LLM outputs remained highly stable
when identical inputs were submi tted multiple times. Across the 1200 repeated evalua-
tions, 98.8% of the intervention-priority outputs agreed with the case-speci fic modal pri-
ority, and 114 of the 120 cases (95.0%) produced exactly the same priority category in all
ten repetitions. The few observed categorical changes occurred only between adjacent pri-
ority levels; no direct Low-to-High or High-to-Low reversal was observed. The mean
within-case standard deviation of the LLM-generated target soil-moisture level was 0.21
percentage points. The Validation and Safety Gate produced the same accept/reject status
in all ten repetitions for 119 of the 120 case s (99.2%). After fuzzy inference, the mean
within-case standard deviation decreased to 0.006 for the final intervention-priority
weight 𝜆,௧ and 0.15 percentage points for the final target soil-moisture parameter 𝜇,௧.
These results indicate that the controlled LLM con figuration provides high repeated-call
consistency and, importantly, that the Validation and Safety Gate together with the fixed
fuzzy transformation limit the propagation of small semantic variations into the numeri-
cal parameters supplied to the optimization mo del. The principal quantitative results of
the expert-referenced validation and repeated -call consistency analysis are summarized
in Table 4.
Table 4. LLM Validation and Repeated-Call Reliability Results.
Evaluation Metric Result
Expert-referenced validation Validation cases 120
Expert-referenced validation Prio rity accuracy 92.5% (111/120)
Expert-referenced validation Cohen’s 𝜅 0.887
Expert-referenced validation Target soil -moisture MAE 1.08 percentage points
Safety validation Initial rejection rate 5.8% (7/120)
Repeated-call evaluation Repetitions per case 10
Repeated-call evaluation Total evaluations 1200
Repeated-call evaluation Modal priority agreement 98.80%
Repeated-call evaluation Identical priority in all 10 calls 95.0% (114/120)
Repeated-call evaluation Target-moisture within-case SD 0.21 percentage points
Repeated-call evaluation Safety-Gate status consistency 99.2% (119/120)
Fuzzy-output stability Mean within-case SD of 𝜆,௧ 0.006
Fuzzy-output stability Mean within-case SD of 𝜇,௧ 0.15 percentage points
Computational verification was performed to assess the internal consistency of the
mathematical formulation and the solution qu ality of the metaheur istic algorithms by
comparing their results with the deterministic compromise reference solution obtained in
GAMS.
For this purpose, a reduced problem instance was solved using the satisfaction-based
max–min formulation described in the solution methodology, and the resulting GAMS
compromise solution was used as the reference. The identical reduced instance was then
solved using NSGA-II, MOPSO, and GWO, and the corresponding compromise solutions
were compared in terms of their objective-function values. The main evaluation criterion
AgriEngineering 2026, 8, 423 27 of 40
https://doi.org/10.3390/agriengineering8100423
was the absolute relative deviation from th e corresponding GAMS reference values, ex-
pressed as a percentage. The resulting objective values and their relative deviations from
the GAMS compromise reference solution are summarized in Table 5.
The metaheuristic values reported in this table correspond to the criterion-selected
compromise solution described in Section 7 and are therefore not mean values across the
30 independent runs. Run-to-run variability is evaluated separately using the full 30-run
distributions reported in analyses, where mean ± standard deviation and, where applica-
ble, 95% confidence intervals are provided.
This comparison therefore verifies the numerical consistency of the formulated opti-
mization problem and its solution procedures; it is distinct from empirical validation of
the Digital Twin against independent physical-farm state trajectories.
Table 5. Model Validation Results against the GAMS Compromise Reference Solution.
Objective GAMS NSGA-II Error (%) MOPSO Error (%) GWO Error (%)
Z1 (Cost) 12,480 12,735 2.04% 12,910 3.45% 12,865 3.08%
Z2 (Performance) 8950 8780 1.90% 8620 3.69% 8710 2.68%
Z3 (Stress) 2140 2210 3.27% 2295 7.24% 2260 5.61%
Z4 (Sustainability-related impact) 5320 5415 1.78% 5510 3.57% 5480 3.01%
The values reported for NSGA-II, MOPSO, and GWO in Table 5 correspond to the
criterion-selected compromise solution for each algorithm, obtained from the 30 inde-
pendent runs by selecting the solution with the highest minimum satisfaction across the
four objectives; therefore, these values are not 30-run averages. The resulting representa-
tive compromise solutions from all three algo rithms remained close to the deterministic
GAMS reference, with relatively small devi ations across the four objectives. NSGA-II
showed the smallest deviations across most objectives, while MOPSO exhibited larger de-
viations, particularly for the crop-stress objective 𝑍ଷ. GWO showed intermediate behav-
ior, with deviations generally between those of NSGA-II and MOPSO. Because Table 5 is
intended specifically to compare consistently selected compromise solutions with the sin-
gle deterministic GAMS reference, run-to-run variability is evaluated separately using the
complete 30-run results reported in analyses, where mean ± standard deviation and,
where applicable, 95% confidence intervals are provided.
Pareto front analysis is performed to examine the quality of multi-objective responses
and analyze the trade-o ffs between con flicting objectives. In this analysis, the output of
three algorithms, NSGA-II, MOPSO, and GWO, is examined simultaneously, and the dis-
tribution of non-dominated points in the objective space is plo tted. The main focus is on
evaluating convergence to the optimal front and maintaining the diversity of responses
along it, so that the decision maker can choose among various options based on their pri-
orities.
Figure 5 shows that the NSGA-II algorithm produced a more uniform, wider front,
indicating a good balance between convergenc e and diversity. The points produced by
this algorithm are uniformly distributed along the front, enabling the selection of solu-
tions with different trade-offs. In contrast, MOPSO tended to concentrate in specific areas
of the front and showed less dispersion, wh ile GWO provided acce ptable coverage but
remained farther from the optimal front in some regions.
Table 6 provides a run-level assessment consistent with the Pareto-front patterns ob-
served in Figure 5. Across the 30 independent runs, NSGA-II achieved the highest mean
HV (0.842) and the lowest mean Spread (0.315) and Spacing (0.072), indicating stronger
convergence and more uniform coverage of the objective space. Its comparatively smaller
standard deviations also indicate greater run-to-run consistency. MOPSO exhibited the
largest variability and the least favorable distribution metrics, despite its faster search
AgriEngineering 2026, 8, 423 28 of 40
https://doi.org/10.3390/agriengineering8100423
behavior, whereas GWO showed intermediate performance across all three Pareto-quality
measures. The con fidence intervals further indicate that the observed di fferences were
systematic across repeated runs rather than being attributable to a single favorable execu-
tion. Formal statistical signi ficance among the algorithms is examined separately using
the Friedman and post hoc Wilcoxon–Holm tests.
Figure 5. Pareto Front Comparison of Optimization Algorithms.
Table 6. Pareto Performance Metrics over 30 Independent Runs.
Algorithm Hypervolume, Mean ± SD (95% CI) Spread, Mean ± SD (95% CI) Spacing, Mean ± SD (95% CI) Pareto Solutions, Mean ± SD
NSGA-II 0.842 ± 0.018 (0.835–0.849) 0.315 ± 0.026 (0 .305–0.325) 0.072 ± 0.009 (0.069–0.075) 58.0 ± 4.6
MOPSO 0.801 ± 0.029 (0.790–0.812) 0.402 ± 0.041 (0 .387–0.417) 0.095 ± 0.014 (0.090–0.100) 46.0 ± 6.1
GWO 0.817 ± 0.023 (0.808–0.826) 0.358 ± 0.033 (0.346–0.370) 0.088 ± 0.011 (0.084–0.092) 51.0 ± 5.3
An ablation analysis was performed to distinguish the individual and combined con-
tributions of semantic reasoning and fuzzy processing to optimization performance. The
five configurations defined in the solution methodology were evaluated under identical
scenarios and computational settings. This design allows the performance gain attributa-
ble to expert knowledge, LLM-based interpretation, fuzzy inference, and their complete
integration to be assessed separately rather than attributing the observed improvement to
the LLM–Fuzzy layer as a single combined component.
Figure 6 shows a progressive improvement as semantic and fuzzy decision-support
mechanisms are introduced into the numerical optimization framework. Numerical opti-
mization alone provides the baseline performance, while the expert-rule and single-com-
ponent configurations improve the balance among the objectives to different degrees. The
complete LLM–Fuzzy framework exhibits the strongest overall performance, indicating
that the bene fit of the intelligent layer is not a ttributable exclusively to either semantic
inference or fuzzy processing, but to their complementary integration. The corresponding
quantitative results for the five ablation con figurations are summarized in Table 7. For
each configuration, the reported Z1–Z4 values represent the arithmetic means obtained
across the 30 independent runs, while the no rmalized performance score is reported as
mean ± standard deviation.
AgriEngineering 2026, 8, 423 29 of 40
https://doi.org/10.3390/agriengineering8100423
Figure 6. Ablation Analysis of LLM and Fuzzy Components.
Table 7. Ablation Analysis of LLM and Fuzzy Components.
Configuration Z1 Cost, Mean Z2 Performance, Mean Z3 Stress, Mean Z4 Sustainability-Re-lated Impact, Mean Normalized Performance Score, Mean ± SD
Numerical Optimization Only 13,120 8540 2380 5610 0.742 ± 0.032
Expert-Defined Fuzzy Rules 12,940 8670 2310 5520 0.765 ± 0.029
LLM Only 12,850 8760 2280 5460 0.778 ± 0.027
Fuzzy Only 12,790 8710 2250 5410 0.784 ± 0.025
Complete LLM–Fuzzy Frame-
work 12,680 8920 2190 5340 0.812 ± 0.021
The quantitative results con firm that both semantic interpretation and fuzzy pro-
cessing contribute to the observed improvement, although their e ffects differ across ob-
jectives. Relative to numerical optimization alone, expert-defined fuzzy rules improve all
four objectives, demonstrating the value of incorporating structured agronomic
knowledge. The LLM-only con figuration provides further gains, particularly in perfor-
mance and cost, indicating the contribution of context-sensitive semantic interpretation.
Fuzzy processing without the LLM produces lower stress and sustainability-related im-
pact than the LLM-only configuration, reflecting its stronger role in handling gradual and
uncertain decision conditions. However, ne ither component alone reaches the perfor-
mance of the complete framework. The integrated LLM–Fuzzy configuration achieves the
lowest cost (12,680), lowest stress (2190), lowest sustainability-related impact (5340), and
highest operational performance (8920), toge ther with the highest normalized perfor-
mance score (0.812). These results indicate that the improvement arises from the comple-
mentary contribution of the two components rather than from either the LLM or fuzzy
processing alone.
Operational scenario analysis was conducted relative to the calibrated baseline con-
dition. Five scenarios were considered: Normal Condition, representing the calibrated
baseline without imposed disruption; Water Scarcity, with a 30% reduction in available
irrigation water; Energy Cons
论文原文与出版信息
AgriEngineering