Yup, that is exactly how it works. Your limitation is your inverter. Some inverters have a PWM or MPPT solar controller which allows you to connect solar, others might require an additional external solar controller. However, your limitation is your inverter, in your example, during...