"Sending power to the grid and then consume it later" is sometimes tricky.
Depends on the contract - devil could be in "small letter's paragraphs".
Many times you sell power for low price (it's a sunshine, spot price is low) and buy it expensive afterwards (it's a winter).
Just small note, that the cost savings are not always as expected ones.