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 /695/CH2/EX2.18/Ex2_18.txt | |
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 '695/CH2/EX2.18/Ex2_18.txt')
-rwxr-xr-x | 695/CH2/EX2.18/Ex2_18.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/695/CH2/EX2.18/Ex2_18.txt b/695/CH2/EX2.18/Ex2_18.txt new file mode 100755 index 000000000..d767e2d59 --- /dev/null +++ b/695/CH2/EX2.18/Ex2_18.txt @@ -0,0 +1,27 @@ +//Caption:Find the (a)current supplied by each generator (b)output voltage (c) output KW of each machine
+//Exa:2.18
+clc;
+clear;
+close;
+V_t1=280;//terminal voltage of generator-1 in volts
+V_nl1=240;//no-load voltage of generator-1 in volts
+V_t2=300;//terminal voltage of generator-2 in volts
+V_nl2=240;//no-load voltage of generator-2 in volts
+I_s1=40;//supply current to generator-1 in amperes
+I_s2=50;//supply current to generator-2 in amperes
+V_d1=V_t1-V_nl1;//voltage drop for generator-1 in volts
+V_d2=V_t2-V_nl2;//voltage drop for generator-2 in volts
+V_d1_pa=V_d1/I_s1;//voltage drop per ampere for generator-1 in volts/ampere
+V_d2_pa=V_d2/I_s2;//voltage drop per ampere for generator-2 in volts/ampere
+I_2=(20+60)/(V_d1_pa+V_d2_pa);//in amperes
+I_1=60-I_2;//in amperes
+disp(I_1,'(a) Current supplied by generator-1(in amperes)=');
+disp(I_2,' Current supplied by generator-2(in amperes)=');
+V_1=V_t1-(V_d1_pa*I_1);//in volts
+V_2=V_t2-(V_d2_pa*I_2);//in volts
+disp(V_1,'(b) Output voltage of generator-1(in volts)=');
+disp(V_2,'(b) Output voltage of generator-2(in volts)=');
+P_1=V_1*I_1/1000;//in kilo watts
+P_2=V_2*I_2/1000;//in kilo watts
+disp(P_1,'(c) Output KW of generator-1(in Kilo watts)=');
+disp(P_2,'(c) Output KW of generator-2(in Kilo watts)=');
\ No newline at end of file |