Deploying Adaptive AI in Distributed Water Plants

ACCIONA aimed to optimize chemical consumption, improve operational efficiency, and enable real-time predictive intelligence across its desalination and water treatment facilities all over the world. To achieve this, ACCIONA partnered with Barbara to deploy a scalable Edge AI and Edge Computing architecture that enabled autonomous optimization of industrial applications and Machine Learning algorithms directly at the edge.
Customer:
Acciona
Industry:
Water & Wastewater Management
Region:
Global
Ecosystem:
No items found.
Technologies:
Edge AI
Container Application
Grafana
InfluxDB
MQTT
MLflow
OPC-UA
TensorFlow

Business Overview

Acciona, a global leader in sustainable infrastructure and water management, relied on laboratory analysis to determine chemical concentrations across its desalination and water treatment facilities all over the world. Due to the time it took to obtain these results, they were often outdated and unreliable. This led to additional costs related to chemical supply as well as possible regulatory penalties.

To address these challenges, Acciona launched a global digital transformation initiative aimed at modernizing its desalination and water treatment operations across more than 40 countries and 5 continents through Edge AI and distributed industrial Edge Computing. The company sought to optimize chemical consumption, improve operational efficiency, enable real-time predictive intelligence, and centralize monitoring across highly distributed infrastructures worldwide.

To achieve this, Acciona turned to Barbara, deploying a scalable Edge AI and Edge Computing architecture capable of streamlining the deployment, execution, and autonomous optimization of industrial applications and Machine Learning algorithms directly at the edge.

Challenges

Acciona's operations spanned more than 40 countries and faced a combination of technical and operational hurdles that traditional approaches could not solve. The four key challenges were:

  1. No real-time visibility into chemical compositions: chemical concentrations could only be determined through slow laboratory analysis, producing results that were often outdated and unreliable by the time they reached operators.
  2. High operational costs and regulatory risk: without precise, real-time control over reagent dosing, chemical consumption was suboptimal, generating significant costs and exposing the company to regulatory penalties.
  3. Global scalability across heterogeneous infrastructure: any solution had to work consistently across hundreds of plants in more than 40 countries, with diverse equipment, protocols, and plant environments.
  4. Complex AI model lifecycle management at scale: deploying, updating, and fine-tuning AI models across a globally distributed fleet required centralized, remote management capabilities that traditional systems could not provide.

Solution

In response to the limitations of traditional water management approaches, which had depended heavily on manual intervention alongside sensor and SCADA systems, Acciona deployed an Edge AI architecture using Barbara Core, Barbara Panel, and Barbara Marketplace. Barbara Core was installed on edge nodes at each water treatment plant, providing the secure, managed runtime for all local applications and maintaining continuous communication with Barbara Panel. Many of the workloads deployed across the fleet were sourced from Barbara Marketplace, where certified industrial applications are available off-the-shelf and ready to deploy at scale.

Reference architecture for Acciona

The architecture was organized in two layers:

Edge Layer

Each edge node ran Barbara Core alongside a set of applications deployed and managed remotely through Barbara Panel. The key components of the system deployed at the edge were:

  • OPC UA Connector: collected operational data from local PLCs and sensors in real time, including temperature, pressure, flow, vibration, and machine states, and made it available to the rest of the architecture.
  • MQTT Broker: received data from the OPC UA Connector and distributed it to all subscribing services simultaneously, enabling independent consumption by storage, processing, and visualization components.
  • InfluxDB Ingestor: consumed MQTT messages and wrote telemetry into InfluxDB for persistent storage.
  • InfluxDB: served as the local time-series database, storing both real-time and historical sensor data to support trend analysis, monitoring, and model training.
  • Grafana: connected to InfluxDB to provide operators with real-time dashboards showing live process data, alarms, trends, KPIs, and AI-generated insights.
  • MLflow: managed the full machine learning workflow, handling experiment tracking, model versioning, and deployment orchestration. The data stored in InfluxDB was used to train machine learning models that were then deployed back onto the edge node via TensorFlow Model Serving. Once running, the model received live sensor data from the MQTT Broker, performed local inference, and returned its results back into the pipeline, where raw data and AI-generated outputs were combined and forwarded to InfluxDB and Grafana for storage and visualization.
  • TensorFlow Model Serving: executed the AI models locally on Barbara Core, receiving live data from the MQTT Broker, running inference in real time, and returning results to the pipeline without requiring external compute infrastructure.
  • Jupyter Lab: enabled the execution of custom Python code within the edge environment, allowing data scientists to customize model training and monitoring processes directly at the plant level.

Cloud Layer

Barbara Panel provided centralized, remote management of the entire edge fleet. Through its dashboard, administrators deployed applications, updated configurations, monitored device health, and managed the full lifecycle of machine learning models across all plants, without requiring on-site visits. Barbara's built-in VPN service enabled secure remote access to the web interfaces of the workloads running directly on the edge devices.

Results

By leveraging Barbara's platform, Acciona achieved significant operational and financial impact across its global water treatment operations:

  1. Real-time prediction and monitoring of water chemical values across all facilities from a single central location, eliminating dependence on slow laboratory analysis.
  2. Hundreds of plants across 40+ countries unified under a single infrastructure: hundreds of plants running diverse equipment and protocols were brought under centralized monitoring and management through Barbara Panel, giving Acciona consistent operational visibility across its entire globally distributed fleet.
  3. Over $70 million in savings in the first three years across its 89 desalination plants, driven by optimized reagent dosing and reduced regulatory penalties.
  4. 800% acceleration in the go-to-market time for new AI models, made possible by Barbara's remote and automated management of distributed application deployment. While 86% of organisations take between one month and one year to deploy their models in the field, Acciona was able to achieve deployments within days.

Testimonial

"Barbara's platform stands out as the most advanced and stable of all those we have tested. It is continuously evolving, with new features that improve the overall user experience on a daily basis."

— Alejandro Beivide, Digital Transformation Director, Acciona

Conclusions

By deploying real-time Machine Learning control algorithms across its desalination plants using Barbara's platform, Acciona significantly reduced the use of reactive chemicals while modernizing critical industrial infrastructure worldwide. The initiative established a secure, scalable, and AI-ready foundation capable of supporting future smart water management, predictive maintenance, energy optimization, and industrial automation strategies across Acciona's global operations.

This transformation also delivered substantial improvements in operational efficiency, reducing operational costs and minimizing regulatory risks. In 2024, Barbara received the IoT Solutions World Congress Award for Best Energy & Utilities Solution for this project, which generates savings of more than €250,000 per plant annually across hundreds of facilities worldwide.

About the Company

Acciona is a global leader in sustainable infrastructure solutions across water, renewable energy, construction, services, and concessions. Operating in more than 40 countries across 5 continents, the company employs over 45,000 people and brings more than 85 years of experience in delivering sustainable infrastructure worldwide.

Acciona has consolidated its position as a key player in the water treatment industry through the design, construction, and operation of advanced drinking water, wastewater treatment, reverse osmosis desalination, and water reuse facilities. The company currently provides water solutions benefiting more than 100 million people in over 30 countries.