# Path: windpowerlib/tools.py
# class WindpowerlibUserWarning(UserWarning):
#     """
#     The WindpowerlibUserWarning is used to warn users if they use the
#     windpowerlib in an untypical way. It is not necessarily wrong but could
#     lead to an unwanted behaviour if you do not know what you are doing.
#     If you know what you are doing you can easily switch the warnings off:
# 
#     Examples
#     --------
#     >>> import warnings
#     >>> warnings.filterwarnings("ignore", category=WindpowerlibUserWarning)
#     """
# 
#     pass


import pandas as pd
import logging
import warnings
import os
from windpowerlib.tools import WindpowerlibUserWarning
from typing import NamedTuple
    :class:`~windpowerlib.wind_turbine.WindTurbine` object.

    Parameters
    ----------
    'wind_turbine' : WindTurbine
        A WindTurbine object with all necessary attributes.
    'number_of_turbines' : float
        The number of turbines. The number is not restricted to integer values.
    """

    __slots__ = ()


WindTurbineGroup.wind_turbine.__doc__ = (
    "A :class:`~windpowerlib.wind_farm.WindTurbine` object."
)
WindTurbineGroup.number_of_turbines.__doc__ = (
    "Number of turbines of type WindTurbine"
)


def get_turbine_data_from_file(turbine_type, path):
    r"""
    Fetches turbine data from a csv file.

    See `example_power_curves.csv', `example_power_coefficient_curves.csv` and
    `example_turbine_data.csv` in example/data for the required format of
    a csv file. Make sure to provide wind speeds in m/s and power in W or
    convert units after loading the data.


# Path: windpowerlib/tools.py
# class WindpowerlibUserWarning(UserWarning):
#     """
#     The WindpowerlibUserWarning is used to warn users if they use the
#     windpowerlib in an untypical way. It is not necessarily wrong but could
#     lead to an unwanted behaviour if you do not know what you are doing.
#     If you know what you are doing you can easily switch the warnings off:
# 
#     Examples
#     --------
#     >>> import warnings
#     >>> warnings.filterwarnings("ignore", category=WindpowerlibUserWarning)
#     """
# 
#     pass


# Path: windpowerlib/wind_turbine.py
import pandas as pd
import logging
import warnings
import os
from windpowerlib.tools import WindpowerlibUserWarning
from typing import NamedTuple

    :class:`~windpowerlib.wind_turbine.WindTurbine` object.

    Parameters
    ----------
    'wind_turbine' : WindTurbine
        A WindTurbine object with all necessary attributes.
    'number_of_turbines' : float
        The number of turbines. The number is not restricted to integer values.
    """

    __slots__ = ()


WindTurbineGroup.wind_turbine.__doc__ = (
    "A :class:`~windpowerlib.wind_farm.WindTurbine` object."
)
WindTurbineGroup.number_of_turbines.__doc__ = (
    "Number of turbines of type WindTurbine"
)


def get_turbine_data_from_file(turbine_type, path):
    r"""
    Fetches turbine data from a csv file.

    See `example_power_curves.csv', `example_power_coefficient_curves.csv` and
    `example_turbine_data.csv` in example/data for the required format of
    a csv file. Make sure to provide wind speeds in m/s and power in W or
    convert units after loading the data.


    Parameters