https://www.amazon.com/Marsrock-Inverter-45-90VDC-AC185-265V-2000W48V230/dp/B07Z69T1V3
It monitors the current being drawn on your panel. If the power being supplied by the inverter exceeds the power being drawn from the grid, it reduces current.
Basically it tries to keep current at the panel to zero when you have sufficient current from your panels.