A comprehensive framework for District Energy systems upgrade. (October 2021)