Text this: Developing computation technique determining the ampere-hour capacity and stored energy of a battery to set the charger control limits of PV power system battery