TNO Intern

Commit 39d51ea7 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Merge branch '2-implement-the-tg-python-api-using-jpypes-2' into 'main'

Allowing the code to calculate transmissivity with a provided P-value

Closes #2

See merge request AGS/pythermogis!4
parents 3b437020 6eebcb91
Loading
Loading
Loading
Loading
+57.1 KiB
Loading image diff...
+1 −4
Original line number Diff line number Diff line
@@ -40,9 +40,6 @@ class PyThermoGIS(TestCase):
        shutil.copytree(self.test_files_path / "utc" / "simplified_preprocess_result", self.test_files_out_path / "simplified_preprocess_result")
        self.model_path = self.test_files_out_path / "simplified_preprocess_result"

        shutil.copytree(self.test_files_path / "ROSL_ROSLU", self.test_files_out_path / "ROSL_ROSLU")
        self.ROSL_ROSLU_path = self.test_files_out_path / "ROSL_ROSLU"

        # Start JVM
        if jpype.isJVMStarted():
            jpype.shutdownJVM()
@@ -115,7 +112,7 @@ class PyThermoGIS(TestCase):
        input_params = {"hp_minimum_injection_temperature": 15, "return_temperature": 30, "surface_temperature": 10, "degrees_per_km": 31, "max_cooling_temperature_range": 100, "stimKhMax": 20, "use_stimulation": False,
                        "use_heat_pump": False, "utc_cutoff_shallow": 5.1, "utc_cutoff_deep": 6.5, "utc_cutoff_depth": 4000.0}

        P_value = 90
        P_value = 50

        # Act
        # Read Input grids