PDF A GENERAL BATTERY MODEL PV SYSTEM SIMULATION