Modelling a simple grid storage

I take it you saw this recent thread on negative prices: