Some of this steam is used directly as shipboard heat. Five diesel generators together produce 20.8 MW, giving a total electric output of 29 MW.
The text describes the use of steam and its conversion into electricity for powering a ship's systems.  Five diesel generators working together produce 20.8 MW of power, generating a total of 29 MW of electricity.