This system adopts lithium batteries to store solar energy. It can be connected with the grid and selectgrid power optionally. The system preferentially uses photovoltaic power supply, and the insufficientpower is provided by batteries. When the battery is low due to poor lighting or excessive loads, thesystem can automatically switch to grid power supply.