Promoting the Flexibility of Thermal Prosumers Equipped with Heat Pumps to Support Power Grid Management