A dimension reduction algorithm for numerical simulation of multi-borehole heat exchangers. (December 2021)