The interval of the evening peak where the stored energy in the battery will be discharged to shave the peak load can be approximately obtained by selecting {t1, t2} in (10) iteratively (starting from a small value and the increasing slowly) until DEbat is nearly equal to EPt1t2.