The current in any branch of a multiple-source circuit can be found by determining the currents in that particular branch produced by each source acting alone, with all other sources replaced by their internal impedances. The total current in the given branch is the phasor sum of the individual source currents in that branch
ZTh is the total impedance appearing between two specified terminals in a given circuit with all sources zeroed and replaced by their internal impedances (voltage = 0 current = ¥)