Tutorial on converting solar panels into energy storage systems