summaryrefslogtreecommitdiff
path: root/3472/CH27/EX27.8/Example27_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3472/CH27/EX27.8/Example27_8.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3472/CH27/EX27.8/Example27_8.sce')
-rw-r--r--3472/CH27/EX27.8/Example27_8.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3472/CH27/EX27.8/Example27_8.sce b/3472/CH27/EX27.8/Example27_8.sce
new file mode 100644
index 000000000..9e5bfe023
--- /dev/null
+++ b/3472/CH27/EX27.8/Example27_8.sce
@@ -0,0 +1,32 @@
+// A Texbook on POWER SYSTEM ENGINEERING
+// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
+// DHANPAT RAI & Co.
+// SECOND EDITION
+
+// PART III : SWITCHGEAR AND PROTECTION
+// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
+
+// EXAMPLE : 1.8 :
+// Page number 472
+clear ; clc ; close ; // Clear the work space and console
+
+// Given data
+X_d_st = 0.2 // Sub-transient reactance(p.u)
+X_d_t = 0.4 // Transient reactance(p.u)
+X_d = 1.0 // Direct axis reactance(p.u)
+I_pu = 1.0 // Load current(p.u)
+PF = 0.80 // Lagging power factor
+
+// Calculations
+V = 1.0 // Terminal voltage(p.u)
+sin_phi = (1-PF**2)**0.5
+I = I_pu*(PF-%i*sin_phi) // Load current(p.u)
+E_st = V+%i*I*X_d_st // Voltage behind sub-transient reactance(p.u)
+E_t = V+%i*I*X_d_t // Voltage behind transient reactance(p.u)
+E = V+%i*I*X_d // Voltage behind direct axis reactance(p.u)
+
+// Results
+disp("PART III - EXAMPLE : 1.8 : SOLUTION :-")
+printf("\nVoltage behind sub-transient reactance = %.2f∠%.2f° p.u", abs(E_st),phasemag(E_st))
+printf("\nVoltage behind transient reactance = %.2f∠%.2f° p.u", abs(E_t),phasemag(E_t))
+printf("\nVoltage behind direct axis reactance, E = %.2f∠%.2f° p.u", abs(E),phasemag(E))