Electric vehicle charging and solar energy cooperation