Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SabineHaas committed Jan 17, 2019
1 parent e6eeb58 commit c21ff1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windpowerlib/wind_turbine.py
Expand Up @@ -302,8 +302,9 @@ def get_turbine_data_from_oedb(turbine_type, fetch_curve):
nominal_power = turbine_data.loc[turbine_type][
'installed_capacity_kw'] * 1000
df.columns = ['wind_speed', 'value']
# power in W
df['value'] = df['value'] * 1000
if fetch_curve == 'power_curve':
# power in W
df['value'] = df['value'] * 1000
return df, nominal_power


Expand Down

0 comments on commit c21ff1e

Please sign in to comment.