Skip to content

Commit 3ec031c

Browse files
committed
Add deprecations to whatsnew and define deprecation more clearly
1 parent fb3ea71 commit 3ec031c

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

doc/whatsnew/v0-1-2.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ New features
55
############
66
* new attribute nominal_power in WindFarm and WindTurbineCluster classes (PR #53)
77

8-
9-
Documentation
10-
#############
11-
12-
13-
Testing
14-
#######
15-
16-
178
Bug fixes
189
#########
1910
* fix issue with pandas Multiindex labels and codes attributes (PR #51)
@@ -25,6 +16,10 @@ Other changes
2516
* Added kwargs in init of wind turbine, wind farm, wind turbine cluster
2617
* We are working with deprecation warnings to draw our user's attention to important changes (PR #53).
2718

19+
Deprecations
20+
############
21+
* installed_power is deprecated, use nominal_power instead.
22+
* wake_losses_model is deprecated, will be defined by the type of wind_farm_efficiency
2823

2924
Contributors
3025
############

windpowerlib/power_curves.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def wake_losses_to_power_curve(power_curve_wind_speeds, power_curve_values,
206206
207207
"""
208208
warnings.warn(
209-
'wake_losses_model is deprecated.',
209+
'wake_losses_model is deprecated, will be defined by the type of '
210+
'wind_farm_efficiency.',
210211
FutureWarning)
211212
# Create power curve DataFrame
212213
power_curve_df = pd.DataFrame(

0 commit comments

Comments
 (0)