In this paper, frequency control performance in a PV-diesel hybrid system is improved by using an energy storage system (ESS) with a virtual inertia controller. Simulation results show that the proposed method is feasible to reduce the frequency deviations and delivers maximum power compared to a fuzzy logic controller based method.