Uncertainty quantification and optimization method applied to time-continuous geothermal energy extraction. (May 2023)