How AI and Digital Twins Are Transforming Olive Farming in Spain?
Discover how AI and digital twins are transforming olive farming in Spain with data-driven insights, precision agriculture and smarter decisions.

Spanish olive groves have become a testing ground for digital twins. Spain had 2,873,396 hectares of olive groves in 2025, of which 942,344 hectares were irrigated, according to provisional results of the agriculture ministry's ESYRCE crop survey (1).
For growers, cooperatives, agronomists and olive oil buyers, this article explains what digital twins are, why Andalusian researchers are building them, how they work, and what adoption requires.
What Are Digital Twins in Agriculture?
A digital twin is a virtual representation of a physical system that is updated with data from that system, can make predictions, and informs decisions. The US National Academies of Sciences, Engineering, and Medicine set out this definition in 2024 and described the two way exchange between the virtual and the physical as central to a twin, distinguishing it from simulation alone (2).
Three distinctions matter when evaluating digital twin technology:
Static model: A crop model run with fixed inputs simulates a season, but becomes a twin only when regularly updated with observations from a specific orchard (2).
Dashboard: A dashboard displays readings or maps but does not, by itself, simulate the outcome of alternative decisions.
Generic forecast: A regional forecast applies to many farms, whereas a twin is bound to one defined system, such as a farm or a set of representative plots.
Update frequency follows purpose: the National Academies describe twins as built to the fidelity that makes them fit for purpose, so an orchard twin might take in soil moisture readings daily and yield records once per season (2). A 2021 review of agricultural applications highlighted a challenge specific to farming: capturing how living crops interact with their environment (3). Collecting data does not resolve that challenge on its own; the value of a twin lies in interpreting observations and turning them into decisions a grower can act on, such as when to irrigate or which zones to scout first.
Why Is Olive Farming in Spain Turning to Digital Twin Technology?
Water scarcity, soil variability and climate exposure make olive management in Spain decision-intensive, and digital twin technology is being explored as a way to test decisions before applying them in the field.
The agriculture ministry, citing the state meteorological agency AEMET, reported that although the 2024–25 hydrological year was wet overall, summer 2025 was the fourteenth driest in peninsular Spain since 1961, with dry conditions in parts of western Andalusia (1). With roughly two thirds of the olive area rainfed (1), many growers depend on stored soil water, and soil depth and texture make those reserves uneven even within one grove.
On 1 July 2026, IFAPA (the Andalusian Institute of Agricultural and Fisheries Research and Training) announced an agreement with the Regulatory Council of the Estepa Protected Designation of Origin (DOP Estepa) for TWIN OLIVE-Estepa, a research and knowledge transfer project to develop digital twins for the district's olive groves based on sensors, databases and artificial intelligence (4). It links IFAPA's Alameda del Obispo center in Córdoba with DOP Estepa staff, Olivarera San José de Lora de Estepa S. Coop. And., and API Agro-Herrera-Marinaleda, with in-kind resources valued at €71,008 and work scheduled to conclude by 31 May 2029 (4).
DOP Estepa's secretary, Moisés Caballero, linked the project to rising temperatures, lower and more irregular rainfall, and scarce irrigation water (4). The announcement states that virtual models are already being deployed, but it describes objectives rather than measured results, and one project in one district is not evidence of adoption across Spain.
How Do AI-Driven Digital Twins Work on Olive Farms?
AI-driven digital twins combine field data, a virtual orchard representation, and models that are calibrated, run and checked against observed outcomes. TWIN OLIVE-Estepa's four objectives follow this logic: analyzing two decades of DOP records on yields and climatic and plant health incidents; deploying LoRaWAN (long-range, low-power wireless) sensors on representative farms; building virtual models of different grove types; and developing decision-support tools for soil management, irrigation scheduling, pest anticipation and harvest estimates (4).
Data collection: Sensors, weather stations, soil analysis, imagery and records supply observations.
Field representation: Each plot is described by soil, cultivar, density and irrigation system.
Calibration: Parameters are adjusted until simulated outputs match observed data.
Simulation: The model runs alternative weather or management scenarios.
Interpretation and review: Agronomists check outputs against field observations and update the model.
Machine learning trained on historical records is one possible modeling component, often alongside process-based crop models. The National Academies found that methods for assessing the fidelity of empirical models are less mature than for some physics-based models, so AI does not by itself guarantee accurate predictions (2).
Simulating Soil, Water and Climate Conditions
One established basis for water scenarios is the FAO-56 method, which estimates crop evapotranspiration (ETc, water lost through soil evaporation and plant transpiration) by multiplying reference evapotranspiration (ETo), calculated from weather data, by a crop coefficient (Kc) (5). FAO-56 treats this as an upper limit under standard conditions, to be adjusted when water shortage limits the crop, which is where soil moisture observations come in (5). In Andalusia, IFAPA's Agroclimatic Information Network (RIA) publishes current and historical weather station data through an open API (6).
Soil properties set the boundaries of each scenario: depth and texture govern water holding capacity, while organic matter, pH and nutrient status shape fertilization. Digital soil analysis with a portable infrared device, for example, returns on-site, model-based estimates of nutrient status, pH, organic matter and soil moisture for comparison across plots and seasons. A single soil moisture result describes conditions at sampling; continuous root zone monitoring requires in-field sensors.
Predicting Yield and Disease Risk in Real Time
Yield and pest or disease risk can be forecast, but the speed and reliability of any forecast depend on the length and quality of the data record and on validation where it is applied. TWIN OLIVE-Estepa lists harvest estimates and pest anticipation as objectives, not demonstrated real-time capabilities (4).
A separate Andalusian forecasting platform, which is not a digital twin, shows what long data records enable. In 2020, the regional agriculture ministry reported that the platform, built on more than 25 years of monitoring data, forecasts olive fruit fly (Bactrocera oleae) incidence up to four weeks ahead, with tested accuracy of 80% at that horizon (7). That is weekly pest forecasting, not real-time disease diagnosis, and disease predictions would need comparable validation before guiding treatment.
What Are the Benefits of Digital Twins for Olive Growers?
The benefits of digital twins for olive growers are potential rather than proven at scale.
Scenario comparison: In a calibrated twin, two irrigation schedules or pruning options can be tested against the same weather series before water or labor is committed.
Irrigation planning: Combining ETo, crop coefficients and soil moisture data supports scheduling on estimated deficits rather than fixed calendars, a stated objective of TWIN OLIVE-Estepa (4) (5).
Earlier risk awareness: Validated lead times give technicians time to plan monitoring and treatment, and can show when treatment is unnecessary (7).
Decision consistency: A shared model gives cooperative technicians and growers a common basis for decisions across plots.
What Are the Challenges of Adopting Digital Twin Technology?
The main barriers are cost, data continuity, validation and interpretation.
Costs and upkeep: Investment extends beyond hardware to calibrating the model, maintaining data quality and interpreting outputs so results stay reliable enough to act on.
Connectivity and sensor maintenance: TWIN OLIVE-Estepa specifies LoRaWAN for its farm sensors (4), but any network needs coverage and power, and probes need checking and replacement.
Data gaps and interoperability: Missing data and the lack of adopted data standards hinder the integration of sensors and historical records (2).
Calibration and validation: A model calibrated for one cultivar, density, soil and irrigation system cannot be assumed to hold for another, so validation must be repeated by location and continued as conditions change (2).
Trust and interpretation: Outputs need agronomic interpretation and clear uncertainty ranges, and the National Academies reported a widely expressed view that publicity around digital twins outweighs the evidence base of success (2).
For small rainfed holdings with little variation between plots, soil analysis, weather alerts and scouting may deliver most of the decision value at lower cost.
The Role of Smart Agriculture Solutions in Scaling Digital Twins
Digital twins scale only as far as the data beneath them. Four enabling layers matter:
Reliable field observations: Soil moisture at defined depths and local weather recorded over time, complemented by periodic canopy imagery.
Soil characterization: Repeatable analysis showing how nutrient status, pH and organic matter vary across plots and seasons.
Structured records: Irrigation, fertilization, plant protection and harvest records tied to each plot.
Usable decision tools: Alerts and maps that technicians and growers can act on directly.
Whether digital twins reshape olive farming in Spain will depend less on algorithms than on how reliably field data is turned into decisions. Doktar’s approach connects that chain: soil analysis, in-field sensing and satellite-based crop monitoring feed agronomic interpretation, so field observations translate into operational decisions on irrigation, nutrition and scouting rather than remaining raw data.
Soil readings and satellite-derived crop indicators inform alerts and maps, while field activities are recorded plot by plot. The same evidence that guides irrigation and nutrient decisions today supports traceability and sustainability reporting across the value chain, and it forms the observed baseline that any future orchard model would need for calibration and validation.
Reference(s):
(1) Ministerio de Agricultura, Pesca y Alimentación. (n.d.). Encuesta sobre Superficies y Rendimientos de Cultivos (ESYRCE): Resultados provisionales 2025 [Survey of crop areas and yields (ESYRCE): Provisional results 2025]. https://www.mapa.gob.es/en/dam/jcr:4ab54d2c-65ad 4ec7-a248-33e16e3f4d0b/ComentariosEspana2025.pdf
(2) National Academies of Sciences, Engineering, and Medicine. (2024). Foundational research gaps and future directions for digital twins. The National Academies Press. https://doi.org/10.17226/26894
(3) Pylianidis, C., Osinga, S., & Athanasiadis, I. N. (2021). Introducing digital twins to agriculture. Computers and Electronics in Agriculture, 184, 105942.
https://doi.org/10.1016/j.compag.2020.105942
(4) Instituto Andaluz de Investigación y Formación Agraria, Pesquera, Alimentaria y de la Producción Ecológica (IFAPA). (2026, July 1). El IFAPA y Oleostepa firman un acuerdo de colaboración para desarrollar gemelos digitales del olivar y optimizar con IA su riego y gestión [IFAPA and Oleostepa sign a collaboration agreement to develop digital twins of olive groves and optimize their irrigation and management with AI]. Junta de Andalucía.
https://www.juntadeandalucia.es/agriculturaypesca/ifapa/web/noticias/el-ifapa-y-oleostepa-firman-un acuerdo-de-colaboracion-para-desarrollar-gemelos-digitales
(5) Allen, R. G., Pereira, L. S., Raes, D., & Smith, M. (1998). Crop evapotranspiration: Guidelines for computing crop water requirements (FAO Irrigation and Drainage Paper No. 56), Chapter 5. Food and Agriculture Organization of the United Nations. https://www.fao.org/4/X0490E/x0490e0a.htm
(6) IFAPA. (n.d.). Red de Información Agroclimática de Andalucía [Andalusian Agroclimatic Information Network]. Junta de Andalucía.
https://www.juntadeandalucia.es/agriculturaypesca/ifapa/web/red-de-informacion-agroclimatica-de andalucia
(7) Junta de Andalucía, Consejería de Agricultura, Ganadería, Pesca y Desarrollo Sostenible. (2020, August 18). La plataforma digital para el control de prays y mosca del olivo presenta sus novedades
en su segundo año [The digital platform for the control of olive moth and olive fruit fly presents its new features in its second year].
https://www.juntadeandalucia.es/organismos/agriculturapescaaguaydesarrollorural/servicios/actualida d/noticias/detalle/241617.html






