Impedance Method Used To Calculate Initial Switching Currents in Transmission Networks and Generator Real Power