windpowerlib.modelchain.Modelchain.v_wind_hub

Modelchain.v_wind_hub(weather, data_height)[source]

Calculates the wind speed at hub height.

The method specified by the parameter wind_model is used.

Parameters:
  • weather (DataFrame or Dictionary) – Containing columns or keys with the timeseries for wind speed v_wind in m/s and roughness length z0 in m, as well as optionally wind speed v_wind_2 in m/s at different height for interpolation.
  • data_height (DataFrame or Dictionary) – Containing columns or keys with the heights in m for which the corresponding parameters in weather apply.
Returns:

v_wind – Wind speed in m/s at hub height.

Return type:

pandas.Series or array