So it's for EV's.
Yes.
BMW i3 REX
About 100 mile range on battery.
1.7 gallon gas tank.
“allows the engine to run at optimal speeds for maximum efficiency”
I think diesel electric locomotives, which have no batteries, have the ability to configure the windings in the generator so that at low speeds, lower voltage, higher amperage current is delivered to the traction motors.
At high speeds, where the traction motors produce a higher back-voltage, the generators need to feed them a higher voltage.
And keeping the diesel motors running in a decent efficiency range.
Basically, it’s electrical gear shifting.