Branch 4: BA81 GEN cutoff audit + exekuce při sell<0
This commit is contained in:
@@ -59,6 +59,7 @@ class ExportPlanGuardTests(unittest.TestCase):
|
||||
self.assertEqual(out.grid_export_limit, 0)
|
||||
self.assertGreaterEqual(out.grid_setpoint_w, 0)
|
||||
self.assertEqual(out.export_mode, "NONE")
|
||||
self.assertTrue(out.deye_gen_cutoff_enabled)
|
||||
|
||||
def test_export_mode_none_with_non_negative_grid(self) -> None:
|
||||
sp = _sp(grid_setpoint_w=0, battery_w=-5000, export_mode="BATTERY_SELL")
|
||||
|
||||
Reference in New Issue
Block a user