ChristopheFR wrote: We also see that the rubbery potting has boiled.
Actually, that grey stuff looks rather similar to some goo that oozed from a similar capacitor (also 2.2 μF across the line) in an Elcon/TC charger:
(From https://www.diyelectriccar.com/forums/s ... ost1019597
, in case you are interested in all the details. )
With closer inspection, does it appear to have come from the capacitor? It might be the outer epoxy that's for fire extinguishing. It may have gotten too hot from the resistor that overheated.
1) should I change the capacitor as a precaution?
Given the above, and the difficulty of getting to these components, I'd say definitely yes.
I agree with Kiev, that replacement appears to be suitable, as long as the lead spacing of 27.5 mm is the same as the PCB hole spacing, as it very likely is (these parts are thankfully pretty standardized). However, the Kemet is rated for -40°C to +110°C, whereas the 310 V Okayas seem to be rated for -55°C to +110°C. If your vehicle is likely to see temperatures below -40°C when parked (it will get nice and warm after operating for a few minutes), then you might want to find a wider temperature range replacement.
The Okaya data
seems very sparse compared to the Kemet's.[ Edit: changed Okaya link to the LE-MX PDF file. I initially read LF. ]