CASE STUDY: Developing a Scalable OCPP Server for Seamless EV Charging & V2G Integration
Client Overview
Client: Institute of Fluid-Flow Machinery of the Polish Academy of Sciences (IMP PAN)
Industry: EV Charging & Energy Management
Project: V2G Integration for H2020 Serene, Sustenance, and V4Grid Projects
Objective: Build an OCPP 1.6j–compliant server enabling seamless EV charging and V2G functionalities within local EMS

EXECUTIVE SUMMARY
Scalable EV Charging & V2G Integration
Codibly collaborated with IMP PAN to integrate two AC chargers (Enelion Lumina) and one V2G charger (eNovates Chademo) into local energy management systems across demo sites in Poland. By creating an OCPP 1.6j–compliant server, Codibly enabled:
- Seamless communication between chargers and the 3rd-party Energy Management System (EMS)
- V2G energy transfers and controlled discharge for grid stability
- Simplified authorization and reporting for internal project needs
- Energy usage statistics
Challenges
- Integrating different AC and V2G chargers under a unified OCPP 1.6j framework
- Ensuring grid stability and precise discharge control
- Configuring an OCPP server for three different demonstration sites
- Achieving secure charger access, dynamic power management, and robust data reporting
CHALLENGES
Key Obstacles to OCPP & V2G Integration
Multiple Charger Types
• 2x AC (Enelion Lumina) + 1x V2G (eNovates Chademo)
• Inconsistent data formats and non-standard power settings
Grid Stability
• Precise discharge control required for V2G
• Need for dynamic power management
EMS Integration
• OCPP 1.6j compliance for real-time communication
• Requires simplified authorization & reporting
Distributed Sites
• Demo environments in Poland
• Meeting local energy management requirements

SOLUTION
How Codibly Delivered an OCPP 1.6j-Compliant Server
Core OCPP 1.6j Compliance
• Implemented real-time communication for EV charging and V2G discharge
• Enabled advanced functionalities like RFID token validation and charging profiles
V2G Energy Transfers
• Integrated eNovates Chademo chargers for controllable bi-directional flows
• Precise discharge control and dynamic load management for grid stability
Non-Standard Charger Support
• Used SetVariable for custom power limitation commands
• Ensured comprehensive integration of AC chargers from Enelion
Future-Proof Architecture
• Built on Java Spring Boot and PostgreSQL on premise architecture for scalability
• Detailed energy transfer statistics, ensuring robust reporting
IMPLEMENTATION
Steps to Deploy the Charging & V2G Framework
Codibly worked closely with IMP PAN’s research teams to align agile development sprints with the internal project timelines of Serene, Sustenance, and V4Grid.
Security & Access Control
• RFID token validation to secure charger usage
• V2G commands available only for external EMS
Accelerated Delivery
• Utilized Codibly’s OCPP accelerator to reduce time-to-market
• Seamless integration with non-standard hardware
TECHNOLOGIES & FRAMEWORKS
Toolset for OCPP & V2G Implementation
We leveraged a modern architecture to ensure reliable communication, grid stability, and seamless expansions.
Azure & DevOps
• Cloud-based hosting for OCPP server
• CI/CD pipelines for rapid releases
• Secure environment with high availability
Java & Spring Boot
• Java and Spring Boot for OCPP logic, data processing, V2G control
• Flexible structure for custom charger instructions
PostgreSQL & Message Queues
• Storing energy transfer stats
• Message-based architecture for real-time updates
• Reliable system performance across multiple sites
Security & Compliance
• RFID-based authentication
• Encrypted communications to protect charging data
• Adherence to H2020 project guidelines

RESULTS & FINAL OUTCOMES
Verified V2G, Scalable Infrastructure, and Faster Development
- Verified Charger Compatibility: Successful integration of V2G (Chademo) and precise discharge control for grid stability.
- Scalable Infrastructure: Built a future-proof OCPP server ready for expansions, additional chargers, and evolving project requirements.
- Simplified Authorization & Reporting: Streamlined user access using RFID tokens.
- Faster Implementation: Leveraged Codibly’s OCPP accelerator, reducing time-to-market for pilot demo sites.
- Detailed Reporting: Provided energy transfer statistics and dynamic charging profiles for compliance and performance insights.
These achievements enabled IMP PAN to meet the goals of H2020 Serene, Sustenance, and V4Grid, positioning the organization for further research and commercial expansions in EV charging and V2G solutions.
Client Testimonial
What Our Partner Says
RELEVANT CASE STUDIES
Other Relevant Projects
CONTACT US