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 2b9b75d commit ede47a0Copy full SHA for ede47a0
tests/test_turbine_cluster_modelchain.py
@@ -230,4 +230,11 @@ def test_ignore_wake_losses(self):
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)
+ test_tc_mc.run_model(self.weather_df)
234
+
235
+ def test_wind_farm_repr(self):
236
+ assert 'E-126/4200' in repr(wf.WindFarm(**self.test_farm))
237
238
+ def test_wind_turbine_cluster_repr(self):
239
+ assert ("Wind turbine: E-126/4200 ['nominal power=42000" in
240
+ repr(self.test_cluster))
0 commit comments