Thank you. Could you also explain the type of configuration in which a GEC would not be needed?
GEC's are required for "separately derived systems". Anytime you go through an isolation transformer, or a transfer switch that switches the neutral, such that you need to re-establish the reference to ground, that is what becomes a separately derived system.
The kind of inverter that doesn't require a GEC, is a transformerless inverter or non-isolated inverter. It has both polarities ungrounded, and at equal and opposite voltages-to-ground. Most string inverters built today, are this kind. This kind of inverter doesn't isolate the DC side from the AC side, with a transformer, like the alternative kind of inverters do. The absolute voltage of the DC polarities is governed by the absolute voltage of the AC waveform's midline. Of course, that is zero, due to the AC grid being grounded. We used to call these ungrounded systems. We now call them functionally grounded, because they are grounded through the functionality of the power electronics as a result of ultimately being connected to a grounded grid. A truly ungrounded system would have transformerless inverters connected to an ungrounded AC grid.
When inverters are built with an isolation transformer, either internal or external, they required a GEC, in order to satisfy separately-derived-systems grounding requirements where it established the bond between ground and the grounded polarity. This used to be the way nearly all inverters were built, until transformerless inverters and "ungrounded" systems became more common. Of inverters built today, you usually see this on central inverters, and rarely see it on string inverters. One polarity would be grounded through a GFCI fuse/breaker, and the other would be ungrounded. The transformer inside the inverter would allow the power electronics to produce a waveform, that had its troughs at ground and its crests at the full voltage it could produce. It would use the transformer, to remove the DC offset of this waveform, in order to feed it to a grounded AC grid.