I've asked the same question before for small scale at home surplus.
For a small/medium grid like a whole island, it's easier. You generally know ahead of time when there is going to end up being a surplus, so you can let storage get low preemptively. This includes batteries, pumped hydro, heating water, heating/cooling homes, etc.
If that's not enough, you can run some high energy cost things that dont have to run all the time like desalination or electrolysis.