“…At any time, t, the SOC is related to the previous SOC, while for the period of t-1 to t, it is related to the energy production and consumption situation. During the charging process, when the total output of all PV exceeds the load demand, the available battery bank capacity at a time, t, is described by [6], [7], and [8]. (4) where, is the energy stored in battery at hour t, is the energy stored in battery at hour t-1, is the energy discharge from charge controller at hour t, is the battery charging efficiency.…”