At the same time (or with some delay, for example 2 to 11 seconds, to prevent the diesel engine from starting at every incident), the diesel engine takes over from the flywheel to drive the electrical generator to make the electricity required.
The diesel engine takes over from the flywheel to drive the electrical generator to make the electricity required. This was at the same time (or with some delay, to prevent the diesel engine from starting at every incident). This was for example 2 to 11 seconds.