How to calculate the energy storage efficiency of bricks