Energy and economic savings: DHC supply and generation optimization towards 4tn generation