Put heat into a sample of ice at a steady power. The temperature rises, then stops at every phase change while the heat goes into breaking bonds, not into motion. Change the pressure to move the boiling point, or drop below the triple point and watch ice skip the liquid.
For each pressure the sample is heated in the simulator until the temperature stops rising at the boiling plateau; the plateau temperature is compared with a steam-table value (IAPWS saturation, quoted from reference tables).
The science
Sensible heat. Within one phase Q = m c ΔT with c(ice) = 2090, c(liquid) = 4186, c(vapour) = 2010 J/(kg K) (typical values, treated as constant).
Latent heat. A phase change at fixed T absorbs Q = m L: fusion Lf = 334 kJ/kg; vaporisation Lv(T) = 2.493 MJ/kg − 2360 T[°C] (2.257 MJ/kg at 100 °C); sublimation Ls = Lf + Lv(0) + (cvap − cice) T from a Kirchhoff cycle via 0 °C. Boiling a mass of water takes about 6.8 times as much heat as raising it from 0 to 100 °C.
Boiling point against pressure. Saturation pressure follows the Antoine equation log₁₀ p[mmHg] = A − B/(C + T) with A, B, C = 8.07131, 1730.63, 233.426 (1–100 °C) and 8.14019, 1810.94, 244.485 (99–374 °C); inverted for T(p). Over ice, p = 611.21 exp(22.587 T / (273.86 + T)) Pa (Magnus form), inverted for the sublimation temperature. Below the triple-point pressure 611.657 Pa liquid water cannot exist, so heated ice becomes vapour directly.
Heater model. The sample is lumped (uniform temperature): m dh/dt = P − UA (T − Troom) in specific enthalpy h, so temperature is read from h along the staged path (ice, melting, water, boiling or sublimation, vapour). No superheating, supercooling, nucleation delay, dissolved gas or evaporation below the boiling point; the pressure is held fixed (an open vessel, a sealed pressure cooker, a vacuum chamber); the melting point is fixed at 0 °C (pressure effect about −0.0074 K/MPa neglected).
Particle picture. The dots only illustrate the phase: a lattice that shakes more as T rises, a loose liquid, and fast free particles. It is not a molecular dynamics simulation and its speeds are not to scale. Models built with Blender, scene by Three.js.