The Valuation of Distributed Energy Resources