A multi-layer model of stratified thermal storage for MILP-based energy management systems. (15th May 2022)