All good reasons you listed to go solar.Of course roof repairs and/or replacment requires solar panel removal and reinstall. It is smart to have a new or newer roof before installation.
The cost to charge my EV is zero above the $9 (or less) cost to be connected to the grid. EV charging is added value; the goal is always to maximize asset utilization to increase ROI. I did not purchase the solar for EV charging; that was not a factor in the 2 year evaluation which led to the decision.
I am not sure why you are considering depreciation. When the panels are no longer producing, I have the choice to replace them or simply go back to PG&E. I will be long past break even point; the solar project will have more than paid for itself.
My decision to go solar was as a hedge against future electricity cost fluctuation. And I was not betting on PG&E lowering prices... An insurance policy, if you will. There is value in that. The decision turned out to be far better than I had hoped.
My reason to list depreciation is, that's how most would look at how much something cost. You can say your car cost nothing because you pay it off 10 years ago with cash, but that's typically not how people see what something cost.
A $20k solar panel that last 20 years means it cost $1k a year, or 1000/12 a month.