Behaviour of Thermodynamic Models with Phase Change Materials under Periodic Conditions