Regulation of District Energy Systems