An advanced wall treatment for a 1D model of packed bed thermal energy storage systems