Abstract The canonical piecewise-linear method is used to analyse the nonlinear DC fault circuits and determine the potential at the preseleted test ports in the circuit. The method needs less storage capacity and has higher computing efficiency. It is a good method for analysis of fault circuits.