summaryrefslogtreecommitdiff
path: root/1938/CH6/EX6.11/6_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1938/CH6/EX6.11/6_11.sce
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 '1938/CH6/EX6.11/6_11.sce')
-rwxr-xr-x1938/CH6/EX6.11/6_11.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/1938/CH6/EX6.11/6_11.sce b/1938/CH6/EX6.11/6_11.sce
new file mode 100755
index 000000000..343e2271c
--- /dev/null
+++ b/1938/CH6/EX6.11/6_11.sce
@@ -0,0 +1,38 @@
+clc,clear
+printf('Example 6.11\n\n')
+
+//note that a new function p2z has been defined below for direct representation of complex numbers in polar form
+function [FUN] = p2z(RRRR,Theeeta)
+ FUN = RRRR.*exp(%i*%pi*Theeeta/180.);
+endfunction
+
+V_l=3300
+V_ph=V_l/sqrt(3)
+VA=3*10^6
+I_FL=VA/(V_l*sqrt(3))
+IX_s=(25/100)*V_ph //product of I and X_s
+X_s=complex(0,IX_s/I_FL) //synchronous reactance
+N_s=1000 //in rpm
+P=6
+f=50
+
+delta_dash_mech=%pi/180
+delta_dash_elec=delta_dash_mech*(P/2) //P/2 is pole pairs(and not poles)
+
+I=I_FL
+phi=acosd(0.8)
+V=p2z(V_ph,phi)
+E=V+I*X_s
+//E leads I by phasemag(E). V leads I by phasemag(V)
+
+delta=(%pi/180)* (phasemag(E)-phasemag(V) ) //power angle in radians
+P_SY=abs(E)*abs(V)*cos(delta)*sin(delta_dash_elec)/abs(X_s) //Synchronising power per phase
+printf('Synchronising power is %.3f kW',10^-3*P_SY)
+P_SY_total=3*P_SY //Total synchronising power
+
+N_s=120*f/P //in rpm
+n_s=(N_s)/60 //in rps
+T_SY=P_SY_total/(2*%pi*n_s)
+printf('\nSynchronising torque is %.0f N-m',T_SY)
+
+printf('\n\nAnswer mismatches due to approximation')