Geothermal energy in deep aquifers