Hello. I can not help you much with this issue, what I can tell you is that a couple of smart fortwo that have given me similar electrical problems has been solved by taking out the rifle (which makes rifle and switchboard at the same time), opening it and clean it well with cleaning cool as if you do not pay it and blowing with the air gun. When riding everything they have worked.
All the best