Model Predictive Control for a Grid-interactive Efficient Thermal Storage-integrated Heat Pump System The disclosed technologies are directed to the smart control of a system that integrates underground TES into geothermal heat pumps.