We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c98e44 commit 12b0578Copy full SHA for 12b0578
windpowerlib/wind_turbine.py
@@ -163,12 +163,12 @@ def restructure_data():
163
data = np.delete(data, 0, 0)
164
df = pd.DataFrame(data, columns=['v_wind', self.fetch_curve])
165
df.set_index('v_wind', drop=True, inplace=True)
166
- nominal_power = wpp_df['p_nom'].iloc[0]
+ nominal_power = wpp_df['p_nom'].iloc[0] * 1000.0
167
return df, nominal_power
168
if self.fetch_curve == 'p':
169
filename = 'p_curves.csv'
170
p_values, p_nom = restructure_data()
171
- self.p_values = p_values
+ self.p_values = p_values * 1000.0
172
else:
173
filename = 'cp_curves.csv'
174
self.cp_values, p_nom = restructure_data()
0 commit comments