summaryrefslogtreecommitdiff
path: root/3472/CH27/EX27.8/Example27_8.sce
blob: 9e5bfe0231e0810455e4201434bc75a598fda944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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))