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 84b300c commit 2d7dbb5Copy full SHA for 2d7dbb5
tests/test_turbine_cluster_modelchain.py
@@ -219,3 +219,15 @@ def test_error_raising(self):
219
weather_df.pop('roughness_length')
220
with pytest.raises(ValueError):
221
test_tc_mc.run_model(weather_df)
222
+
223
+ def test_ignore_wake_losses(self):
224
+ parameters = {'wake_losses_model': None,
225
+ 'smoothing': False,
226
+ 'standard_deviation_method': 'turbulence_intensity',
227
+ 'smoothing_order': 'wind_farm_power_curves'}
228
229
+ # Test modelchain with default values
230
+ test_tc_mc = tc_mc.TurbineClusterModelChain(
231
+ power_plant=wtc.WindTurbineCluster(**self.test_cluster),
232
+ **parameters)
233
+ test_tc_mc.run_model(self.weather_df)
0 commit comments