A newly developed procedure for calculating deviation from local equilibrium at phase interfaces, caused by dissipation of Gibbs energy due to diffusion inside the interface, was implemented in the DICTRA code. The austenite to ferrite transformation in Fe-Ni alloys and the transition to a massive transformation upon cooling is studied.