How to match photovoltaic panels with battery panels