Application of magnetic refrigeration and its assessment