example.turbine_cluster_modelchain_example.initialize_wind_farms

example.turbine_cluster_modelchain_example.initialize_wind_farms(my_turbine, e126)[source]

Initializes two WindFarm objects.

This function shows how to initialize a WindFarm object. You need to provide at least a name and a the wind farm’s wind turbine fleet as done below for ‘example_farm’. Optionally you can provide a wind farm efficiency (which can be constant or dependent on the wind speed) and coordinates as done for ‘example_farm_2’. In this example the coordinates are not being used as just a single weather data set is provided as example data.

Parameters:
  • my_turbine (WindTurbine) – WindTurbine object with self provided power curve.
  • e126 (WindTurbine) – WindTurbine object with power curve from data file provided by the windpowerlib.
Returns:

Return type:

Tuple (WindFarm, WindFarm)