Integration of Motor Vehicle and Distributed Energy Systems