Abstract-The penetration of plug-in electric vehicles and renewable distributed generation is expected to increase over the next few decades. Large scale unregulated deployment of either technology can have a detrimental impact on the electric grid. However, appropriate pairing of these technologies along with some storage could mitigate their individual negative impacts. This paper presents a framework and an optimization methodology for designing grid-connected systems that integrate plug-in electric vehicle chargers, distributed generation and storage. To demonstrate its usefulness, this methodology is applied to the design of optimal architectures for a residential charging case. It is shown that, given current costs, maximizing grid power usage minimizes system lifecycle cost. . Some PHEVs and EVs have been released into the market, and although estimates vary, by 2020 roughly 2 million PEVs are expected to be on the road in the US, increasing to 14 million (about 5% of the light duty vehicle fleet) by 2030 [3], [4]. However, penetration across the country is not expected to be uniform. Some west coast utilities expect PEV penetration of around 5% in their service territories by as early as 2020 [5]. Such levels of penetration will require large scale deployment of residential and public chargers [6], [7]. In parallel to these developments, there is strong legislative effort to mandate, or incentivize, large scale integration of renewable energy resources, including renewable distributed generation (DG), into the electric grid. Twenty-nine U.S. states and the District This work was supported by