Computer tool to achieve energy efficiency by optimizing geothermal energy in the rehabilitation and energy facilities construction