Skip to content

Commit 3634b36

Browse files
committed
Remove method 'Norgaard'
1 parent 2c096d8 commit 3634b36

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

windpowerlib/power_curves.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
3232
Width of the moving block. Default: 0.5.
3333
standard_deviation_method : String
3434
Method for calculating the standard deviation for the gaussian
35-
distribution. Options: 'turbulence_intensity', 'Norgaard', 'Staffell'.
35+
distribution. Options: 'turbulence_intensity', 'Staffell'.
3636
Default: 'turbulence_intensity'.
3737
3838
Other Parameters
3939
----------------
4040
turbulence intensity : Float, optional
4141
Turbulence intensity at hub height of the wind turbine the power curve
4242
is smoothed for.
43-
area_dimension : Float, optional
44-
Dimension of the area the feed-in is calculated for in km.
4543
4644
Returns
4745
-------
@@ -72,14 +70,6 @@ def smooth_power_curve(power_curve_wind_speeds, power_curve_values,
7270
raise ValueError("Turbulence intensity must be defined for " +
7371
"using 'turbulence_intensity' as " +
7472
"`standard_deviation_method`")
75-
elif standard_deviation_method == 'Norgaard':
76-
if 'area_dimension' not in kwargs:
77-
raise ValueError("area_dimension must be defined when " +
78-
"'Norgaard' is being used as method.") # TODO raise error if no TI
79-
standard_deviation_df = pd.read_csv(
80-
os.path.join(os.path.dirname(__file__),
81-
'data/Norgaard_standard_deviation.csv'), index_col=0)
82-
normalized_standard_deviation = 0.09
8373
elif standard_deviation_method == 'Staffell':
8474
normalized_standard_deviation = 0.2
8575
# Initialize list for power curve values

0 commit comments

Comments
 (0)