Skip to content

Commit

Permalink
Merge branch 'master' into unchunk-spatial
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann authored Oct 19, 2023
2 parents f0fdf1c + 2555d81 commit be66fc0
Show file tree
Hide file tree
Showing 10 changed files with 119 additions and 90 deletions.
13 changes: 12 additions & 1 deletion RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,22 @@ Release Notes
Upcoming Release
================


* Fix: the wind turbine power curve is checked for a missing cut-out wind speed and an option to add a
cut-out wind speed at the end of the power curve is introduced. From the next release v0.2.13, adding
a cut-out wind speed will be the default behavior (`GH #316 <https://github.com/PyPSA/atlite/pull/316>`_)
* Compatibility with xarray >= 2023.09.: The chunked spatial dimension in `aggregate` was raising an error with the new xarray version. This is fixed now.
* Bug fix: Some wind turbine models did not include a cut-out wind speed, potentially causing overestimated power generation in windy conditions. Cut-out wind speeds were added to the following affected wind turbine models (`#316 <https://github.com/PyPSA/atlite/issues/314>`_):
* NREL_ReferenceTurbine_2016CACost_10MW_offshore
* NREL_ReferenceTurbine_2016CACost_6MW_offshore
* NREL_ReferenceTurbine_2016CACost_8MW_offshore
* NREL_ReferenceTurbine_2019ORCost_12MW_offshore
* NREL_ReferenceTurbine_2019ORCost_15MW_offshore
* NREL_ReferenceTurbine_2020ATB_12MW_offshore
* NREL_ReferenceTurbine_2020ATB_15MW_offshore
* NREL_ReferenceTurbine_2020ATB_18MW_offshore
* Fix: the wind turbine power curve is checked for a missing cut-out wind speed and an option to add a
cut-out wind speed at the end of the power curve is introduced. From the next release v0.2.13, adding
a cut-out wind speed will be the default behavior (`GH #316 <https://github.com/PyPSA/atlite/pull/316>`_)


Version 0.2.11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 125
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0]
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 25.0]
# Generated power from the power curves in MW
POW: [0.0, 0.0, 0.0, 0.471, 0.733, 1.059, 1.455, 1.928, 2.483, 3.125, 3.86, 4.691, 5.622, 6.655, 7.792, 8.858, 9.417, 9.767, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0]
POW: [0.0, 0.0, 0.0, 0.471, 0.733, 1.059, 1.455, 1.928, 2.483, 3.125, 3.86, 4.691, 5.622, 6.655, 7.792, 8.858, 9.417, 9.767, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 100
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0]
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 25.0]
# Generated power from the power curves in MW
POW: [0.0, 0.0, 0.0, 0.246, 0.386, 0.562, 0.776, 1.033, 1.337, 1.691, 2.1, 2.567, 3.096, 3.691, 4.356, 5.092, 5.62, 5.86, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0]
POW: [0.0, 0.0, 0.0, 0.246, 0.386, 0.562, 0.776, 1.033, 1.337, 1.691, 2.1, 2.567, 3.096, 3.691, 4.356, 5.092, 5.62, 5.86, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 112
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0]
V: [1.0, 2.0, 3.0, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 25.0]
# Generated power from the power curves in MW
POW: [0.0, 0.0, 0.0, 0.359, 0.561, 0.812, 1.118, 1.483, 1.911, 2.407, 2.974, 3.616, 4.336, 5.135, 6.015, 6.976, 7.518, 7.813, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0]
POW: [0.0, 0.0, 0.0, 0.359, 0.561, 0.812, 1.118, 1.483, 1.911, 2.407, 2.974, 3.616, 4.336, 5.135, 6.015, 6.976, 7.518, 7.813, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 136
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
V: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25]
# Generated power from the power curves in MW
POW: [0.0, 0.0, 0.0, 0.4, 1.141, 2.189, 3.581, 5.323, 7.579, 10.397, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0]
POW: [0.0, 0.0, 0.0, 0.4, 1.141, 2.189, 3.581, 5.323, 7.579, 10.397, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 149
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
V: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25]
# Generated power from the power curves in MW
POW: [0.0, 0.0, 0.0, 0.499, 1.424, 2.732, 4.469, 6.643, 9.459, 12.975, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0]
POW: [0.0, 0.0, 0.0, 0.499, 1.424, 2.732, 4.469, 6.643, 9.459, 12.975, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 136
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25]
# Generated power from the power curves in MW
POW: [0.0, 0.58, 0.985, 1.802, 3.03, 4.669, 6.72, 9.182, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0]
POW: [0.0, 0.58, 0.985, 1.802, 3.03, 4.669, 6.72, 9.182, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 150
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25]
# Generated power from the power curves in MW
POW: [0.0, 0.72, 1.239, 2.271, 3.817, 5.876, 8.45, 11.536, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0]
POW: [0.0, 0.72, 1.239, 2.271, 3.817, 5.876, 8.45, 11.536, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 15.0, 0.0]
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ HUB_HEIGHT: 156
# Power curve, specified as lists of velocities and powers, including
# cut-in and cut-out speeds
# Power curve velocities in m/s
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
V: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25]
# Generated power from the power curves in MW
POW: [0.0, 0.864, 1.488, 2.728, 4.584, 7.057, 10.146, 13.852, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0]
POW: [0.0, 0.864, 1.488, 2.728, 4.584, 7.057, 10.146, 13.852, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 0.0]
164 changes: 91 additions & 73 deletions examples/historic-comparison-germany.ipynb

Large diffs are not rendered by default.

0 comments on commit be66fc0

Please sign in to comment.