Implemented in 2.1.0.
This isn't fixed as of v2.1.0 as the generator still runs after the steam engine/turbine is overdrawn.
In the code the following text is missing, marked in brackets:
generator.(energy_source.)usage_priority = "primary-output"
The game doesn't recognize that the generator is supposed to have its usage priority changed without that.