Seol mar théacs é seo: Quantifying network flexibility requirements in terms of energy storage