@@ -218,18 +218,6 @@ def test_run_model(self):
218218 test_mc .run_model (weather_df )
219219 assert_series_equal (test_mc .power_output , power_output_exp )
220220
221- # Ideal gas equation and density corrected power coefficient curve
222- power_output_exp = pd .Series (data = [569117.952419 , 1302746.06501 ],
223- name = 'feedin' )
224- test_modelchain = {'wind_speed_model' : 'hellman' ,
225- 'density_model' : 'ideal_gas' ,
226- 'power_output_model' : 'power_coefficient_curve' ,
227- 'density_correction' : True }
228- test_mc = mc .ModelChain (wt .WindTurbine (** test_turbine ),
229- ** test_modelchain )
230- test_mc .run_model (weather_df )
231- assert_series_equal (test_mc .power_output , power_output_exp )
232-
233221 # Raise ValueErrors due to wrong spelling of parameters
234222 with pytest .raises (ValueError ):
235223 test_modelchain ['power_output_model' ] = 'wrong_spelling'
@@ -259,12 +247,6 @@ def test_run_model(self):
259247 test_mc = mc .ModelChain (wt .WindTurbine (** test_turbine ),
260248 ** test_modelchain )
261249 test_mc .run_model (weather_df )
262- with pytest .raises (TypeError ):
263- test_modelchain = {'power_output_model' : 'power_coefficient_curve' ,
264- 'density_correction' : 'wrong_type' }
265- test_mc = mc .ModelChain (wt .WindTurbine (** test_turbine ),
266- ** test_modelchain )
267- test_mc .run_model (weather_df )
268250
269251 # Raise TypeErrors due to missing cp- or p-values
270252 with pytest .raises (TypeError ):
0 commit comments