godlameroso wrote:[[...] but if your generator mode is causing compressor stall then you're not going to generate much electricity because, you don't have enough boost pressure, and by consequence not enough exhaust gas to drive the turbine or mguh.
I can't follow you. Why should the generator mode cause compressor stall?
There is, on a straight, a near stationary operation. Pt-Pc = P MGU-H (mechanical losses generously not included). The turbine produces more power than the compressor needs, and the surplus is taken over in MGU-H. And if MGU-H cannot take it over and route it to MGU-H or ES, (eg. because overheating, to small, limits of the power electronics, ...), the waste gates have to kick in to limit turbine rpm and boost pressure.
Gruntguru generously once posted somewhere the power balance of such a turbo / generator unit, depending on pressure ratio.