Paper Conference

Proceedings of eSim 2018: 10th Conference of IBPSA-Canada


pygfunction: an open-source toolbox for the evaluation of thermal response factors for geothermal borehole fields

Massimo Cimmino

Abstract: Thermal response factors, or g-functions, are used in energy simulation software to simulate geothermal systems and evaluate their energy performance. When using such software, the user is however restricted to the bore field configurations provided with the software. The aim of this study is to provide an efficient and versatile toolbox, called pygfunction, to generate g-functions for fields of arbitrarily positioned and sized boreholes. The toolbox implements analytical methods, based on the finite line source (FLS) solution, to generate g-functions for the 3 main boundary conditions at the borehole wall found in the literature (1) uniform heat extraction rate along the boreholes, (2) uniform borehole wall temperature and (3) equal inlet fluid temperature into the boreholes. pygfunction allows the calculation of g-functions for all 3 boundary conditions. pygfunction is implemented into the Python language and also supports the simulation of geothermal systems using load aggregation methods.
Keywords: Thermal response factors, g-functions, Ground-source heat pump systems, Geothermal
Pages: 492 - 501