You are grid tied?
The power company is legislated to pay you for power?
1) supply power to the electrical panels, if there's excess solar power,
2) charge the batteries, if the batteries are charged at least 70% (enough to power the home through the night),
3) power an intermittent circuit for charging the EV with excess power, if there's still excess solar coming in keep charging the batteries.
4) If the batteries are fully charged and there's still more solar coming in than my electrical panels need, sell power to the grid.
If we come home in the EV with more than enough charge for the next day, we plug the EV into an intermittently powered charging circuit. My wife asks for at least 120 miles range for most daily uses. So if the EV has less than 120 miles charge we plug it into the constantly powered circuit (think of that circuit as always on, but not always free). If we come home with more than 120 miles range we plug it into the intermittently powered circuit (not always on, but when it's on it's always free power).
Last year we drove the EV 26K miles, with 16K of those miles charged at home (over 1,300 miles charged at home per month). Yet our total power bills last year was $890 ($74/month). That's for our all-electric home. That's with just recently started selling power to the grid this past fall (thus I sold very little power to the grid).
In year 2024 I expect selling power to the grid to lower the power bills by $15 month on average. I count it as gravy on the top, not a critical feature for whether or not it's worth going solar. That's because state or federal regulations can change (my state of Alabama never had net metering, and the states that did have it are getting away from it). If regulations change in the future to where it's not worth putting power onto the grid, I'll change a few settings on my inverters and quit selling power to the grid. I'll go back to being a normal power customer like everybody else except I'll pull a lot less power from the grid (which is what my relationship with the power company was the first 2 years I had solar).
If I wasn't a software engineer with experience mainly on the backend data processing, my throughput would probably be about 70% of my power free. But because my inverters can export telemetry in 5-minute candles I was able to analyze the throughput to see which parts should be strengthened when I did my upgrade after owning half the system of solar for a year to make sure it would do as expected. I made sure my upgrade was in the points that needed more optimization to take it to 83% average across the year. The point is, you don't have to be a data nerd to get 70% self-reliance on energy if you live in a climate like mine.