This invention provides a system (10) for generating energy from waste material. The system comprises a first batch processing oven (12) for generating syngas and a second batch processing oven (14) for generating syngas. At least one thermal treatment chamber (20) heats the syngas after it is produced, and an energy converter (22) converts energy from the syngas to electrical energy.