@@ -18,6 +18,27 @@ PyThermoGIS has been designed to be used as a python package you import into you
It works by creating a python API access to the ThermoGIS techno-economic application, which is written in Java.
Because of this dependency you need to Install a Java 17 VM and store the ThermoGIS Jar (a Java executable file) on your computer:
## Installing pydoubletcalc
[pydoubletcalc](https://ci.tno.nl/gitlab/AGS/Geothermal/thermogis/pydoubletcalc) is the python backend we are writing to replace the java backend for pythermogis.
It is not yet public, until then you can install the latest version of the code using the following command:
```bash
pixi run pip install pydoubletcalc --index-url https://token_name:token_password@ci.tno.nl/gitlab/api/v4/projects/19719/packages/pypi/simple
```
replace token_name and token_password with the credentials from a Personal Access Token, with read access.
(If you don't have a PAT then: Login to gitlab > preferences > Access Tokens)
To update pydoubletcalc you will first need to uninstall it and then reinstall using the above method.
### 1. Install Java 17 and Download the ThermoGIS JAR
This package requires a Java 17 VM (we recommend using [Amazon Corretto 17](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)) and a [ThermoGIS Jar file](https://ci.tno.nl/gitlab/ags_public/pythermogis/-/blob/main/resources/thermogis_jar/thermogis-1.7.0-shaded.jar?ref_type=heads)(Version >=1.7).