Pre-Processed Power Grid Frequency Time Series
- 1. Forschungszentrum Jülich GmbH, Institute for Energy and Climate Research - Systems Analysis and Technology Evaluation (IEK-STE), 52428 Jülich, Germany
- 2. School of Mathematical Sciences, Queen Mary University of London, London E1 4NS, United Kingdom
Description
Overview
This repository contains ready-to-use frequency time series as well as the corresponding pre-processing scripts in python. The data covers three synchronous areas of the European power grid:
- Continental Europe
- Great Britain
- Nordic
This work is part of the paper "Predictability of Power Grid Frequency"[1]. Please cite this paper, when using the data and the code. For a detailed documentation of the pre-processing procedure we refer to the supplementary material of the paper.
Data sources
We downloaded the frequency recordings from publically available repositories of three different Transmission System Operators (TSOs).
- Continental Europe [2]: We downloaded the data from the German TSO TransnetBW GmbH, which retains the Copyright on the data, but allows to re-publish it upon request [3].
- Great Britain [4]: The download was supported by National Grid ESO Open Data, which belongs to the British TSO National Grid. They publish the frequency recordings under the NGESO Open License [5].
- Nordic [6]: We obtained the data from the Finish TSO Fingrid, which provides the data under the open license CC-BY 4.0 [7].
Content of the repository
A) Scripts
- In the "Download_scripts" folder you will find three scripts to automatically download frequency data from the TSO's websites.
- In "convert_data_format.py" we save the data with corrected timestamp formats. Missing data is marked as NaN (processing step (1) in the supplementary material of [1]).
- In "clean_corrupted_data.py" we load the converted data and identify corrupted recordings. We mark them as NaN and clean some of the resulting data holes (processing step (2) in the supplementary material of [1]).
The python scripts run with Python 3.7 and with the packages found in "requirements.txt".
B) Yearly converted and cleansed data
The folders "<year>_converted" contain the output of "convert_data_format.py" and "<year>_cleansed" contain the output of "clean_corrupted_data.py".
- File type: The files are zipped csv-files, where each file comprises one year.
- Data format: The files contain two columns. The second column contains the frequency values in Hz. The first one represents the time stamps in the format Year-Month-Day Hour-Minute-Second, which is given as naive local time. The local time refers to the following time zones and includes Daylight Saving Times (python time zone in brackets):
- TransnetBW: Continental European Time (CE)
- Nationalgrid: Great Britain (GB)
- Fingrid: Finland (Europe/Helsinki)
- NaN representation: We mark corrupted and missing data as "NaN" in the csv-files.
Use cases
We point out that this repository can be used in two different was:
- Use pre-processed data: You can directly use the converted or the cleansed data. Note however, that both data sets include segments of NaN-values due to missing and corrupted recordings. Only a very small part of the NaN-values were eliminated in the cleansed data to not manipulate the data too much.
- Produce your own cleansed data: Depending on your application, you might want to cleanse the data in a custom way. You can easily add your custom cleansing procedure in "clean_corrupted_data.py" and then produce cleansed data from the raw data in "<year>_converted".
License
This work is licensed under multiple licenses, which are located in the "LICENSES" folder.
- We release the code in the folder "Scripts" under the MIT license .
- The pre-processed data in the subfolders "**/Fingrid" and "**/Nationalgrid" are licensed under CC-BY 4.0.
- TransnetBW originally did not publish their data under an open license. We have explicitly received the permission to publish the pre-processed version from TransnetBW. However, we cannot publish our pre-processed version under an open license due to the missing license of the original TransnetBW data.
Changelog
Version 2:
- Add time zone information to description
- Include new frequency data
- Update references
- Change folder structure to yearly folders
Version 3:
-
Correct TransnetBW files for missing data in May 2016
Notes
Files
2012_cleansed.zip
Files
(5.5 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:16b67bb70bad77e532af7a0294073f54
|
104.1 MB | Preview Download |
|
md5:85041c2100d7accddfee676282d3528a
|
104.1 MB | Preview Download |
|
md5:c8b0aa3614116a94c132d8775c372b08
|
112.5 MB | Preview Download |
|
md5:f3300c4465f278316db4c403edda1862
|
112.6 MB | Preview Download |
|
md5:f0859da4e7558b8714911eeb3b759d7b
|
232.9 MB | Preview Download |
|
md5:a453648e5758360922ea53750e2b88ba
|
232.9 MB | Preview Download |
|
md5:7e0755e1de3c0a670616c4492061069e
|
381.7 MB | Preview Download |
|
md5:af54c8db3667de18aa84e9d9db94ca48
|
382.1 MB | Preview Download |
|
md5:494e9a007ba131f75b97b294e4a0d615
|
391.0 MB | Preview Download |
|
md5:b253421cb710602352fb16f47b4fc382
|
391.0 MB | Preview Download |
|
md5:11d728f065bb220c3653aa03be2d5e20
|
388.5 MB | Preview Download |
|
md5:fa3813d06bb21e304b6e55ebd50f4bb2
|
388.6 MB | Preview Download |
|
md5:9e0c6848854a81ed01b39560f6bf464b
|
383.4 MB | Preview Download |
|
md5:cc166c1b68a87c31b5a594cc527b0493
|
383.5 MB | Preview Download |
|
md5:e9ceb5accda3b6d22f09aa11e072f26c
|
389.9 MB | Preview Download |
|
md5:70ff4fa773382905060d15656724a1f4
|
389.9 MB | Preview Download |
|
md5:65993ddacba16514cafb490c2f9b20ab
|
266.5 MB | Preview Download |
|
md5:06a9128d5c7f4c9e65ffeb4523ee8cd3
|
266.6 MB | Preview Download |
|
md5:cc85b95cb3e68cf70b5ec86b06ffefa4
|
79.1 MB | Preview Download |
|
md5:199d29d1af3f79164dc27fc3853b9c24
|
79.1 MB | Preview Download |
|
md5:9433943f51399966a7fd735815f509f9
|
5.2 kB | Preview Download |
|
md5:f63defb214a60ecc4dd6862d85d28730
|
672 Bytes | Preview Download |
|
md5:c8a505781f3d7d671a2d2f9cf74382fa
|
7.0 kB | Preview Download |
|
md5:af898ec5b26f151fe26a7a486255d47c
|
8.5 kB | Preview Download |
Additional details
References
- [1] J. Kruse, B. Schäfer, and D. Witthaut, "Predictability of Power Grid Frequency," IEEE Access, vol. 8, pp. 149435–149446, 2020.
- [2] TransnetBW GmbH. "Netzfrequenz". https://www.transnetbw.de/de/strommarkt/systemdienstleistungen/regelenergie-bedarf-und-abruf (accessed on 26.03.2020)
- [3] TransnetBW GmbH. "Conditions of Use". https://www.transnetbw.com/en/conditions-of-use (accessed on 26.03.2020)
- [4] National Grid ESO. "Historic frequency data". https://www.nationalgrideso.com/balancing-services/frequency-response-services/historic-frequency-data (accessed on 26.03.2020)
- [5] National Grid ESO. "NGESO Open Licence". https://national-grid.ckan.io/licence (accessed on 26.03.2020)
- [6] Fingrid Oyj. "Frequency - historical data". https://data.fingrid.fi/en/dataset/frequency-historical-data (accessed on 26.03.2020)
- [7] Creative Commons. "Attribution 4.0 International (CC BY 4.0)". https://creativecommons.org/licenses/by/4.0/deed.en (accessed on 26.03.2020)