Use the grid as your battery
Net metering is the closest you can get to using the grid as your battery, without having to buy and maintain batteries.
Here's an example from one of our systems for the month of September.
This 18 module system produced a credit for the month of 343 kWh! This amount will be deducted automatically from the October bill for any net consumption.