example.basic_example.initialise_wind_turbines¶
-
example.basic_example.
initialise_wind_turbines
()[source]¶ Initialises two
WindTurbine
objects.Function shows two ways to initialise a WindTurbine object. You can either specify your own turbine, as done below for ‘myTurbine’, or fetch power and/or power coefficient curve data from data files provided by the windpowerlib, as done for the ‘enerconE126’. Execute
windpowerlib.wind_turbine.get_turbine_types()
orwindpowerlib.wind_turbine.get_turbine_types( filename='power_coefficient_curves.csv')
to get a list of all wind turbines for which power and power coefficient curves respectively are provided.Returns: Return type: Tuple (WindTurbine, WindTurbine)