The Danish National Energy Data Lake: Requirements, Technical Architecture, and Tool Selection

Hamdi Ben Hamadou, Torben Bach Pedersen, Christian ThomsenIEEE BigData 2020

Abstract

Renewable Energy Sources such as wind and solar do not emit CO2 but their production vary considerably depending on time and weather. Thus, it is important to use the flexibility in device loads to shift energy consumption to follow the production. Utilizing all available energy flexibility requires applying machine learning and AI on massive amounts of Big Data from many different actors and devices. The project Flexible Energy Denmark (FED) is building the foundation for this for the entire Danish society. Specifically, FED collects data from a number of Living Labs (LLs) in representative real-life physical environments. The data is stored in the Danish National Energy Data Lake, called FED Data Lake (FEDDL) to enable efficient and advanced analysis. FEDDL is built using only open source tools which can run both on-premise and in cloud settings. In this paper, we describe the requirements for FEDDL based on a representative LL case study, present its technical architecture, and provide a comparison of relevant tools along with the arguments for which ones we selected.

Introduction: The Challenge of Demand Flexibility

The global transition toward renewable energy faces a fundamental challenge: intermittency. Unlike traditional power plants, wind and solar production are dictated by weather patterns rather than demand. To achieve a low-carbon grid, the focus must shift from controlling production to managing demand flexibility. This involves shifting energy-intensive tasks—such as electric vehicle (EV) charging or industrial heating—to periods of high green energy production.

Exploiting this flexibility requires the analysis of heterogeneous "Big Data" from thousands of sources, including smart meters, weather sensors, and grid operators. This data is not only massive in volume but also highly sensitive, necessitating a scalable, secure, and vendor-neutral infrastructure. The FED Data Lake (FEDDL) was developed to address these needs for the Danish energy sector.

Technical Architecture

The FEDDL architecture follows a requirement-driven approach, ensuring that both functional and non-functional needs are met through a structured stack of open-source tools.

High-level overview of the FEDDL ecosystem, connecting data sources to consumers through a centralized data lake.

As shown in the overview above, the system acts as a central hub between data providers (Living Labs) and data consumers (researchers and EnergyTech companies). The internal structure is organized into five functional layers and four cross-cutting layers to ensure data integrity and security.

The detailed functional architecture of FEDDL, illustrating the layered approach to ingestion, storage, exploration, and governance.

Functional Layers

  1. Data Sources: Real-world data provided by Living Labs (LLs).
  2. Collection/Ingestion: A robust layer handling both batch (SFTP) and real-time (Kafka) streams.
  3. Data Storage: A distributed file system organized into three distinct zones: Landing (raw data), Work (intermediate results), and Gold (clean, structured data for final analysis).
  4. Data Exploration: A suite of tools supporting SQL queries, custom Python/Scala code, and interactive notebooks.
  5. Data Consumers: The end-point for researchers and commercial entities to extract value.

These layers are supported by cross-cutting concerns including Access Management, Metadata Governance, and GDPR-compliant Privacy/Anonymization.

Case Study: The DSOlab Dataset

The architecture was validated using data from the DSOlab, a primary case study provided by a Danish Distribution System Operator. This dataset includes:

  • Scale: High-resolution data from over 140,000 residential and industrial consumers.
  • Data Types: Energy consumption/production meter data and associated customer installation metadata.
  • Temporal Depth: At least four years of historical data with hourly or quarter-hourly granularity.

Tool Selection and Implementation

To avoid vendor lock-in, the FEDDL is built entirely on Apache Software Foundation projects. Key selections include:

  • Ingestion: Apache NiFi was selected for its superior web GUI, end-to-end encryption, and flexibility in handling diverse formats like JSON, CSV, and Parquet.
  • Storage: HDFS provides the necessary horizontal scalability and fault tolerance for national-scale data.
  • Processing: Apache Spark serves as the primary engine, offering significant speed advantages over traditional MapReduce by utilizing in-memory computation.
  • Governance: Apache Atlas and Apache Ranger are integrated to manage metadata and enforce fine-grained access control, ensuring strict GDPR compliance.

Conclusion and Future Work

The FEDDL provides a robust, open-source foundation for the green energy transition in Denmark. By separating data into zones and embedding privacy as a core architectural layer, the system balances the need for high-quality data with strict security requirements. Future developments will focus on enhancing anonymization techniques to improve the privacy-utility trade-off and integrating multidimensional "data cube" analytics for faster real-time grid response.

Summary updated

BibTeX
@inproceedings{hamadou2020danish,
  author = {Hamdi Ben Hamadou and Torben Bach Pedersen and Christian Thomsen},
  title = {{The Danish National Energy Data Lake: Requirements, Technical Architecture, and Tool Selection}},
  booktitle = {IEEE BigData},
  year = {2020},
  url = {https://openreview.net/forum?id=0wcWXV6ohG},
}
Figure