publication venue for A dynamic programming based method for optimal control of a cascaded heat pump system with thermal energy storage 2024