The plant has a series of spaces called stages, each containing a heat exchanger and a condensate collector. The sequence has a cold end and a hot end while intermediate stages have intermediate temperatures. The stages have different pressures corresponding to the boiling points of water at the stage temperatures. After the hot end there is a container called the brine heater. When the plant is operating in steady state, feed water at the cold inlet temperature flows, or is pumped, through the heat exchangers in the stages and warms up. When it reaches the brine heater it already has nearly the maximum temperature. In the heater, an amount of additional heat is added. After the heater, the water flows through valves back into the stages that have ever lower pressure and temperature. As it flows back through the stages the water is now called brine, to distinguish it from the inlet water. In each stage, as the brine enters, its temperature is above the boiling point at the pressure of the stage, and a small fraction of the brine water boils to steam thereby reducing the temperature until an equilibrium is reached. The resulting steam is a little hotter than the feed water in the heat exchanger. The steam cools and condenses against the heat exchanger tubes, thereby heating the feed water as described earlier. The total evaporation in all the stages is up to approximately 85% of the water flowing through the system, depending on the range of temperatures used. With increasing temperature there are growing difficulties of scale formation and corrosion. 110-120 °C appears to be a maximum, although scale avoidance may require temperatures below 70 °C. The feed water carries away the latent heat of the condensed steam, maintaining the low temperature of the stage. The pressure in the chamber remains constant as equal amounts of steam is formed when new warm brine enters the stage and steam is removed as it condenses on the tubes of the heat exchanger. The equilibrium is stable, because if at some point more vapor forms, the pressure increases and that reduces evaporation and increases condensation. In the final stage the brine and the condensate has a temperature near the inlet temperature. Then the brine and condensate are pumped out from the low pressure in the stage to the ambient pressure. The brine and condensate still carry a small amount of heat that is lost from the system when they are discharged. The heat that was added in the heater makes up for this loss. The heat added in the brine heater usually comes in the form of hot steam from an industrial process co-located with the desalination plant. The steam is allowed to condense against tubes carrying the brine. The energy that makes possible the evaporation is all present in the brine as it leaves the heater. The reason for letting the evaporation happen in multiple stages rather than a single stage at the lowest pressure and temperature, is that in a single stage, the feed water would only warm to an intermediate temperature between the inlet temperature and the heater, while much of the steam would not condense and the stage would not maintain the lowest pressure and temperature. Such plants can operate at 23–27 kWh/m3 of distilled water. Because the colder salt water entering the process counterflows with the saline waste water/distilled water, relatively little heat energy leaves in the outflow—most of the heat is picked up by the colder saline water flowing toward the heater and the energy is recycled. In addition, MSF distillation plants, especially large ones, are often paired with power plants in a cogeneration configuration. Waste heat from the power plant is used to heat the seawater, providing cooling for the power plant at the same time. This reduces the energy needed by half to two-thirds, which drastically alters the economics of the plant, since energy is by far the largest operating cost of MSF plants. Reverse osmosis, MSF distillation's main competitor, requires more pretreatment of the seawater and more maintenance, as well as energy in the form of work as opposed to cheaper low-grade waste heat.