Skip to content

Commit

Permalink
Update scada_power_curve.py
Browse files Browse the repository at this point in the history
try increasing x_bin_width tolerance so Kelburn analysis will work
  • Loading branch information
aclerc committed Apr 29, 2024
1 parent bbabcba commit aa1a021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wind_up/scada_power_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def calc_pc_and_rated_ws(
ttype_str = ttype.turbine_type
original_x_bin_width = x_bin_width
success = False
while x_bin_width < (original_x_bin_width * 2):
while x_bin_width < (original_x_bin_width * 3):
try:
pc_per_ttype[ttype_str], rated_ws_per_ttype[ttype_str] = calc_pc_and_rated_ws_one_ttype(
df=df_ttype,
Expand Down

0 comments on commit aa1a021

Please sign in to comment.