4 April 2025

CATEPS MICROGRID LIVING LAB: putting demand flexibility to the test

Distribution grids are essential to connect all distributed generation (renewables, self-consumption, or electric vehicles) and storage systems envisioned for the energy transition. In this scenario, consumers will need to take on a more active role. However, demand flexibility will be key: energy consumers must be able to adjust or shift their consumption patterns according to fluctuations in supply or energy prices. The University of Seville has thus launched an infrastructure combining generation and storage that functions as a real-world testing lab to explore AI-based technologies for managing and optimising these distributed energy resources.

By Carlos León de Mora

The concept of the energy transition is built on the foundation of decarbonisation—in other words, the gradual replacement of fossil fuel-based energy generation, which emits large volumes of GHG and contributes to global warming, with renewable energy sources (wind power, solar, etc.) that are free from such emissions.

From ‘consumer’ to ‘prosumer’

One of the sectors most deeply involved in this process is electricity generation and distribution. Indeed, it is undergoing a transformation—from large, centralised power plants (nuclear, gas, coal) to a multitude of smaller-scale generation and storage points (distributed energy resources, or DERs, like self-consumption, EVs, or batteries) connected to the electricity system via medium- and low-voltage distribution grids.

While those large plants were theoretically capable of generating electricity permanently, these smaller, renewable-based sources depend on intermittent resources (sun, wind, water, etc.) that must be efficiently managed to align electricity generation with demand. Additionally, energy must be stored for times when these primary resources are unavailable.

In this new model, the presence of DERs transforms the traditional consumer into a more active and relevant player in the energy system: a prosumer (producer + consumer).

What is demand flexibility?

This leads to the concept of demand flexibility, also known as Active Demand Management. This paradigm refers to the prosumer’s ability to voluntarily alter their usual consumption pattern—typically reducing it—in response to signals from the electricity system, such as price signals or financial incentives.

Effectively managing this activity requires accurate forecasting of electricity generation and demand, as well as optimised energy distribution. In this context, AI tools become indispensable, as they can process large data volumes and generate models capable of managing complex systems.

The growing presence of DERs in distribution grids demands that Distribution System Operators (DSOs) have robust capabilities to analyse and control these resources. Rather than following the traditional ‘iron alternative’—oversizing infrastructure in a ‘fit and forget’ approach—DSOs are now adopting a strategy of active system management (ASM), which includes demand flexibility control. This approach requires in-depth knowledge of the grid’s configuration (topology) and operation (generation/consumption models). In this regard, data analytics and AI techniques offer a powerful solution to tackle these challenges.

Demand aggregators, energy Communities, and local flexibility Markets

So far, demand flexibility in Spain has been limited to energy-intensive consumers (>5 MW) through legacy interruptibility programmes. The main challenge now—economic, technical, and regulatory—is to allow a broader range of players to participate in such programmes, including small and medium-sized consumers (industrial, commercial, and residential), either directly or via demand aggregators.

Demand aggregators are a promising new player. These agents manage the combined demand of a group of prosumers. The EU is paying special attention to Local Energy Communities (LECs) within this aggregated demand model. These LECs are defined by a community’s energy resources (a neighbourhood, municipality, or industrial park) that also involve a social component.

The EU considers the development of such systems a priority. Therefore, it advocates for the creation and implementation of so-called Local Flexibility Markets, with the participation of market operators, DSOs, and direct consumers and/or aggregators.

CATEPS uGrid Living Lab: a microgrid for advancing Local Flexibility Markets

To foster the development of these Local Flexibility Markets, the University of Seville has launched a research project at its School of Engineering. This initiative enables experimentation with AI in these markets and the deployment of new management technologies. The CATEPS uGrid Living Lab is a modular infrastructure equipped with various DERs across the campus. 

The School of Engineering at the University of Seville, with its photovoltaic and wind power installations.

The installation features a primary PV system made up of four arrays totalling 72.8 kWp (18.2 kWp each), along with two 3 kWp vertical-axis wind microturbines.

Details of the photovoltaic and wind installation at the microgrid project of the School of Engineering at the University of Seville.

The system also includes a battery storage system with 60 kVA of conversion power and 80.64 kWh of capacity.

Storage batteries part of the CATEPS Microgrid Living Lab project.

Thanks to its advanced control system, the building can also shift the consumption of its main loads. All building assets are coordinated by a high-performance computing system and monitored in a central control room, designed as a ‘showroom.’

Central control room of the CATEPS Migrogrid Living Lab project.

A real-world testbed for AI-driven demand flexibility

The main research objective of the facility is to develop new AI algorithms—especially machine learning and deep learning techniques—for managing demand flexibility, which can be tested in a real-world environment (Living Lab). The research also explores telecontrol protocols, IoT-based data capture devices, and blockchain-style decentralised architectures.

Several projects are currently under development at the facility in collaboration with Endesa, including DER4ALL: a scalable, multi-level, interoperable, and secure DERMS based on AI, edge computing, and decentralised architectures, focused on the research and development of platforms for managing distributed energy resources (DERs). These platforms are designed to be scalable, multi-level, interoperable, and secure. They leverage AI, edge computing, and decentralised architectures using blockchain technology to enable flexibility services based on the efficient management of distributed energy resources.

The project pursues four key objectives:

  1. Forecasting demand, renewable generation, and operational optimisation.
  2. Self-configuring the platform based on the relevant grid level (initially focused on end users, aggregators, energy hubs, or energy communities).
  3. Applying decentralised architectures for asset traceability and management across various smart grid levels.
  4. Deploying the platform in a real-world installation at the CATEPS Microgrid Living Lab, including equipment to emulate battery-integrated electric vehicles (V2X).

