Build a multi-effect distillation plant from steam boiler to final condenser and watch the latent heat of one kilogram of steam get re-used N times. Set the number of effects, steam and last-effect temperatures, tube area, heat-transfer coefficient, feed salinity and recovery to see the gained output ratio, fresh-water output, brine boiling-point elevation and the temperature drop shared between stages. Blender-built vessels, with numerical checks of the heat and salt balances.