Skip to content

pythermogis Usage - Examples

Through a number examples the core functionality of pythermogis is explained. Many aspects of the these examples can also be found in the tests.

The underlying theory of the geothermal doublet simulation is explained in the theory section.

  • deterministic doublet page demonstrates how to run a deterministic doublet simulation and retrieve results.
  • stochastic doublet page demonstrates how to run a ThermoGIS stochastic simulation and how to run a simulation for a range of p-values.
  • customized properties page explains how to customize the techno-economic properties of the simulation.
  • map run and analysis page demonstrating running on maps, including some plotting examples to illustrate the outputs.
  • portfolio run and analysis page demonstrating running on a portfolio of prospective locations, including some plotting examples to illustrate the outputs.
  • customised stochastic simulation page demonstrates how to develop your own stochastic frameworks around the core pythermogis doublet simulation functionality.
  • parallelization page describes how to parallelize simulations and determine the optimal chunk size for parallelization for your hardware

Plotting, calculations and result analysis

pythermogis is designed to enable users to run geothermal doublet simulations. Customized plotting is intentionally limited, as users often have specific preferences for visual presentation. Rather than attempt to accommodate all potential styles, our focus is on providing reliable simulation tools. For creating your own visualizations, we recommend using libraries such as matplotlib and/or xarray.

Example Input Data

Example input data for some of these examples is available in the /resources/example_data directory