Modeling of the phase changes between ice, water and vapor->edit