The generators appear in both Acts 1 and 2 of Scrap Brain Zone, amongst many other dangerous traps designed to kill Sonic.
The generators appear in Scrap Brain just like in the 16-bit version. Electric wires that are similar to the generators appear in Act 1 of Sky Base Zone in the background. The wires periodically light up, causing damage to Sonic if he makes contact with one.
The generators design is different then they were in Sonic the Hedgehog. They appear in Wacky Workbench, although they shoot a line of electricity this time. To dodge them, Sonic must get on a pole and move hand-over-hand across them.
The generators appear in Death Egg Zone as long panels of electricity on the floor or ceiling. The ceiling ones shoot out lightning bolts periodically and can even harm Sonic through a lightning shield for some reason.