diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3802/CH3/EX3.21/Ex3_21.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3802/CH3/EX3.21/Ex3_21.sce')
-rw-r--r-- | 3802/CH3/EX3.21/Ex3_21.sce | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/3802/CH3/EX3.21/Ex3_21.sce b/3802/CH3/EX3.21/Ex3_21.sce new file mode 100644 index 000000000..8197ec8fa --- /dev/null +++ b/3802/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,39 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex3_21.sce
+
+clc;
+clear;
+P1=7e3; //supplied power in watt
+pf1=0.8; //lagging power factor
+//below values are taken from the given circuit (fig.3.39)
+Z1=complex(0.8,1);
+Z2=complex(1.4,1.6);
+V1=440; //terminal voltage in volt
+PL=10e3; //power required by the load in watt
+pf2=0.8; //lagging power factor
+
+I1=P1/(V1*pf1);
+Pr1=P1-(I1^2*real(Z1));
+Q1=P1*tand(acosd(pf1));
+Qr1=Q1-(I1^2*imag(Z1));
+VA=sqrt(Pr1^2+Qr1^2);
+VL=VA/I1;
+printf("\n V_L=%3.1f V \n",VL)
+
+QL=PL*tand(acosd(pf2));
+Pr2=PL-Pr1;
+Qr2=QL-Qr1;
+VA_load=sqrt(Pr2^2+Qr2^2);
+I2=VA_load/VL;
+
+P2=Pr2+(I2^2*real(Z2));
+Q2=Qr2+(I2^2*imag(Z2));
+V2=sqrt(P2^2+Q2^2)/I2;
+printf("\n V2=%3.1f V \n",V2)
+printf("\n Reactive power:P2=%4.1f W \t Q2=%4.1f Var \n",P2,Q2)
+
+
|