Modelling and Simulation of Charging Based on Solar/Grid Powered Electric Vehicle