Title: Optimal Planning and Operation of Distributed Energy Resources