mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
committed by
GitHub
parent
9620efccf1
commit
a5e637ab4c
@@ -65,9 +65,7 @@ def test_optimize(
|
||||
# Call the optimization function
|
||||
ergebnis = opt_class.optimierung_ems(parameters=input_data, start_hour=start_hour, ngen=ngen)
|
||||
# with open(f"new_{fn_out}", "w") as f_out:
|
||||
# from akkudoktoreos.utils import NumpyEncoder
|
||||
# json_data_str = NumpyEncoder.dumps(ergebnis)
|
||||
# json.dump(json.loads(json_data_str), f_out, indent=4)
|
||||
# f_out.write(ergebnis.model_dump_json(indent=4, exclude_unset=True))
|
||||
|
||||
# Assert that the output contains all expected entries.
|
||||
# This does not assert that the optimization always gives the same result!
|
||||
|
Reference in New Issue
Block a user