Distributed Energy Resources in Local Integrated Energy Systems