summaryrefslogtreecommitdiff
path: root/3472/CH17/EX17.27/Example17_27.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3472/CH17/EX17.27/Example17_27.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/CH17/EX17.27/Example17_27.sce')
-rw-r--r--3472/CH17/EX17.27/Example17_27.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3472/CH17/EX17.27/Example17_27.sce b/3472/CH17/EX17.27/Example17_27.sce
new file mode 100644
index 000000000..07831e501
--- /dev/null
+++ b/3472/CH17/EX17.27/Example17_27.sce
@@ -0,0 +1,31 @@
+// A Texbook on POWER SYSTEM ENGINEERING
+// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
+// DHANPAT RAI & Co.
+// SECOND EDITION
+
+// PART II : TRANSMISSION AND DISTRIBUTION
+// CHAPTER 10: POWER SYSTEM STABILITY
+
+// EXAMPLE : 10.27 :
+// Page number 309-310
+clear ; clc ; close ; // Clear the work space and console
+
+// Given data
+f = 50.0 // Frequency(Hz)
+P_m = 1.0 // Power delivered(p.u)
+P_max = 1.8 // Maximum power(p.u)
+gamma_1_P_max = 0.4 // Reduced maximum power after fault(p.u)
+gamma_2_P_max = 1.30 // Maximum power after fault clearance(p.u)
+
+// Calculations
+delta_0 = asin(P_m/P_max) // δ_0(radians)
+delta_0_degree = delta_0*180/%pi // δ_0(°)
+delta_f = %pi-asin(P_m/(gamma_2_P_max)) // δ_1(radians)
+delta_f_degree = delta_f*180/%pi // δ_1(°)
+gamma_1 = gamma_1_P_max/P_max // γ_1
+gamma_2 = gamma_2_P_max/P_max // γ_2
+delta_c = acosd(1.0/(gamma_2-gamma_1)*((delta_f-delta_0)*sin(delta_0)+(gamma_2*cos(delta_f)-gamma_1*cos(delta_0)))) // Clearing angle(°)
+
+// Results
+disp("PART II - EXAMPLE : 10.27 : SOLUTION :-")
+printf("\nCritical angle, δ_c = %.2f° ", delta_c)