Lithium battery solar energy storage and control system