An electrostatic precipitator removes particulate matter from the flue-gas stream of an energy system. Electrodes electrically charge the particles, which collect on plates inside the unit. Rapping mechanisms dislodge the deposited material for collection below. This separates entrained particles from the gas before it leaves the emissions-control stage.