Solar panel inverter configuration calculation formula