Numerical models for storage systems based on phase change materials