Analytic optimization of Joule–Brayton cycle-based pumped thermal electricity storage system