Off-grid power system of PV storage and diesel generator