example.basic_example.calculate_power_output

example.basic_example.calculate_power_output(weather, my_turbine, e126)[source]

Calculates power output of wind turbines using the ModelChain.

The ModelChain is a class that provides all necessary steps to calculate the power output of a wind turbine. You can either use the default methods for the calculation steps, as done for ‘my_turbine’, or choose different methods, as done for the ‘e126’.

Parameters:
  • weather (pd.DataFrame) – Contains weather data time series.
  • my_turbine (WindTurbine) – WindTurbine object with self provided power curve.
  • e126 (WindTurbine) – WindTurbine object with power curve from data file provided by the windpowerlib.