Proper inverter VAC output when tied to grid
The voltage needs to be just high enough so that the inverter is working within its power-handling capability. In other words, you don't regulate the voltage directly, but rather, you monitor both the current and voltage simultaneously and regulate the net power.