Colorado-
there are about as many different opinions about boiler water treatment as there are stars in the sky. I've worked with 15" gauge railroads that religiously put in water treatment with every other tender full, and a low budget tourist line that basically used nothing.
In general the old CFR49 part 249 (Its been a while, I think I have that right) covered steam locomotives rules in the US. I believe it specified performing a boiler washer once every thirty days. Now remember that stationary boilers, i.e. power generation, is covered under a whole different set of rules than Mobile boilers, and locomotives themselves were basically under the FRA. (confused yet!?)
In boiler water treatment you are basically worried about keeping out oxygen and disolved solids. There are a few different ways to do this but to removing oxygen in a power gen boiler generally involves feeding some type of caustic additive. Boilers function well with a water ph of around 9.0 to 9.7 depending on the operating pressure.
Removing solids out of the incoming water depends on the operating pressure. For most locomotive applications, water softners similar to those used in residences are adequate. For power generation you get into multiple cycle regenerative filters while counting the total dissolve solids (tds) count in micro-ohms of resistance in the water. (remember water in its purest form doesn't count electricity - the dirt in the water causes it to become conductive) For 600 psi boilers you are aiming for a tds generally under 50 but under 30 is better. For large utility boilers like supercritical units if you get a reading over 3 micro-ohms you're in huge trouble. In this case the water is usually filtered through a reverse osmosis membrane system.
When running really clean water you generally don't have to worry about foaming in the sight glass. In relatively lower pressure operation like locomotive running mediocre water, sometimes an anti foam needs to be added.
As you stated there are multiple consequences to dirty boilers.
1. poor heat transfer efficiency
2. localized over heating leading to material failure ( i.e. leaks or blowouts)
3. clogging of the piping to the sight glasses, leading the crew to think the water level is higher or lower than it really is.
- Item #1 is just expensive, Items 2 & 3 can be deadly dangerous.
During normal operation a locomotive is "blown - down" once or twice a day to get rid of "boiler mud" that has accumulated around the fire box ring. If you've never seen a blown down in person its a serious sight to behold - reminds you how much energy is inside that living, breathing, steam engine. In power generation boilers that have steam drums ( the highest pressure units don't ), a small amount of water is continuous bled out just below the water line to help purge any solids that are floating on top of the water. Aptly named continous blowdown system.
Sorry to go on and on. This is some of what I do for a living. ( And actually I haven't been involved in the operation side for about 4 years) Something about your post just sent my brain into ovedrive this morning.
Gotta go,
John Z