Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 8 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords from Contributors

energy-system
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: fneum
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 191 KB
Statistics
  • Stars: 7
  • Watchers: 4
  • Forks: 8
  • Open Issues: 4
  • Releases: 0
Created about 4 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

Processing of Core TSO Grid Data

As part of the extension of Flow-Based Market Coupling (FBMC) from FR-DE-BE-NL-LU eastwards this year to encompass the "Core" European countries (FR-DE-BE-NL-LU-PL-CZ-SK-SI-HU-RO-HR-AT), the grid operators published in December 2021 a Static Grid Model covering these Core countries:

https://www.jao.eu/static-grid-model

"The aim of the publication of the SGM is to allow market participants to do market analyses in order to enhance efficiency in the market."

https://www.jao.eu/sites/default/files/2021-12/20211130MMPublication%20Core%20Static%20Grid%20Model_FV.pdf

https://www.jao.eu/core-fb-mc

Unlike previously-published models, this has a uniform format, thermal ratings for different seasons, non-obscured substation names and all electrical parameters and lengths. (E.g. unlike the previous data tables on TSO websites which were different for each TSO, or the TYNDP and BNetzA grid models which often had cryptic or obscured substation names which hinders georeferencing).

Installation

sh conda env create -f environment.yaml

Running

sh snakemake -j 1 process_data

Helpers for Manual Corrections

Openinframap.org

py import webbrowser import pandas as pd fn = "outputs/locator-results.csv" df = pd.read_csv(fn, index_col=0) i = 0

py i += 1 name, x, y, _ = df.iloc[i] print(name) webbrowser.open(f'https://openinframap.org/#15/{y}/{x}')

Match substation names with OpenStreetMap

See ./OSM-locator.

  1. Download PBF files with OSM data (all NUTS 1 files for one country for better performance)
  2. Get the information about the EHV substations in OSM
  3. Compare the names the the OSM data and Core TSO with fuzzywuzzy (it gives a list of the 5 best matches)
  4. Check manually if the choices are correct:
    • If is not the first match, see if it is one of the others (almost always is the second)
    • If there is data missing in OSM: Add it in OSM and return to step 1
  5. A couple of dictionries make the linguistic adjustments that maximize the matching names.
  6. Eventually the only substations not found are either located in another country or still under construction.
  • All the substaions in the Core-TSO data are match to a substaion in OSM (except for the the ones located in a different country or under construction).
  • Updating the OSM is the most time consuming step, but is easy to do and worth it for the community.
  • In OSM sometimes there is more than one substation with the same name: Just take the first one (for now).
  • A 100 % match of the names is impossible (more fancy fuzzywuzzy functions were tested), but the manual adjustments is minimal.
  • The missing data from other countries and Tie Lines and Trafos, could be allocated later

Convert locator results pd.DataFrame to YAML

```py import pandas as pd import yaml fn = "outputs/locator-results.csv" df = pd.readcsv(fn, indexcol=0) d = df.setindex('name')[["x", "y"]].T.todict()

with open('my-corrections.yaml', 'w') as yamlfile: yaml.dump( d, yamlfile, defaultflowstyle=False, allowunicode=True, sortkeys=False ) ```

License

The code is distributed with an MIT license.

The source data has no license. Use at own risk.

Owner

  • Name: Fabian Neumann
  • Login: fneum
  • Kind: user
  • Location: Berlin
  • Company: TU Berlin

Energy System Modeller at Technische Universität Berlin

Citation (CITATION.cff)

cff-version: 1.1.0
title: "Processing of Core TSO Grid Data"
repository: https://github.com/fneum/core-tso-data
version: 0.01
license: MIT
authors:
  - family-names: Neumann
    given-names: Fabian
    orcid: https://orcid.org/0000-0001-8551-1480
  - family-names: Brown
    given-names: Tom
    orcid: https://orcid.org/0000-0001-5898-1911
  - family-names: Syranidou
    given-names: Chloi
    orcid: https://orcid.org/0000-0002-3332-6635
  - family-names: Weinhold
    given-names: Richard
    orcid: https://orcid.org/0000-0001-8741-2830
  - family-names: Unnewehr
    given-names: Jan Frederick
    orcid: https://orcid.org/0000-0003-0284-2933
  - family-names: Offermann
    given-names: Nils
    orcid: https://orcid.org/0000-0002-7148-8520
  - family-names: Raventós
    given-names: Oriol
    orcid: https://orcid.org/0000-0002-0512-4331

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 34
  • Total Committers: 8
  • Avg Commits per committer: 4.25
  • Development Distribution Score (DDS): 0.676
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Fabian Neumann f****n@o****e 11
pre-commit-ci[bot] 6****] 8
rave_or o****a@d****e 7
Nils Offermann s****e@i****e 2
c.syranidou c****u@f****e 2
riw r****w@w****e 2
JanFrederickUnnewehr 5****r 1
noffermann 8****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 12
  • Total pull requests: 49
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Total issue authors: 2
  • Total pull request authors: 7
  • Average comments per issue: 1.67
  • Average comments per pull request: 0.04
  • Merged pull requests: 48
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • fleimgruber (2)
  • fneum (1)
Pull Request Authors
  • pre-commit-ci[bot] (7)
  • OriolRaventos (3)
  • JanFrederickUnnewehr (1)
  • noffermann (1)
  • bourbl (1)
  • fneum (1)
  • richard-weinhold (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

environment.yaml pypi