windpowerlib.wind_turbine.WindTurbine.fetch_turbine_data

WindTurbine.fetch_turbine_data()[source]

Fetches data of the requested wind turbine.

Method fetches nominal power as well as power coefficient curve or power curve from a data file provided along with the windpowerlib.

Returns:Nominal power of the requested wind turbine.
Return type:float

Examples

>>> from windpowerlib import wind_turbine
>>> enerconE126 = {
...    'hub_height': 135,
...    'd_rotor': 127,
...    'turbine_name': 'ENERCON E 126 7500'}
>>> e126 = wind_turbine.WindTurbine(**enerconE126)
>>> print(e126.cp_values.cp[5.0])
0.423
>>> print(e126.nominal_power)
7500000.0