diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3872/CH12/EX12.1/Ex12_1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3872/CH12/EX12.1/Ex12_1.sce')
-rw-r--r-- | 3872/CH12/EX12.1/Ex12_1.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3872/CH12/EX12.1/Ex12_1.sce b/3872/CH12/EX12.1/Ex12_1.sce new file mode 100644 index 000000000..2240ec1c0 --- /dev/null +++ b/3872/CH12/EX12.1/Ex12_1.sce @@ -0,0 +1,30 @@ +//Book - Power System: Analysis & Design 5th Edition
+//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
+//Chapter - 12 ; Example 12.1
+//Scilab Version - 6.0.0 ; OS - Windows
+
+clc;
+clear;
+
+Tr=0;
+Ka=100;
+Ta=0.05;
+Vrmax=5;
+Vrmin=-5;
+Ke=1;
+Te=0.26;
+Kf=0.01;
+Tf=1;
+
+Efd=2.9135; //Value taken from Example 11.10
+Vt=1.0946; //Value taken from Example 11.10
+
+Vr=Ke*Efd; //Initial value of Vr
+Vf=0; //Initial value of vf
+Vref=(Vr/Ka)+Vt+Vf; //Initial value of Vref
+
+printf('The initial value of Vr is %.4f\n',Vr)
+printf('The initial value of Vf is %.4f\n',Vf)
+printf('The initial value of Vref is %.4f\n',Vref)
+
+//Section 'b' of this problem cannot be simulated using current version of Scilab
|