Skip to content

Commit ee963ae

Browse files
committed
Correction
1 parent 6cac680 commit ee963ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windpowerlib/wind_farm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ def assign_power_curve(self, wake_losses_method='power_efficiency_curve',
226226
power_curve.set_index(['wind_speed']) *
227227
turbine_type_dict['number_of_turbines'])], axis=1)
228228
# Sum up all power curves
229-
wind_farm_power_curve = pd.DataFrame(
230-
df.interpolate(method='index').sum(axis=1))
229+
wind_farm_power_curve = pd.DataFrame(
230+
df.interpolate(method='index').sum(axis=1))
231231
wind_farm_power_curve.columns = ['power']
232232
# Return wind speed (index) to a column of the data frame
233233
wind_farm_power_curve.reset_index('wind_speed', inplace=True)

0 commit comments

Comments
 (0)