MassimoCimmino / pygfunction

An open-source toolbox for the evaluation of thermal response factors (g-functions) of geothermal borehole fields.
BSD 3-Clause "New" or "Revised" License
46 stars 21 forks source link

Refactor `heat_transfer` module #211

Open MassimoCimmino opened 2 years ago

MassimoCimmino commented 2 years ago

This follows #210.

Functions in the heat_transfer module have long lists of borehole parameters (e.g. H, D, r_b). With the implementation of the Borefield class, this can be simplified to only take Boreholeobjects, lists of boreholes or Borefield objects as input.

This is backward-compatible with regards to the finite_line_source function but not to the other functions in the modules.