diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /503/CH8/EX8.37 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '503/CH8/EX8.37')
-rwxr-xr-x | 503/CH8/EX8.37/ch8_37.sci | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/503/CH8/EX8.37/ch8_37.sci b/503/CH8/EX8.37/ch8_37.sci new file mode 100755 index 000000000..e1b984c92 --- /dev/null +++ b/503/CH8/EX8.37/ch8_37.sci @@ -0,0 +1,25 @@ +//to find initial current,current at the end of 2 cycles and at the end of 10s
+
+clc;
+Ef=1;
+Xd2=.2;
+I2=Ef/Xd2;
+r=100*10^6;
+V=22000;
+I_b=r/(sqrt(3)*V);
+I2=I2*I_b;disp(I2,'initial current(A)');
+
+Xd1=.3;
+I1=Ef/Xd1;
+Xd=1;
+I=Ef/Xd;
+
+tau_dw=0.03;
+tau_f=1;
+
+function[a]=I_sc(t)
+ a=(I2-I1)*exp(-t/tau_dw)+(I1-I)*exp(-t/tau_f)+1;
+endfunction
+//2 cycles=0.04s
+disp(I_sc(.2867)*I_b,'current at the end of 2 cycles(A)');
+disp(I_sc(10)*I_b,'current at the end of 10s(A)');
|