The principle of making photovoltaic panels with lithium batteries