Connection order


1- Battery to inverter;
2- Panels to inverter.