Skip to main content

This is a Python package for simulation of (deep) vertical Borehole Heat Exchanger (BHE) systems

Project description

Geoloop: A BHE Calculator for Python

PyPI Documentation

What is Geoloop?

Geoloop is a Python package for simulating vertical borehole heat exchanger (BHE) systems, with a focus on the impact of depth-dependent thermal properties and geothermal gradient and their impact on system performance.

Geoloop incorporates (uncertainty in) depth-variations in subsurface thermal conductivity, subsurface temperature, BHE design and diverse operational boundary conditions such as seasonal load variations or minimum fluid temperatures. It allows for deterministic or stochastic performance analyses with the opportunity for optimization of the system design and operation. This makes Geoloop well suited for scenario analyses and sensitivity studies in both research and practical applications.

Geoloop provides a novel depth-dependent approach for thermal response calculations. A detailed description and benchmark of this depth-dependent semi-analytical method is provided in Korevaar et al. (2026). Geoloop uses the pygfunction package, developed by Cimmino & Cook (2022), including its implementation of g-functions, time aggregation schemes for varying loads, borehole and fluid thermal properties, and various visualization capabilities

Geoloop's generic framework allows for easy switching between simulation methods, including the depth-dependent model, the depth-uniform implementation of g-functions as implemented in pygfunction and a numerical finite volume approach.


Installation

Install from PyPI using:

pip install geoloop

For detailed setup instructions (including uv-based environments and development setup), see the Installation Guide.


Requirements

Geoloop requires Python version >=3.12,<3.14.

Core dependencies include:

  • pygfunction
  • matplotlib
  • numpy
  • scipy
  • h5py
  • xarray
  • pandas
  • seaborn
  • tqdm
  • netCDF4
  • SecondaryCoolantProps
  • openpyxl
  • h5netcdf
  • pathlib
  • pydantic
  • typer

Quick Start

Explore the Examples folder to get started quickly with Geoloop.

Read the full documenation here.


License

This project is licensed under the Apache 2.0 License.
See the LICENSE.md file for details.


Acknowledgments

Developed with the support of the Netherlands Enterprise Agency (RVO), in a consortium project with grant nr. MOOI322009.


References

  • Cimmino, M. and Cook, J.: pygfunction 2.2: New features and improvements in accuracy and computational efficiency, in: Proceedings of the IGSHPA Research Track 2022, International Ground Source Heat Pump Association, https://doi.org/10.22488/okstate.22.000015, 2022.
  • Korevaar, Z., Brett, H., Lourens, A. and Van Wees, J.D.: Geoloop (v1.0) – a stochastic, depth-dependent borehole heat exchanger model, Geoscientific Model Development (in prep), 2026

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geoloop-1.0.7.tar.gz (120.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geoloop-1.0.7-py3-none-any.whl (129.3 kB view details)

Uploaded Python 3

File details

Details for the file geoloop-1.0.7.tar.gz.

File metadata

  • Download URL: geoloop-1.0.7.tar.gz
  • Upload date:
  • Size: 120.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for geoloop-1.0.7.tar.gz
Algorithm Hash digest
SHA256 e0988d85002fa9915a9d85a16f6a7a572933a3eafc3f7894503b564f2b89d31b
MD5 cf948fce7ebad1713676765b166f8f1c
BLAKE2b-256 8ae137e0a0a53dddc0d92d4c96071b13c2a7d22c0001b4c83bcdb28434b36ba7

See more details on using hashes here.

File details

Details for the file geoloop-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: geoloop-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 129.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for geoloop-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0d57a2ef37c7d2d667568afcb749ddc2b0dc8a158c821d69e117c1bd81336ede
MD5 7ef1e773a164980c26f6a6d413a88d3a
BLAKE2b-256 07131fd880637839f9a89c9239ff792c681a0d35fd1ef5474884ff34d822b19e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page