I used this tool to compare the fuel costs of a possible electric model to the last petrol model I used.
The land here is mostly flat-ish and I would mostly be doing journeys of less than 10miles.
The solar panels get a payout for feeding into the grid, but the way the payments are designed means that we get paid regardless of what we use - so if it's done correctly it should be possible to basically get free charges for the car.