From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 14/CH14/EX14.6/example_14_6.sce | 25 +++++++++++++++++++++++++ 14/CH14/EX14.6/result_ex_14_6.txt | 5 +++++ 2 files changed, 30 insertions(+) create mode 100755 14/CH14/EX14.6/example_14_6.sce create mode 100755 14/CH14/EX14.6/result_ex_14_6.txt (limited to '14/CH14/EX14.6') diff --git a/14/CH14/EX14.6/example_14_6.sce b/14/CH14/EX14.6/example_14_6.sce new file mode 100755 index 000000000..8758fdf19 --- /dev/null +++ b/14/CH14/EX14.6/example_14_6.sce @@ -0,0 +1,25 @@ +//Chapter 14 +//Example 14.6 +//Page 392 +//frequency +clear;clc; +delta = 28.44; +H = 5; +ws = 377; +Pm =1; +Vt = 1;V_ib = 1; +X1_g =0.2;X1_t = 0.1;X1_l1 = 0.4;X1_l2 = 0.4; +X = X1_t + X1_l1 /2; +a = asin(Pm * X / (Vt * V_ib)) * 180 / %pi; +Vt1 = Vt * (cos(a * %pi / 180) + %i * sin(a * %pi / 180)); +I = (Vt1 - V_ib) / (%i * X); +E1 = Vt1 + (%i * X1_g * I); +X1 = X1_g + X1_t + X1_l1 /2; +Pmax = abs(E1) * V_ib / X1; +Sp = Pmax * cos(delta * %pi / 180); +wn = sqrt(ws * Sp / (2 * H)); +fn = wn / (2 * %pi); +T = 1 / fn; +printf("\n The angular frequency of oscillation is %.3f elec rad/s \n",wn) +printf("\n The corresponding frquency of oscillation is %.2f Hz \n",fn) +printf("\n The period of oscillation is %.3f s",T) \ No newline at end of file diff --git a/14/CH14/EX14.6/result_ex_14_6.txt b/14/CH14/EX14.6/result_ex_14_6.txt new file mode 100755 index 000000000..f8a0b980d --- /dev/null +++ b/14/CH14/EX14.6/result_ex_14_6.txt @@ -0,0 +1,5 @@ + The angular frequency of oscillation is 8.343 elec rad/s + + The corresponding frquency of oscillation is 1.33 Hz + + The period of oscillation is 0.753 s -- cgit