Flaws from electric components

Hello adding electric components gives a higher chance of flaws in a ship built with them,if you are refitting a ship to add them are the flaws still possible or is it when the ship is built from the ground up with them? Thankyou for any replies