Skip to content

Commit 52c2fde

Browse files
committed
Delete TODO
1 parent ad79a18 commit 52c2fde

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

windpowerlib/power_output.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ def cp_curve(v_wind, rho_hub, d_rotor, cp_values):
6060
6161
"""
6262
# cp time series
63-
# TODO introduce new parameter v_cutout to allow for power output above
64-
# maximum wind speed from power coefficient curve (maximum power output
65-
# must be limited)
6663
cp_series = np.interp(v_wind, cp_values.index, cp_values.cp,
6764
left=0, right=0)
6865
power_output = (1 / 8 * rho_hub * d_rotor ** 2 * np.pi
@@ -148,8 +145,6 @@ def p_curve(p_values, v_wind):
148145
wind speed given in the power curve is zero.
149146
150147
"""
151-
# TODO introduce new parameter v_cutout to allow for power output above
152-
# maximum wind speed from power curve
153148
power_output = np.interp(v_wind, p_values.index, p_values.P,
154149
left=0, right=0)
155150
# Set index for time series
@@ -226,8 +221,6 @@ def p_curve_density_corr(v_wind, rho_hub, p_values):
226221
at Reiner Lemoine Institute, 2014, p. 13
227222
228223
"""
229-
# TODO introduce new parameter v_cutout to allow for power output above
230-
# maximum wind speed from power curve
231224
power_output = [(np.interp(v_wind[i],
232225
p_values.index * (1.225 / rho_hub[i])**(
233226
np.interp(p_values.index,

0 commit comments

Comments
 (0)