FLEXIBLE HPWH WITH EMBEDDED ENERGY STORAGE