Skip to content

Commit faff7eb

Browse files
committed
Add option to value error raising
1 parent 3ac4d64 commit faff7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windpowerlib/modelchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ def wind_speed_hub(self, weather_df):
310310
else:
311311
raise ValueError("'{0}' is an invalid value. ".format(
312312
self.wind_speed_model) + "`wind_speed_model` must be "
313-
"'logarithmic', 'hellman' or "
314-
"'interpolation_extrapolation'.")
313+
"'logarithmic', 'hellman', 'interpolation_extrapolation' " +
314+
"or 'log_interpolation_extrapolation'.")
315315
return wind_speed_hub
316316

317317
def turbine_power_output(self, wind_speed_hub, density_hub):

0 commit comments

Comments
 (0)