Skip to content

Commit

Permalink
Format using black
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou committed Dec 9, 2020
1 parent 38bdfd2 commit fd15b0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windpowerlib/power_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def power_curve_density_correction(
else:
panda_series = False

power_output = _get_power_output(wind_speed, power_curve_wind_speeds.to_numpy(), density.to_numpy(), power_curve_values.to_numpy())
power_output = _get_power_output(wind_speed, power_curve_wind_speeds.to_numpy(
), density.to_numpy(), power_curve_values.to_numpy())

# Convert results to the data type of the input data
if panda_series:
Expand Down Expand Up @@ -276,7 +277,7 @@ def _get_power_output(wind_speed, power_curve_wind_speeds, density, power_curve_
Density of air at hub height in kg/m³.
Returns
-------
:numpy: `numpy.array`
:numpy:`numpy.array`
Electrical power output of the wind turbine in W.
"""

Expand Down

0 comments on commit fd15b0b

Please sign in to comment.