My robust solar panels produce more power than I use every year. Including powering a house, well, and septic pumps, it charges my car. Since I am on TOU as a solar customer (EV-A with PG&E), they give me more credit for power generated during their peak. If I charge my car then, essentially I am using more expensive power, and I get less money back at the end of the year. I charge my car after their peak, using cheaper power (since I'm grid tied) and keep my credit for expensive power.
Peak power is three times more expensive than off peak here. I can charge any time, but if I charge only during peak, when I'm generating, I would end up having to pay them back. "Buy low, sell high". If I generate power from 11AM to 6PM, and peak is 3PM to 8PM, I can charge until 3PM. At than point, the next 3 hours give me 9 hours credit, so I let the neighbors with the big houses, big TVs and big ACs use it.
I haven't paid an electricity bill in a dozen years. And I get a couple hundred back most years. Panels were paid for by what would have been electric bills, and paid off a half dozen years ago. Works for me.