Analysis of the thermal hysteresis in partially deuterated tryglicine selenate