diff --git a/GHEtool/test/methods/method_data.py b/GHEtool/test/methods/method_data.py index 9757d774..67c66723 100644 --- a/GHEtool/test/methods/method_data.py +++ b/GHEtool/test/methods/method_data.py @@ -581,7 +581,7 @@ 512.6954920945816, name='Optimise load profile (eer combined) (power)', power=True, hourly=False)) -list_of_test_objects.add(OptimiseLoadProfileObject(borefield, load, 146, 50.187981717163034, 4.08828744800462, +list_of_test_objects.add(OptimiseLoadProfileObject(borefield, load, 146, 50.187981717163034, 12.82812330930278, 75.9124206410309, 86.06503815919983, 631.1307699700886, 535.936136, name='Optimise load profile (eer combined) (energy)', power=False, hourly=False)) diff --git a/GHEtool/test/methods/test_methods.py b/GHEtool/test/methods/test_methods.py index aa122fcb..4462d343 100644 --- a/GHEtool/test/methods/test_methods.py +++ b/GHEtool/test/methods/test_methods.py @@ -66,7 +66,8 @@ def test_optimise(input, result): np.sum(load.hourly_heating_load_simulation_period) * 100 _percentage_injection = np.sum(borefield_load.hourly_cooling_load_simulation_period) / \ np.sum(load.hourly_cooling_load_simulation_period) * 100 - + print(borefield_load.max_peak_extraction, borefield_load.max_peak_injection, external_load.max_peak_heating, + external_load.max_peak_cooling) assert np.isclose(_percentage_extraction, percentage_extraction) assert np.isclose(_percentage_injection, percentage_injection) assert np.isclose(borefield_load.max_peak_extraction, peak_extraction_geo)