summaryrefslogtreecommitdiff
path: root/3311/CH11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3311/CH11
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3311/CH11')
-rwxr-xr-x3311/CH11/EX11.1/Ex11_1.sce33
-rwxr-xr-x3311/CH11/EX11.2/Ex11_2.sce29
-rwxr-xr-x3311/CH11/EX11.3/Ex11_3.sce35
-rwxr-xr-x3311/CH11/EX11.4/Ex11_4.sce29
-rwxr-xr-x3311/CH11/EX11.5/Ex11_5.sce30
-rwxr-xr-x3311/CH11/EX11.6/Ex11_6.sce26
-rwxr-xr-x3311/CH11/EX11.7/Ex11_7.sce21
7 files changed, 203 insertions, 0 deletions
diff --git a/3311/CH11/EX11.1/Ex11_1.sce b/3311/CH11/EX11.1/Ex11_1.sce
new file mode 100755
index 000000000..b10f4505e
--- /dev/null
+++ b/3311/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,33 @@
+// chapter 11
+// example 11.1
+// Determine the peak values of average and rms thyristor currents, minimum circuit turn-off time, the ratio of third harmonic voltage to fundamental voltage , maximum value of di/dt and the angle at which greatest forward or reverse voltage is applied.
+// page-718-719
+clear;
+clc;
+// given
+R=4; // in ohm
+E=230; // in V (supply voltage)
+f=50; // in Hz
+alpha=%pi/3; // in degree
+n=3
+// calculate
+Em=E*sqrt(2);// calculation of peak input voltage
+I_T_av_m=Em/(%pi*R);// calculation of peak value of average thyristor current
+I_T_rms_m=Em/(2*R);// calculation of peak value rms thyristor current
+w=2*%pi*f;// calculation of angluar frequency
+Toff=%pi/w;// calculation of minimum circuit turn-off time
+A3=(Em/%pi)*(sin((n+1)*alpha)/(n+1)-sin((n-1)*alpha)/(n-1));
+B3=(Em/%pi)*((cos((n+1)*alpha)-1)/(n+1)-(cos((n-1)*alpha)-1)/(n-1));
+E_3m=sqrt(A3^2+B3^2);
+E_1m=(Em/%pi)*sqrt((sin((n-1)*alpha)/2+(%pi-alpha))^2+((cos((n-1)*alpha)-1)/(n-1))^2);// calculation of
+ratio=E_3m/E_1m;// calculation of the ratio of third harmonic voltage to fundamental voltage
+di_dt=%inf// calculation of maximum value of di/dt
+alpha2=%pi/2;// calculation of the angle at which greatest forward or reverse voltage is applied.
+Em_max=sqrt(2)*E;// calculation of magnitude of maximum voltage
+printf("\nThe peak value of average thyristor current is \t\t\t\t I_T_av_m=%.2f A",I_T_av_m);
+printf("\nThe peak value rms thyristor current is \t\t\t\t I_T_rms_m=%.2f A",I_T_rms_m);
+printf("\nThe minimum circuit turn-off time is \t\t\t\t\t Toff_m=%.f ms",Toff*1E3);
+printf("\nThe ratio of third harmonic voltage to fundamental voltage is \t\t %.3f ",ratio);
+printf("\nThe maximum value of di/dt is \t\t\t\t\t\t di/dt=%f A/s",di_dt);
+printf("\nThe angle at which greatest forward or reverse voltage is applied is \t alpha=%.2f radian",alpha2);
+printf("\nThe magnitude of maximum voltage is \t\t\t\t\t Em_max=%.2f V",Em_max); \ No newline at end of file
diff --git a/3311/CH11/EX11.2/Ex11_2.sce b/3311/CH11/EX11.2/Ex11_2.sce
new file mode 100755
index 000000000..d7ba73c56
--- /dev/null
+++ b/3311/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,29 @@
+// chapter 11
+// example 11.2
+// fig. Ex. 11.2
+// Determine rms value of output voltage, input power factor and average input current
+// page-719-721
+clear;
+clc;
+// given
+R=6; // in ohm
+Es=230; // in V (supply voltage)
+f=50; // in Hz
+alpha=%pi/2; // in degree
+n=3
+// calculate
+E0_rms=sqrt((2*Es^2/(4*%pi))*(integrate('1-cos(2*wt)','wt',alpha,%pi)+integrate('1-cos(2*wt)','wt',%pi,(2*%pi))));// calculation of rms value of output voltage
+I0_rms=E0_rms/R;// calculation of rms value of output current
+P0=I0_rms^2*R;// calculation of load power
+Ea=Es*I0_rms;// calculation of input voltage-ampere rating
+pf=P0/Ea;// calculation of input power factor
+Edc=(1/(2*%pi))*(sqrt(2)*Es*integrate('sin(wt)','wt',alpha,%pi)+sqrt(2)*Es*integrate('sin(wt)','wt',%pi,(2*%pi)));// calculation of average output voltage
+Idc=Edc/R;// calculation of average input current
+printf("\nThe rms value of output voltage is \t E0_rms=%.2f V",E0_rms);
+printf("\nThe input power factor is \t\t pf=%.3f ",pf);
+if pf>0 then
+ printf(" (lagging)");
+else
+ printf(" (leading)");
+end
+printf("\nThe average input current is \t\t Idc=%.2f A",Idc);
diff --git a/3311/CH11/EX11.3/Ex11_3.sce b/3311/CH11/EX11.3/Ex11_3.sce
new file mode 100755
index 000000000..4835c8b91
--- /dev/null
+++ b/3311/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,35 @@
+// chapter 11
+// example 11.3
+// Determine control range of firing angle, maximum value of rms load current, maximum power and power factor, maximum values of average and rms thyristor current, maximum possible of di/dt and the conduction angle for alpha=0 and alpha=120
+// page-721-722
+clear;
+clc;
+// given
+R=4; // in ohm
+Es=230; // in V (supply voltage)
+f=50; // in Hz
+wL=3; // in ohm (inductive reactance)
+alpha1=0, alpha2=120; // in degree
+// calculate
+w=2*%pi*f;// calculation of angular frequency
+Em=Es*sqrt(2);// calculation of peak value of input voltage
+alpha_min=atand(wL/R);// calculation of minimum firing angle
+alpha_max=180;// calculation of maximum firing angle
+Z=sqrt(R^2+wL^2);// calculation of impedence
+I0_rms_m=Es/Z;// calculation of maximum value of rms load current
+P0=I0_rms_m^2*R;// calculation of maximum power
+pf=P0/(Es*I0_rms_m);// calculation of power factor
+I_T_av=(Em/(%pi*Z));// calculation of maximum values of average thyristor current
+I_T_rms=Em/(2*Z);// calculation of maximum values of rms thyristor current
+di_dt=w*Em/Z;// calculation of maximum possible of di/dt
+gama1=180;// calculation of the conduction angle for alpha=0
+gama2=95;// calculation of the conduction angle for alpha=120
+printf("\nThe control range of firing angle is \t %.2f degree <= alpha <= %.2f degree",alpha_min,alpha_max);
+printf("\nThe maximum value of rms load current is \t\t I0_rms_m=%.f A",I0_rms_m);
+printf("\nThe maximum power is \t\t\t\t\t P0=%.f W",P0);
+printf("\nThe power factor is \t\t\t\t\t pf=%.1f",pf);
+printf("\nThe maximum values of average thyristor current is \t I_T_av=%.3f A",I_T_av);
+printf("\nThe maximum values of rms thyristor current is \t\t I_T_rms=%.3f A",I_T_rms);
+printf("\nThe maximum possible of di/dt is \t\t\t di/dt=%1E A/s",di_dt);
+printf("\nThe conduction angle for alpha=0 is \t\t\t gama1=%.f degree",gama1);
+printf("\nThe conduction angle for alpha=120 is \t\t\t gama2=%.f degree",gama2);
diff --git a/3311/CH11/EX11.4/Ex11_4.sce b/3311/CH11/EX11.4/Ex11_4.sce
new file mode 100755
index 000000000..3677f6498
--- /dev/null
+++ b/3311/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,29 @@
+// chapter 11
+// example 11.4
+// Plot a curve of load power against firing delay angle and determine required thyristor rating
+// page-722
+clear;
+clc;
+clf;
+// given
+R=10; // in ohm
+E1=100; // in V
+E2=70.7; // in V
+f=50; // in Hz (used by the author)
+// calculate
+w=2*%pi*f;
+alpha=[0:0.1:%pi];
+P0=1000-(500*alpha-250*sin(2*alpha))/%pi;
+plot2d(alpha,P0,nax=[2,3,2,3],rect=[0,0,%pi,1000]);
+PRV_12=E1*sqrt(2);
+PRV_34=E2*sqrt(2);
+printf("\nTHe peak reverse voltage for thyristor T1 and T2 is \t PRV=%.f V",PRV_12);
+printf("\nTHe peak reverse voltage for thyristor T3 and T3 is \t PRV=%.f V",PRV_34);
+I_T_max_12=E1*sqrt(2)/R;
+I_T_max_34=E2*sqrt(2)/R;
+I_T_rms_12=I_T_max_12/2;
+I_T_rms_34=I_T_max_34/2;
+printf("\nTHe maximum current for thyristor T1 and T2 is \t I_T_12=%.1f A",I_T_max_12);
+printf("\nTHe maximum current for thyristor T3 and T3 is \t I_T_34=%.1f A",I_T_max_34);
+printf("\nTHe rms current for thyristor T1 and T2 is \t I_T_12=%.1f A",I_T_rms_12);
+printf("\nTHe rms current for thyristor T3 and T3 is \t I_T_34=%.1f A",I_T_rms_34); \ No newline at end of file
diff --git a/3311/CH11/EX11.5/Ex11_5.sce b/3311/CH11/EX11.5/Ex11_5.sce
new file mode 100755
index 000000000..be3f2e509
--- /dev/null
+++ b/3311/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,30 @@
+// chapter 11
+// example 11.5
+// fig. 11.9
+// Determine rms current of tyristor T1 and T2, rms current of Thyristor T3 and T4 and input power factor
+// page-722-723
+clear;
+clc;
+// given
+e1=130; // in V
+e2=130; // in V
+Ep=260; // in V
+E0=195; // in V
+R=6; // in ohm
+alpha=%pi/2; // in radian (firing angle)
+// calculate
+I1=sqrt((1/(2*%pi*R^2))*2*(e1+e2)^2*integrate('(sin(wt))^2','wt',alpha,%pi)); // calculation of rms current of tyristor T1 and T2
+I2=sqrt((1/(2*%pi*R^2))*2*(e1^2)*integrate('(sin (wt))^2','wt',0,alpha)); // calculation of rms current of Thyristor T3 and T4
+Iw2=sqrt(2)*I1; // calculation of rms current of second winding
+Iw1=sqrt((sqrt(2)*I1)^2+(sqrt(2)*I2)^2); // calculation of rms current of first winding
+Ea=e1*Iw1+e2*Iw2; // calculation of volt-ampere rating
+P0=E0^2/R; // calculation of maximum power
+PF=P0/Ea; // calculation of power factor
+printf("\nThe rms current of tyristor T1 and T2 is \t I1=%.2f A",I1);
+printf("\nThe rms current of Thyristor T3 and T4 is \t I2=%.2f A",I2);
+printf("\nThe power factor is \t\t\t pf=%.3f",PF);
+if PF>0 then
+ printf(" (lagging)");
+else
+ printf(" (laeding)");
+end
diff --git a/3311/CH11/EX11.6/Ex11_6.sce b/3311/CH11/EX11.6/Ex11_6.sce
new file mode 100755
index 000000000..4f6d63a5a
--- /dev/null
+++ b/3311/CH11/EX11.6/Ex11_6.sce
@@ -0,0 +1,26 @@
+// chapter 11
+// example 11.6
+// Determine rms output phase voltage, input power factor
+// page-741-742
+clear;
+clc;
+// given
+E_L=210; // in V
+R=5; // in ohm
+alpha=%pi/3; // in radian (firing angle)
+// calculate
+Es=E_L/sqrt(3);
+E0=sqrt((2*Es^2/(4*%pi))*(integrate('1-cos(2*wt)','wt',alpha,%pi)+integrate('1-cos(2*wt)','wt',%pi,(2*%pi))));// calculation of rms output pahse voltage
+Ia=E0/R; // calculation of rms current
+P0=3*Ia^2*R; // calculation of maximum power
+I_L=Ia; // calculation of load current
+EA=3*Es*I_L; // calculation of volt-ampere rating
+pf=P0/EA; // calculation of power factor
+printf("\nThe rms output phase voltage is \t E0=%.3f V",E0);
+printf("\nThe power factor is \t\t\t pf=%.3f",pf);
+if pf>0 then
+ printf(" (lagging)");
+else
+ printf(" (laeding)");
+end
+// Note part-c of this question is a derivation type which i havenot done \ No newline at end of file
diff --git a/3311/CH11/EX11.7/Ex11_7.sce b/3311/CH11/EX11.7/Ex11_7.sce
new file mode 100755
index 000000000..425ebb8be
--- /dev/null
+++ b/3311/CH11/EX11.7/Ex11_7.sce
@@ -0,0 +1,21 @@
+// chapter 11
+// example 11.7
+// Determine required ratings of triacs and thyrstors
+// page-742
+clear;
+clc;
+// given
+Es=415; // in V
+P0=15; // in kW
+// calculate
+P0=P0*1E3; // changing unit from kW to W
+E_line=Es*sqrt(3); // calculation of line voltage
+I_line_rms=P0/E_line; // calculation of rms line current for traics
+V_offstate=Es*sqrt(2); // calculation of peak offstate voltage for traics
+I_rms=I_line_rms/sqrt(2); // calculation of required rms current rating for thyristor
+printf("\n For Traics");
+printf("\n\t\tThe rms line current is \t I_line_rms=%.1f A",I_line_rms);
+printf("\n\t\tThe peak offstate voltage is \t V_offstate=%.f V",V_offstate);
+printf("\n\n For thyristors");
+printf("\n\t\tThe required rms current rating is \t\t I_rms=%.1f A",I_rms);
+printf("\n\t\tThe voltage requirement will be same as that of triacs %.f V",V_offstate);