windpowerlib.modelchain.Modelchain.run_model

Modelchain.run_model(weather, data_height)[source]

Runs the model.

Parameters:
  • weather (DataFrame or Dictionary) – Containing columns or keys with the timeseries for wind speed v_wind in m/s ,roughness length z0 in m, temperature temp_air in K and pressure pressure in Pa, as well as optionally wind speed v_wind_2 in m/s and temperature temp_air_2 in K 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:

Return type:

self