Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic line rating #189

Merged
merged 15 commits into from
Nov 18, 2021
Merged

Dynamic line rating #189

merged 15 commits into from
Nov 18, 2021

Conversation

FabianHofmann
Copy link
Contributor

@FabianHofmann FabianHofmann commented Oct 18, 2021

Closes #131

Major Changes

  1. A new intersection matrix function was added, which works similarly to incidence matrix but has boolean values.
  2. Wind retrieval now also computes the wind direction given by the azimuth in radians. Note that this does not require to download additional variables, thus it hardly affects the computing time.
  3. Line rating and line ratings conversion functions were added based on the IEEE-738 standard, with small modifications
  4. Tests against the IEEE sample case and two others were added.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I tested my contribution locally and it seems to work fine.
  • I locally ran pytest inside the repository and no unexpected problems came up.
  • I have adjusted the docstrings in the code appropriately.
  • I have documented the effects of my code changes in the documentation doc/.
  • I have added newly introduced dependencies to environment.yaml file.
  • I have added a note to release notes doc/release_notes.rst.
  • I have used pre-commit run --all to lint/format/check my contribution

@FabianHofmann FabianHofmann changed the title Line rating Dynamic line rating Oct 18, 2021
@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2021

Codecov Report

Merging #189 (45aa236) into master (0b2c19c) will increase coverage by 0.99%.
The diff coverage is 96.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
+ Coverage   74.15%   75.15%   +0.99%     
==========================================
  Files          18       18              
  Lines        1366     1441      +75     
  Branches      183      189       +6     
==========================================
+ Hits         1013     1083      +70     
- Misses        291      294       +3     
- Partials       62       64       +2     
Impacted Files Coverage Δ
atlite/convert.py 80.95% <94.73%> (+5.13%) ⬆️
atlite/cutout.py 72.53% <100.00%> (+0.43%) ⬆️
atlite/datasets/era5.py 86.95% <100.00%> (+0.19%) ⬆️
atlite/gis.py 91.16% <100.00%> (-0.40%) ⬇️
atlite/wind.py 72.22% <100.00%> (+1.63%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b2c19c...45aa236. Read the comment docs.

@FabianHofmann FabianHofmann merged commit 83e101b into master Nov 18, 2021
@FabianHofmann FabianHofmann mentioned this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add weather-dependent time-series for transmission line capacities
2 participants