ACDB & DCDB Function in Solar Energy System