Method for energy optimization with reliability analysis of a trigeneration and teleheating system on urban scale: A case study