>>1774543The Swiss built a few during WWII due to an unusual set of circumstances:
>cheap hydroelectric power>partially electrified network>imports of diesel fuel and/or coal difficult due to war>new fully-electric locomotives/their components hard to come by for same reasonThey only did it with two switchers, and later took the electric parts back off.
If you wanted to build a new one, you'd either be stuck only running under wires (and with a big conspicuous pantograph on it), or fill a tender as full of batteries as the axle loading would allow. No one's using steam engines for any but nostalgic reasons, so why not keep them coal/oil fired?