Heating of hydrated ionic compounds