File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed
Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ as the aggregated power curve of a :py:class:`~.wind_farm.WindFarm` object.
9393Wind turbine cluster calculations
9494=================================
9595
96- Functions and methods to calculate the mean hub height, installed power as well
96+ Functions and methods to calculate the mean hub height, nominal power as well
9797as the aggregated power curve of a :py:class: `~.wind_turbine_cluster.WindTurbineCluster ` object.
9898This is realized in a new module as the functions differ from the functions in
9999the :py:class: `~.wind_farm.WindFarm ` class.
@@ -103,7 +103,6 @@ the :py:class:`~.wind_farm.WindFarm` class.
103103
104104 wind_turbine_cluster.WindTurbineCluster.nominal_power
105105 wind_turbine_cluster.WindTurbineCluster.mean_hub_height
106- wind_turbine_cluster.WindTurbineCluster.get_installed_power
107106 wind_turbine_cluster.WindTurbineCluster.assign_power_curve
108107
109108.. _poweroutput_module_label :
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ def nominal_power(self):
8383
8484 """
8585 if not self ._nominal_power :
86- self .nominal_power = self .get_installed_power ()
86+ self .nominal_power = sum (wind_farm .nominal_power
87+ for wind_farm in self .wind_farms )
8788 return self ._nominal_power
8889
8990 @nominal_power .setter
@@ -131,21 +132,6 @@ def mean_hub_height(self):
131132 wind_farm in self .wind_farms ) / self .nominal_power )
132133 return self
133134
134- def get_installed_power (self ):
135- r"""
136- Calculates the :py:attr:`~nominal_power` of a wind turbine cluster.
137-
138- Returns
139- -------
140- float
141- Nominal power of the wind farm in W. See :py:attr:`~nominal_power`
142- for further information.
143-
144- """
145- for wind_farm in self .wind_farms :
146- wind_farm .nominal_power = wind_farm .nominal_power
147- return sum (wind_farm .nominal_power for wind_farm in self .wind_farms )
148-
149135 def assign_power_curve (self , wake_losses_model = 'wind_farm_efficiency' ,
150136 smoothing = False , block_width = 0.5 ,
151137 standard_deviation_method = 'turbulence_intensity' ,
You can’t perform that action at this time.
0 commit comments