diff --git a/doc/conf.py b/doc/conf.py index 9c80ec3..9191a78 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -69,7 +69,7 @@ # General information about the project. project = u'windpowerlib' -copyright = u'2016-2021, oemof developer group' +copyright = u'2016-2023, oemof developer group' author = u'oemof developer group' import windpowerlib diff --git a/example/modelchain_example.ipynb b/example/modelchain_example.ipynb index 5afb2eb..6aadba7 100644 --- a/example/modelchain_example.ipynb +++ b/example/modelchain_example.ipynb @@ -518,7 +518,7 @@ " x='wind_speed', y='value', style='*',\n", " title='Enercon E126 power coefficient curve')\n", " plt.xlabel('Wind speed in m/s')\n", - " plt.ylabel('Power in W')\n", + " plt.ylabel('Power coefficient $\\mathrm{C}_\\mathrm{P}$')\n", " plt.show()\n", " if e126.power_curve is not None:\n", " e126.power_curve.plot(x='wind_speed', y='value', style='*',\n", diff --git a/example/modelchain_example.py b/example/modelchain_example.py index 18e4916..bcca0f3 100644 --- a/example/modelchain_example.py +++ b/example/modelchain_example.py @@ -274,7 +274,7 @@ def plot_or_print(my_turbine, e126, my_turbine2): title="Enercon E126 power curve", ) plt.xlabel("Wind speed in m/s") - plt.ylabel("Power in W") + plt.ylabel("Power coefficient $\mathrm{C}_\mathrm{P}$") plt.show() if my_turbine.power_curve is not False: my_turbine.power_curve.plot( diff --git a/setup.py b/setup.py index a9fb4e5..438f425 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,8 @@ def read(fname): packages=["windpowerlib"], package_data={ "windpowerlib": [ - os.path.join("data", "*.csv"), + os.path.join("data", "**.csv"), + os.path.join("data", "default_turbine_data", "*.csv"), os.path.join("oedb", "*.csv"), ] }, diff --git a/windpowerlib/wind_turbine.py b/windpowerlib/wind_turbine.py index 6655666..fd068fa 100644 --- a/windpowerlib/wind_turbine.py +++ b/windpowerlib/wind_turbine.py @@ -78,7 +78,7 @@ class WindTurbine(object): corresponding power curve value in W. Default: None. nominal_power : None or float The nominal output of the wind turbine in W. Default: None. - + Notes ------ Your wind turbine object needs to have a power coefficient or power curve.