String inverters have utmost power place trackers (MMPT) in them that could vary the current and voltage to generate the most number of power feasible.
This allows you to have the correct number of panels to satisfy https://www.junda-solar.com/post/shine-bright-the-ultimate-guide-to-keeping-your-solar-panels-clean