If there is trouble starting at the power transformer itself, that is where you begin. In my case, the house that I bought was built in 1930. That is reason enough to dig into what should be done for at least recent local code. I called the city electric provider and started there. They replaced the old cloth 3 wire line from the transformer that ran through the trees and more, not to just my house, but the 3 other homes coming from the new transformer. Damned near everything was replaced due to the old way that was likely overlooked back in the day. Grounding was one of my concerns and so the main ground is connected to the well pipe which is extended 25 feet below the surface of the earth. It went on and on like that, but I wouldn’t have it any other way, since if things were substandard to begin with due to age or other considerations, how the hell could you expect the cleanest/best performance to begin with? I was able to get as much right as I could before the rest could be accomplished. FWIW, the city had to buy new transformers for our substation this year. Fortunately, they went above and beyond what was needed, unlike the last time, when one of them caught fire.