CUPID is an open source interoperability toolkit hosted at LF Energy that addresses fragmentation in distributed energy resource (DER) communication. It provides two core software components, an Interoperable Client/Server Library and a Legacy Protocol Converter, that allow ADMS and DERMS platforms, DER devices, and legacy hardware to communicate using the IEEE 2030.5 standard over a high-performance, message-driven architecture.
CUPID
Open source IEEE 2030.5 interoperability toolkit for DER communication.
Open source toolkit for DER interoperability. CUPID modernizes IEEE 2030.5 with NATS high-performance messaging and legacy protocol conversion, enabling EMS platforms, DER devices, and existing hardware to communicate at scale without replacement or proprietary middleware.
Project Lifecycle Stage
Sandbox
Project Special Interest Group
Edge Interoperability & Flexibility SIG
Originating from the Horizon Europe InterSTORE project, CUPID enhances IEEE 2030.5 by replacing traditional synchronous REST over HTTP with NATS messaging, and adds JSON support alongside the standard XML format. The result is a toolkit that handles real-time DER coordination at scale, integrates assets using legacy protocols such as Modbus and MQTT, and reduces the cost and complexity of connecting distributed energy infrastructure to modern grid management systems.
CUPID is designed to meet current EU regulatory requirements including the Data Act and the Network Code on Demand Response.
The Challenge
As more distributed energy resources – rooftop solar, battery storage, electric vehicles, heat pumps – connect to the grid, the primary operational problem is not generation capacity but communication and orchestration. These assets use a wide range of protocols, are often manufactured without standardized interfaces, and must coordinate in real time with grid operators and energy management systems operating under strict reliability requirements.
Three concrete barriers stand in the way:
- Protocol fragmentation: Many existing DER assets communicate via legacy industrial protocols such as Modbus TCP/RTU or MQTT. These are incompatible with the IEEE 2030.5 standard that modern ADMS and DERMS platforms require for grid services coordination.
- Scalability and latency: Traditional synchronous REST APIs over HTTP cannot handle the volume and timing requirements of real-time grid coordination at scale. Frequency response and demand coordination require low-latency, many-to-many communication that HTTP-based architectures are not designed to deliver.
- Modernization cost: Replacing functional hardware to gain standardized communication capability is economically unviable for most operators and asset owners. A software layer that retrofits existing assets to participate in modern energy markets is the practical path.
These gaps slow the integration of distributed flexibility into grid operations, limit participation in balancing markets, and increase the engineering burden on every organization that needs to connect heterogeneous DER portfolios.
Key Features
Interoperable Client/Server Library
A developer-facing library that allows ADMS and DERMS platforms and DER devices to communicate natively using IEEE 2030.5 over NATS. Built-in schema validation ensures that all messages conform to the IEEE 2030.5 standard, reducing integration errors and simplifying compliance testing. Supports both XML and JSON serialization formats, allowing developers to work with the format best suited to their environment while maintaining full standards compliance.
Legacy Protocol Converter (LPC)
A middleware translation layer converts data from legacy industrial protocols, including Modbus TCP/RTU and MQTT, into standardized IEEE 2030.5 messages. This allows existing DER assets to participate in modern grid coordination without hardware replacement. The LPC is deployable via Docker containers on-premise or in cloud environments, and includes an interactive web-based configuration interface for managing connections, defining message mappings, and testing transformations without manual configuration file editing.
Message-Driven Architecture via NATS
CUPID replaces HTTP-based REST communication with NATS, a high-performance, cloud-native messaging system. This enables:
- Many-to-many connectivity across multiple devices and systems simultaneously, without a single point of failure
- Asynchronous communication that does not require senders and receivers to be online simultaneously, increasing system resilience in resource-constrained environments
- Low-latency data exchange suited to real-time grid coordination requirements
Automated Testing and Compliance Validation
CUPID includes an automated testing suite that allows manufacturers and grid operators to validate IEEE 2030.5 implementations against SunSpec testing procedures. Automated test execution and response comparison reduce the time and cost of compliance verification, supporting plug-and-play interoperability across different implementations.
Security Framework
The toolkit supports TLS/SSL encryption, certificate-based authentication, and role-based access control for DER communications.
Data Space Integration
The CUPID architecture is designed to integrate with Common European Energy Data Spaces, supporting secure, governed data sharing across utilities, consumers, and service providers while maintaining data sovereignty.
Infrastructure-Agnostic Deployment
The Java-based architecture and NATS messaging layer are designed to run on resource-constrained edge devices, on-premise servers, and orchestrated cloud environments including Kubernetes and Docker. Java-based JAR files and reference implementations are available on GitHub.
IEEE2030.5 Integration Diagram via NATS
Key Contributors
- CyberGrid
- Forschungszentrum Jülich (Jülich Research Centre)
- INESC TEC
- RWTH Aachen
- Sunesis
- enliteAI
Technical Foundation
CUPID is built on established open standards and production-grade open source components.
- IEEE 2030.5 provides the DER communication standard; CUPID implements and extends it with NATS transport and JSON serialization
- NATS provides the high-performance, cloud-native messaging backbone replacing HTTP REST for asynchronous, many-to-many communication
- JSON and XML dual-format support maintains standards compliance while reducing bandwidth usage and developer integration overhead
- Docker containerization enables consistent deployment across edge, on-premise, and cloud environments
- SunSpec testing procedures underpin the automated compliance validation suite
- Java-based libraries and JAR files provide the primary developer integration path
The project originated within the Horizon Europe InterSTORE project. Supporting documentation including a white paper is available at https://interstore-project.eu/wp-content/uploads/2025/01/WhitePaper-InterSTORE-final-version.pdf.
Use Cases
Flexibility Aggregators and Balancing Market Participants
- Group diverse DER assets – solar, wind, battery storage – and coordinate their combined flexibility for TSO and DSO balancing market participation
- Use NATS-based messaging to handle real-time dispatch signals across large asset portfolios without REST API bottlenecks
Renewable Energy Communities
- Connect electricity meters, heat pumps, and local storage via a standardized IEEE 2030.5 interface to maximize self-consumption and balance local microgrids
- Integrate legacy metering and storage hardware using the LPC without hardware replacement
Hybrid Energy Storage Systems
- Use built-in schema validation to ensure all coordination messages meet IEEE 2030.5 compliance requirements
EV Charging Cluster Management
- Treat clusters of EV chargers as a coordinated virtual asset that responds to grid demand signals
- Maintain user privacy and vehicle readiness requirements while enabling fleet-level grid services participation
Grid-Supporting Battery Energy Storage Systems
- Integrate large-scale BESS into open source frameworks such as FIWARE for local grid stability support and predictive maintenance applications
OEM and Platform Developers
- Use Java-based developer libraries and Docker-ready middleware to integrate IEEE 2030.5 communication into custom DER products without building the protocol layer from scratch
- Validate implementations against the automated testing suite before deployment to reduce certification overhead
Project Roadmap
Current development focus includes continued refinement of the Legacy Protocol Converter and the Interoperable Client/Server Library to meet the latest EU regulatory requirements, including the Data Act and the Network Code on Demand Response. Integration with Common European Energy Data Spaces is an active workstream.
Collaboration Opportunities
CUPID welcomes participation from utilities, DER manufacturers, EMS developers, aggregators, and researchers working on:
- IEEE 2030.5 implementation and DER communication standards
- Legacy protocol integration for distributed energy assets
- Flexibility market participation and demand response coordination
- Renewable energy community and local grid management applications
- European Energy Data Space architecture and data governance
Organizations seeking to test IEEE 2030.5 over NATS implementations, integrate legacy DER assets into modern grid coordination platforms, or contribute with new use cases and requirements to the toolkit are encouraged to join the working group.
CUPID provides the shared communication infrastructure that makes heterogeneous DER portfolios manageable, without each organization building the same protocol translation layer independently.
To get involved: