Electric traction systems generate various power quality problems that have an important impact on its distribution network. In this paper a DC electric traction system was modeled in order to generate the problems that its operation implicated. Once the power quality phenomena were replicated a compensation device, SVC, was added to de distribution network to improve voltage and also a filter was installed in the same node to reduce wave distortion. Finally the possible events that can appear if the original configuration of the compensator device is changed are evaluated.