Some (smart?) utilities are doing some very interesting things from the perspective of the homeowner with a PV system and the ability to understand the nuances. JFPETESN's utility is providing hourly rates, which is way too much for most people to digest, but in his case he's taking advantage of this to lower his bill by buying power when it's cheap and storing it in his batteries for use when it's expensive. The utility presumably is just fine with this since they are the ones choosing the rates, which reflect how their cost varies during the day. (Now if they'd only send the information electronically to his inverter and if his inverter was able to make decisions based on that information, his life would be much smoother).
Some utilities in the NE US (and perhaps other places) offer a HUGE premium for the ability to pull power from your batteries during peak demand periods. The contracts are reasonably balanced, in the sense that you are protected from their draining your batteries right before a storm that is forecast to cause outages. You can set how many kWH they can pull, and so on. They even pay upfront when you install the battery and commit to the program. Of course, you have to have a battery they can communicate with, the Tesla PowerWall being the most familiar example.
Here's information on the
Vermont program
And a similar program in
Hawaii