From a technical and scientific standpoint, the project will help develop a new solution that enables the rapid, scalable, secure, and efficient integration of low-voltage renewable energy resources while providing flexibility and traceability services.

From an economic and social perspective, it offers a tool for enabling circular energy economies. This tool contributes to promoting sustainable installations, facilitating user participation in electricity markets, boosting competitiveness, encouraging self-consumption, and lowering energy prices and costs—all while enhancing grid reliability.

On the other hand, the AI4FLEX project—focused on improving distribution grid management and demand-side flexibility through data analytics and AI—sets out three main objectives:

  1. A demand flexibility management framework to enable optimal operation of the distribution system, based on advanced data analytics and AI applied to available information for congestion management and DER integration through forecasting and optimisation.
  2. Integration of heterogeneous data sources with AMI (advanced metering infrastructure) to detect non-technical losses in distribution grids through topology discovery.
  3. Use case: optimal flexibility management for the integration of electric vehicles at the distribution level, including modelling battery degradation.

By applying these three objectives, distribution system operators could gain access to a powerful tool that would allow them to operate the grid more efficiently. It will also contribute to enhancing grid resilience and its capacity to integrate generation.

Testing local energy communities

The building is also part of the eCitySevilla project, which seeks to establish a net-zero emissions zone in the Cartuja area. This initiative enables the facility to test multiple use cases from the project, including the development of platforms for balancing and integrating energy within local energy communities.

Contenido relacionado

advise icon go to the advise Facebook icon go to Facebook Twitter icon go to Twitter Youtube icon go to Youtube Messenger icon go to Messenger Linkedin icon go to Linkedin Instagram icon go to Instagram Shared Link icon Go to the shared link Checkmark Success icon Checkmark Success down arrow icon down arrow Previous Go to previous Next Go to the next close icon close add icon add up arrow icon up arrow oblique arrow icon look obliquely Arrow down icon Arrow down search engine icon search search engine icon search share icon share filter icon filter email icon send mail email icon email phone icon phone fax icon fac print icon print play icon play user icon go to the user section error icon an error has occurred info icon information thumb up icon like thumb up icon like thumb down icon don't like thumb down icon don't like clock icon Clock Lamp icon Lamp List icon List Map icon Go to the map Phone icon Phone Emergency icon Emergency Pause icon Pause Play icon Play Logout icon Sign off Phone icon Phone Download icon An icon representing a download Chat icon An icon representing a chat
go back icon go back in navigation number 50 icon go to product Tempo Happy 50 Horas calendar icon go to product Tempo Happy Día companies icon go to the business segment gas icon go to gas product catalog rising sun icon go to Tempo Verde-Renewable Energy product home icon go to the household segment 24 hours icon go to One Luz product electricity icon go to Luz's product catalog electricity and gas icon go to the Luz + Gas product catalog moon icon go to product One night light monkey wrench icon go to breakdowns and repairs sun icon go to Tempo Solar product clock icon go to Tempo Happy products 2 hour clock icon go to Tempo Happy 2 Hours product 24 hours icon go to product One Luz number 50 icon go to product Tempo Happy 50 Hours Medium Voltage power line See product catalog with electricity consumption from € 36,000 to € 360,000 / year High Voltage power line See catalog of products with electricity consumption more than € 360,000 / year company icon go to the business segment calendar icon go to product Tempo Happy Day Property management firms icon go to the Property management firms DarkSite icon DarkSite icon light bulb icon See product catalog with electricity consumption less than € 6,000 / year electricity and gas icon go to the Electricity+ Gas Products catalog electricity icon go to the electrical products catalog email icon email contact fax icon fax contact Low Pressure gas icon see catalog of gas products with consumption of less than € 6,000 / year High Pressure gas icon see catalog of gas products with consumption from € 6,000 to € 240,000 / year Medium Pressure gas icon see catalog of gas products with consumption of more than € 240,000 / year gas icon go to gas product catalog Enel icon go to the enel website heater icon heater maintenance service heater maintenance icon go to maintenance service OKGas Heater home icon go to the household segment pressure cooker icon pressure cooker monkey wrench icon go to breakdowns and repairs Medium Voltage power line icon see catalog of electricity products with consumption from € 6,000 to € 36,000 / year moon icon go to product One Night Light sphere icon go to personal website phone icon telephone contact rising sun icon go to Tempo Verde-Renewable Energy product solar panel icon go to photovoltaic solar energy clock icon go to Tempo Happy products black handyman icon with thumb down selected the reaction "I don't like it" little hand icon with thumb down select the reaction "I don't like it" black hand icon with thumb up selected the "like" reaction little hand icon with thumb up select the "like" reaction
Añadir otro equipo eléctrico Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eliminar equipo eléctrico Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspiradora Lorem ipsum dolor sit amet, consectetur adipisicing elit. Horno Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lavadora Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lavavajillas Lorem ipsum dolor sit amet, consectetur adipisicing elit. Microondas Lorem ipsum dolor sit amet, consectetur adipisicing elit. Plancha Lorem ipsum dolor sit amet, consectetur adipisicing elit. Punto de recarga vehículo eléctrico Lorem ipsum dolor sit amet, consectetur adipisicing elit. Radiador eléctrico Lorem ipsum dolor sit amet, consectetur adipisicing elit. Secadora Lorem ipsum dolor sit amet, consectetur adipisicing elit. Split Aire Acondicionado Lorem ipsum dolor sit amet, consectetur adipisicing elit. Termo Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tostador Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitrocerámica Lorem ipsum dolor sit amet, consectetur adipisicing elit. Power edit Lorem ipsum dolor sit amet, consectetur adipisicing elit. Map marker Lorem ipsum dolor sit amet, consectetur adipisicing elit.