After an essential rewrite of the java code, parts of the API of pythermoGIS had to be updated. Since these were breaking, non-backward compatible, changes, a version 2.0.0 is released.
The most important and noticible change is that the method of setting up the input parameters has changed. Please check out the customized properties page for
## v1.2.5 (26-1-2026)
A java 17 virtual machine is now automatically installed the first time a pythermogis simulation is run. This uses the [install-jdk](https://pypi.org/project/install-jdk/) python project.
To adjust properties of the simulation, you can pass a `utc_properties` instance
to the calculate_doublet_performance function.
A `utc_properties` instance is a JClass implementation of the Java UTCProperties class.
It is generated by using the `utc_properties_builder`, upon which custom properties can be set,
It is generated by using the `thermogis_properties`, upon which custom properties can be set for all calculations in ThermoGIS,
and used to build an instance of the `utc_properties`.
be aware: The number of parameters is large, and the default values are set to the ThermoGIS base case.
@@ -11,8 +11,8 @@ A comprehensive list of parameters is given in [UTC properties](../theory/utcpr
There are two ways to set the properties of the simulation, by either:
1. Using the `utc_properties_builder` class to set the properties of the simulation, and then building the `utc_properties` instance.
2. Using the `instantiate_utc_properties_from_xml` function to parse a configuration file, which will return a `utc_properties`instance.
1. Using the `instantiate_thermogis_parameters` class to set the properties of the simulation, and then using the `setupUTCParameters` method.
2. Using the `instantiate_thermogis_properties_from_file` function to parse a configuration file, which will return a `thermogis_properties`method.
!!! info "customizing the thermoGIS techno-economic properties"
@@ -28,18 +28,18 @@ There are two ways to set the properties of the simulation, by either:
Common properties to change include:
-`setUseHeatPump(Boolean)`: if true, include a heat-pump when modelling
-`setUseStimulation(Boolean)`: if true, apply reservoir stimulation when simulating a doublet
-`setUseHeatpump(Boolean)`: if true, include a heat-pump when modelling
-`setUseWellStimulation(Boolean)`: if true, apply reservoir stimulation when simulating a doublet
-`setSurfaceTemperature(float)`: The temperature of the surface
-`setTempGradient(float)`: The gradient at which temperature increases with depth, in C/km
-`setDhReturnTemp(float)`: The goal of the direct heat return temperature
-`setStimKhMax(float)`: The maximum transmissivity above which no stimulation will occur (if UseStimulation = True)
Here is an example, where the default utc_properties is used, but the UseHeatPump option is set to True. this is achievied by instantiating a `utc_properties_builder` class, running `.useHeatPump(True)` on that class, and then building the
`utc_properties` themselves, with the `.build()` method of the `utc_properties_builder`.
Here is an example, where the default utc_properties is used, but the UseHeatpump option is set to True. this is achievied by instantiating a `thermogis_properties` class, running `.useHeatpump(True)` on that class, and then building the
`utc_properties` themselves, with the `.setupUTCParameters()` method of the `thermogis_properties`.