Skip to content

Commit d712171

Browse files
committed
Fix names in example
1 parent 025dc89 commit d712171

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/modelchain_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def initialize_wind_turbines():
102102
that is provided along with the windpowerlib, as done for the
103103
'enercon_e126', or specify your own turbine by directly providing a power
104104
(coefficient) curve, as done below for 'my_turbine', or provide your own
105-
turbine data in csv files, as done for 'dummy_turbine'.
105+
turbine data in csv files, as done for 'my_turbine2'.
106106
107107
To get a list of all wind turbines for which power and/or power coefficient
108108
curves are provided execute `
@@ -180,7 +180,7 @@ def calculate_power_output(weather, my_turbine, e126, my_turbine2):
180180
the default methods for the calculation steps, as done for 'my_turbine',
181181
or choose different methods, as done for the 'e126'. Of course, you can
182182
also use the default methods while only changing one or two of them, as
183-
done for 'dummy_turbine'.
183+
done for 'my_turbine2'.
184184
185185
Parameters
186186
----------
@@ -257,7 +257,7 @@ def plot_or_print(my_turbine, e126, my_turbine2):
257257
if plt:
258258
e126.power_output.plot(legend=True, label="Enercon E126")
259259
my_turbine.power_output.plot(legend=True, label="myTurbine")
260-
my_turbine2.power_output.plot(legend=True, label="dummyTurbine")
260+
my_turbine2.power_output.plot(legend=True, label="myTurbine2")
261261
plt.xlabel("Time")
262262
plt.ylabel("Power in W")
263263
plt.show()

0 commit comments

Comments
 (0)