Quantifying geological uncertainty and optimizing technoeconomic decisions for geothermal reservoirs