Towards optimisation of geothermal heat recovery