Skip to content

Commit de984d0

Browse files
committed
Add comments
1 parent 37c686e commit de984d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

windpowerlib/modelchain.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ def v_wind_hub(self, weather, data_height):
224224
with `v_wind` of which data height is closer to hub height.
225225
226226
"""
227-
# Check if wind speed data is at hub height.
228227
if 'v_wind_2' not in weather:
229228
weather['v_wind_2'] = None
230229
data_height['v_wind_2'] = None
@@ -235,7 +234,7 @@ def v_wind_hub(self, weather, data_height):
235234
weather['v_wind_2'])
236235
v_wind_height = values.closest_value
237236
v_wind_closest = values.corresp_value
238-
237+
# Check if wind speed data is at hub height.
239238
if v_wind_height == self.wind_turbine.hub_height:
240239
logging.debug('Using given wind speed ' + values.logging_string)
241240
v_wind = v_wind_closest

0 commit comments

Comments
 (0)