I like that analogy.
Batteries are kind of the RAM/cache in the system: - Big merchant batteries like Hornsdale are kind of like more distant ram RAM - Batteries co-located with renewables are kind of the local to core ram - UPS and similar are cache - Pumped hydro is probably Tape ;)
It feels like we might still be lacking a good/widely deployed HD/SSD equivalent in this space, hopefully new/emerging technologies (maybe the sodium chemistries others are mentioning) will be able to fill that in.