This document discusses modeling a photovoltaic (PV) based bidirectional battery charger system for electric vehicles. It begins with an introduction to electric vehicles, hybrid electric vehicles, and plug-in hybrid electric vehicles. It then discusses the topology and components of a typical plug-in electric vehicle charger, including a bidirectional DC/DC converter and AC/DC converter with controllers. Simulation results are presented showing the power flow between the PV panels, grid, and battery. The document concludes that power electronics can enable electric vehicles to charge from the grid or send power back, and that standards must be followed for vehicle-to-grid applications.