Energy, environmental, and economic analyses of geothermal polygeneration system using dynamic simulations