mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
fix tests for fixed ac charge logic
This commit is contained in:
@@ -225,7 +225,7 @@ def test_simulation(create_ems_instance):
|
||||
abs(result["akku_soc_pro_stunde"][20] - 98) < 1e-5
|
||||
), "'akku_soc_pro_stunde[11]' should be 98."
|
||||
assert (
|
||||
abs(result["Last_Wh_pro_Stunde"][20] - 5450.98) < 1e-3
|
||||
abs(result["Last_Wh_pro_Stunde"][20] - 6050.98) < 1e-3
|
||||
), "'Netzeinspeisung_Wh_pro_Stunde[11]' should be 0.0."
|
||||
|
||||
print("All tests passed successfully.")
|
||||
|
Reference in New Issue
Block a user