A consortium is to test car parks where motorists can charge their electric vehicles via solar power.