Suggestion to JB:
Do a harmonic analysis of a drive with a regeneative front end drive in the regenerative state. You could even use a full wave regenerative DC drive as your model.
And, BTW ... They are NOT designed to make dirty on the ac line... No one intentionally sets out to design something that distorts the ac line, JB. Nor was that inferred in my previous post. The distortion that occurs is a consequence of the topology and the process of regeneration into the ac line.
And JB, an AFE, in, of, and by itself doesn't do a thing for harmonic mitigation. Active Front Ends that afford harmonic mitigation are specifically designed for that purpose. They include a controller for the gating of the devices in the AFE. The gating is determined by complex algorithms that determine when current is permitted to be drawn from the phases of the ac line so as to minimize the distortion currents. You could NOT USE such an AFE for regeneration of the overhauling load energy back to the ac line. That also requires a specific gating schema which is not the same as the harmonic mitigation gating schema.
An AFE that does both: harmonic mitigation in both motoring and regenerating quadrants is a very special design and I do not know of any manufacturer that is offering such a product as standard at this time.
Apples and Bananas, JB = Fruit Salad.