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

T Advise D Advise T Facebook D Facebook T Twitter D Twitter T Youtube D Youtube T Messenger D Messenger T Linkedin D Linkedin T Instagram D Instagram T Whatsapp D Whatsapp T Telegram D Telegram T Shared Link D Shared Link T Checkmark Success D Checkmark Success T Chevron Down D Chevron Down Anterior Ir al anterior Siguiente Ir al siguiente T Close D Close T Add D Add T Arrow Increase D Arrow Increase T Arrow Oblique D Arrow Oblique T Arrow Down D Arrow Down T Search D Search T Search 2 (Alternative) D Search 2 (Alternative) T Share D Share T Filter D Filter T Email D Email T Email OutLine D Email OutLine T Phone OutLine D Phone OutLine T Fax Outline D Fax Outline T Print D Print T Play Button D Play Button T User D User T Error D Error T Info D Info T Thumb Up Outline D Thumb Up Outline T Thumb Up D Thumb Up T Thumb Down Outline D Thumb Down Outline T Thumb Down D Thumb Down T Clock D Clock T Lamp D Lamp T List view D List view T Map view D Map view Icono de teléfono Teléfono T Emergency D Emergency T Pause D Pause T Play D Play T Logout D Logout Icono de teléfono Teléfono Download icon An icon representing a download Chat icon An icon representing a chat
icono ir atrás volver atrás en la navegación icono número 50 ir a producto Tempo Happy 50 Horas icono calendario ir a producto Tempo Happy Día icono empresas ir al segmento de empresas icono de gas ir a catálogo de productos de gas icono sol naciente ir al producto Tempo Verde-Energía Renovable icono hogar ir al segmento de hogares icono 24 horas ir a producto One Luz icono electricidad ir al catálogo de productos de Luz icono electricidad y gas ir al catálogo de productos Luz + Gas icono luna ir al producto One luz Nocturna icono llave inglesa ir a averías y reparaciones icono sol ir al producto Tempo Solar icono reloj ir a los productos Tempo Happy icono reloj 2 horas ir al producto Tempo Happy 2 Horas icono 24 horas ir al producto One Luz icono número 50 ir al producto Tempo Happy 50 Horas icono tendido eléctrico Media Tensión Ver catálogo de productos con consumo eléctrico de 36.000 a 360.000 €/año icono tendido eléctrico Alta Tensión Ver catálogo de productos con consumo eléctrico más de 360.000 €/año icono empresa ir al segmento de empresas icono calendario ir al producto Tempo Happy Día icono Administradores de Fincas ir al segmento de Administradores de Fincas icono DarkSite icono DarkSite icono bombilla ver catálogo de productos con consumo eléctrico menos de 6.000 €/año icono de electricidad y gas ir al catálogo de Productos Luz + Gas icono electricidad ir al catálogo de productos de electricidad icono email contacto de correo electrónico icono fax contacto de fax icono de gas Baja Presión ver catálogo de productos de gas con consumo de menos de 6.000 €/año icono de gas Alta Presión ver catálogo de productos de gas con consumo de 6.000 a 240.000 €/año icono de gas Media Presión ver catálogo de productos de gas con consumo de más de 240.000 €/año icono de gas ir al catálogo de productos de gas icono de Enel ir a la sitio web de enel icono de calentador servicio de mantenimiento del calentador icono mantenimiento del calentador ir al servicio de mantenimiento OKGas Calentador icono hogar ir al segmento de hogares icono olla de presión olla de presión icono llave inglesa ir a averías y reparaciones icono tendido eléctrico Media Tensión ver catálogo de productos de electricidad con consumo de 6.000 a 36.000 €/año icono luna ir al producto One Luz Nocturna icono esfera ir a sitio web personal icono teléfono contacto telefónico icono sol naciente Ir al producto Tempo Verde-Energía Renovable icono panel solar ir a energía solar fotovoltaica icono reloj ir a productos Tempo Happy icono manito solida con pulgar hacia abajo seleccionada la reacción "No me gusta" icono manito con pulgar hacia abajo seleccionar la reacción "No me gusta" icono manito negra con pulgar hacia arriba seleccionada la reacción "Me gusta" icono manito con pulgar hacia arriba seleccionar la reacción "Me gusta"
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.