Summary
Electricity distribution codes are dense, complex regulatory documents that govern the planning, operation, and management of power grids. Understanding and comparing these codes across different countries is crucial for enhancing grid resilience, integrating renewable energy sources, and facilitating more informed planning. However, their technical language and voluminous nature make manual analysis time-consuming and prone to oversight. There is a pressing need for automated, intelligent tools that can semantically interpret these codes, extract relevant insights, and support decision-makers in navigating regulatory complexity efficiently and accurately. This paper contributes by; (1) introducing a novel Retrieval-Augmented
Read more Read lessGeneration (RAG)-based semantic analysis framework for electricity codes, providing quantitative and qualitative comparisons across countries, and showcasing the system’s potential to accelerate understanding and decision-making in power grid management; (2)
Identifying the differences between three codes and show the impact of our RAG-approach.
Results demonstrate that Country#2 code leads with a high average similarity (0.289) and full coverage above threshold, indicating the system found rich, focused content relevant to planning. Country#1 code scores low similarity (0.0593) and zero coverage, reflecting fewer relevant passages and broader, less focused retrievals. Country#3 is intermediate, with moderate similarity (0.1413) and stronger coherence but limited relevant coverage. Moreover, the results also reveals that the system captures key differences. Country#1 code centers on planning but lacks detailed forecasting and digital integration; Country#2 balances planning, forecasting, and renewable guidelines; Country#3 enforces long-term horizons and strict standards with heavier regulatory complexity. These patterns reflect how the RAG system effectively distinguishes semantic richness and document focus across diverse codes.
This RAG-based approach dramatically accelerates understanding of complex regulatory texts, transforming dense documents into accessible insights. By automating semantic retrieval and interpretation, it empowers policymakers and engineers to make faster, better-informed decisions, fostering smarter, more resilient power grid management.
Additional informations
| Publication type | Session Materials |
|---|---|
| Reference | D2_10168_2026 |
| Publication year | |
| Publisher | CIGRE |
| Country | Egypt |
| Study committees | |
| File size | 882 KB |
| Price for non member | 30 € |
| Price for member | 30 € |
Authors
MAHMOUD Hassan - Faculty of Engineering, Al Nahda University, Egypt Egyptian Electricity Holding Company (EEHC), EGYPT; MAHMOUD Haitham - College of Computing, Birmingham City university, Birmingham, UK