If you have a 10 KW solar array, as long as enough sun is shining on the photovoltaic (PV) cells, it can add an additional 10 KW to the existing inverter power.
This means a 21 kW inverter at 150% surge = 31.5 KW. Add an extra 10 KW from the solar, you get to 41.5 KW.