Skip to content
robotips

Lab 11

Diesel generator: how it makes power when the grid drops

The grid drops and a 30 kW generator starts on its own: battery, diesel, a 60 Hz alternator and a transfer switch that moves the house over in under 10 seconds.

Published on

Lab 11Diesel generator: how it makes power when the grid drops
3D render of a diesel generator on a cream bench: blue engine, cutaway alternator with its copper rotor, radiator, control panel, open transfer switch, a utility pole and a small house with its windows lit.
Loads when you tap it, 964 KB
Lab 11. Speed sets the frequency: 4 poles at 1800 rpm give 60 Hz.
Share on X

What you will see

Six stations on a dial: crank (the 12 V battery spins the engine to about 200 rpm), fire (the diesel lights by compression and the governor holds 1800 rpm), excite (the AVR brings the alternator to 220 V and 60 Hz), transfer (opens the dead grid and closes the generator), load (24 kW hits the shaft, speed dips and recovers) and cool (radiator and fan).

Every part is modelled as code and the readings follow the physics of each step: f = poles × rpm / 120, and fuel use comes from the energy in diesel and the engine efficiency. The assumptions are in the note.

Model note

What the lab assumes and where its numbers come from.

Model: f = poles x rpm / 120 (4 poles, 1800 rpm = 60 Hz). Load 24 kW (80 % of 30 kW). Fuel = 0.9 L/h at no load + kW / (0.35 x 9.9 kWh/L) x 0.87. Speed dip on the load step: 1.9 %, recovered in about 1 s (assumption). Warm-up shown as a time-lapse. Shaft rotation shown slower so the eye can follow it.

Sources

  1. 01Frequency of a synchronous generator: f = poles × rpm / 120 (4 poles, 1800 rpm = 60 Hz). Iowa State, EE303.
  2. 02NFPA 110 Type 10: power back within 10 s at most. Cummins, PowerHour NFPA 110.
  3. 03Energy in diesel: 128,488 Btu/gal (9.95 kWh/L). AFDC, U.S. Department of Energy.
  4. 04Fuel use of a 30 kVA generator at 60 Hz: 6.6 L/h at 75 %. Cat XQP30.
  5. 05Minimum cranking speed of a diesel: about 150 rpm. Mitchell 1.

More labs

Isometric drawing of a bench with a Raspberry Pi 5 with Active Cooler in the middle, a 7-inch display, a red keyboard, a white USB-C power supply and a breadboard with a red LED and a blue button wired to the GPIO.

Lab 14

Raspberry Pi: boot your Pi 5 and light an LED

The Raspberry Pi 5 is already on the bench: build everything else. Cooler, microSD, display, keyboard and power until it boots, then an LED and a button on the GPIO with Python.

Lab 11