summaryrefslogtreecommitdiff
path: root/1938/CH6/EX6.24/6_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '1938/CH6/EX6.24/6_24.sce')
-rwxr-xr-x1938/CH6/EX6.24/6_24.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1938/CH6/EX6.24/6_24.sce b/1938/CH6/EX6.24/6_24.sce
new file mode 100755
index 000000000..ff0df37b0
--- /dev/null
+++ b/1938/CH6/EX6.24/6_24.sce
@@ -0,0 +1,17 @@
+clc,clear
+printf('Example 6.24\n\n')
+
+X_d=1,X_q=0.6,R_a=0 //armature resistance and synchronous reactance of direct,quadrature axis
+phi=acos(0.8) //lag
+V_t=1
+I_a=1 //full load
+psi=atan( (V_t*sin(phi)+I_a*X_q)/(V_t*cos(phi)+I_a*R_a) )
+
+delta=psi-phi
+I_s=I_a
+I_d=I_a*sin(psi)
+I_q=I_a*cos(psi)
+
+E_f=V_t*cos(delta)+I_d*X_d+I_q*R_a
+regulation=100*(E_f-V_t)/V_t
+printf('percentage regulation is %.2f percent',regulation)