An option is to use optimizers (think this inverter can use them). This mitigates the issue with the differences in the number of panels, shading, irradiation, and even types of panels.
The optimizer would balance out the currents between the different strings and voltages so that the panels and inverter are working at their optimum.