Generator design and testing.