Taken a while, an electric version of a pneumatic James Watt steam engine on Rebrickable.
The motor is driving the yellow wheel at the bottom resulting in an automatic speed reduction to the rest of the moving parts and works well off 5v
The overall width of the base has been reduced by 8 studs but the structures are unaltered in size.
I added undergrowth, replaced a number of exposed plates with tiles, added a ladder to the front and minimised the all over place appearance of the "water" pipe by adding corner pipe pieces and a support. To connect the pipe it was necessary to cut 3L axles with stud to make 1L axles with stud.
Also added a main connecting steam pipe from curcular pieces. Minifigure Workers are the Chimney sweep and crook.
Did need some parts having a touch of Mek on them to stay together once operating.