A shaft generator is coupled to the main engine. It uses the main engine as its prime mover and has a frequency converter (thyristor controlled) that converts the variable engine speed to near constant speed and produces electrical power. It can only be employed at sea speed (full speed) and not at manoeuvring speed. Ask E/O and 2/E for more details.