Skip to content

Commit 8eacb7f

Browse files
committed
Minor typo fixes
1 parent 66616a0 commit 8eacb7f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

windpowerlib/turbine_cluster_modelchain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TurbineClusterModelChain(ModelChain):
2525
a :class:`~.wind_turbine_cluster.WindTurbineCluster` object
2626
representing the wind turbine cluster.
2727
wake_losses_model : string or None
28-
Defines the method for talking wake losses within the farm into
28+
Defines the method for taking wake losses within the farm into
2929
consideration. Options: None, 'power_efficiency_curve' or
3030
'constant_efficiency' or the name of a wind efficiency curve like
3131
'dena_mean'. Default: 'dena_mean'.
@@ -83,7 +83,7 @@ class TurbineClusterModelChain(ModelChain):
8383
a :class:`~.wind_turbine_cluster.WindTurbineCluster` object
8484
representing the wind turbine cluster.
8585
wake_losses_model : string or None
86-
Defines the method for talking wake losses within the farm into
86+
Defines the method for taking wake losses within the farm into
8787
consideration. Options: None, 'power_efficiency_curve' or
8888
'constant_efficiency' or the name of a wind efficiency curve like
8989
'dena_mean'. Default: 'dena_mean'.
@@ -194,7 +194,7 @@ def assign_power_curve(self, weather_df):
194194
self.wake_losses_model is None):
195195
wake_losses_model_to_power_curve = self.wake_losses_model
196196
if self.wake_losses_model is None:
197-
logging.debug('Wake losses in wind farms not considered.')
197+
logging.debug('Wake losses in wind farms are not considered.')
198198
else:
199199
logging.debug('Wake losses considered with {}.'.format(
200200
self.wake_losses_model))

windpowerlib/wake_losses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def get_wind_efficiency_curve(curve_name='all'):
135135
# Raise error if wind efficiency curve specified in 'curve_name' does
136136
# not exist
137137
if curve_name not in list(wind_efficiency_curves):
138-
msg = ("Efficiency curve <{0}> does not exist. Must be one of the"
138+
msg = ("Efficiency curve <{0}> does not exist. Must be one of the "
139139
"following: {1}.")
140140
raise ValueError(msg.format(curve_name, *possible_curve_names))
141141

0 commit comments

Comments
 (0)