Natural gas flows in pipelines as a consequence of the pressure difference at the inlet and outlet. Adjusting these pressures makes it possible to inject natural gas at one rate and withdraw at a different rate, hence using the pipeline as storage as well as transport. We study the value of using the so called pipeline linepack as a short-term gas storage and how this functionality may offset the discrepancy between the low flexibility in take-or-pay contracts and the high inherent flexibility of a gas fired power plant. To value the storage option, we consider a cycling power plant facing volatile power prices while purchasing gas on a take-or-pay contract. We estimate a Markov regime-switching model for power prices and a mean reverting jump diffusion model for gas prices. Applying Least Squares Monte Carlo simulation to the operation of the power plant, we find that the storage option indeed has significant value for the plant, enabling it to better exploit the sometimes extreme price fluctuations. Finally, we show how power price volatility and * Corresponding author. Tel.: +47 73591296; fax: +47 73591045Email addresses: oystein.arvesen@bcg.com (Ø. Arvesen), vegard.medbo@gmail.com (V. Medbø), stein-erik.fleten@iot.ntnu.no (S.-E. Fleten), asgeir.tomasgard@iot.ntnu.no (A. Tomasgard), sjur.westgaard@iot.ntnu.no (S. Westgaard) Postprint version. Published in Energy 52(1), 155-164, 2013. DOI August 30, 2017 jump frequency are the main value drivers, and that the size of the storage increases the value up to a point where no additional flexibility is used.