So just what is a Generator anyway? The definitive explanation (It's not a boiler)
This is a boring diatribe on real world Steam Engines and how it was likely adapted to this setting. Take it all with a grain of salt though I am very confident I'm right.
For ages people have wondered why the Generator consumes coal, and yet also has an underground "source" which is outlined as the main source of thermal energy for a Generator. This seemingly creates a contradiction; is it Geothermal, or coal-fired? Why are both essential for it to run?
Well after deep diving into steam power because my (actual) autism goes brrr, I realize that there's an explanation that perfectly explains it found in IRL steam locomotion.
The Generator is NOT a boiler, it's a Steam Superheater.
You see, when water boils it doesn't convert into a fine, evenly-distributed mist as you may expect, there's lots of small liquid water droplets that get carried up alongside the vapors, plus some vapors may be "light" enough that they rapidly cool down and turn into more water droplets between the interior of the boiler and the cylinders. Engineers of the age called this "Wet Steam", and it was a constant drag on the efficiency of steam engines since liquid water doesn't expand with enough force to run them.
In the early 1880s Wilhelm Schmidt invented the first practical Super Heater to counteract this problem. The concept is pretty simple: take the wet steam gathered on the top end of the boiler and redirect it into the fire tubes so it can be blasted by heat directly from the firebox to effectively cook the same water twice. This makes it MUCH hotter, so that any residual liquid water is completely evaporated and reaches the cylinder with as much thermal energy as possible. This is called "Dry Steam", as the water is completely atomized from the inside out with no chance to condense.
In the context of Frostpunk, every city is built on a geothermal borehole, which presumably pumps water from melting ice into a massive underground cavern, where it is heated by the core and travels up the pipes as steam continually and with no need for fuel.
Good, right? Well there's a small snag: because the temp goes into the triple digits below zero any and all wet steam from the geothermal well would condense *extremely* rapidly on its way to the surface, making the steam worthless for industrial power and heating especially at a distance.
This is where our Generator comes in. If you used it to boil liquid water it would limit the volume of dry steam it can make, but if it takes in water that has already been steamed underground the huge heaps of coal we stuff into every orifice of the machine can focus entirely on producing and distributing dry steam, which is far more efficient.
Tl:DR: The Generator is a superheater sitting on top of a geothermal well, and the two work in tandem the same way a locomotive boiler does to prevent the intense cold from leeching all the energy from the steam before it can be used. If either one fails, the Generator stops working because while either can make steam, that steam would be too cold and too wet to be of much use in an area as large as the city.