close all; clear; clc; Xd = 1.0; Xd1 = 0.25; Xd2 = 0.12; Xt = 0.2; Sb = 100; VL1 = 13.8; VL2 = 220; Ib1 = Sb*1000/(sqrt(3)*VL1); Ib2 = VL1/VL2*Ib1; Id2 = 1.0/(Xd2+Xt); Id1 = 1.0/(Xd1+Xt); Id = 1.0/(Xd+Xt); Iasy = sqrt(3)*Id2 t=0:.02:6; it = sqrt(2)*( (Id2-Id1)*exp(-t/0.4) + (Id1-Id)*exp(t/1.1)+Id ).*sin(377*t+pi/2)+ sqrt(2)*Id2*exp(-t/0.25); plot(t, it); grid; xlabel('t, sec'); ylabel('i, A'); Iasy = 5.4127 1 Published with MATLAB® R2017a 2