Midstream energy storage