Design, Development and Operation of a PHIL Environment for Distributed Energy Resources