summaryrefslogtreecommitdiff
path: root/83/CH9/EX9.7/example_9_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /83/CH9/EX9.7/example_9_7.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '83/CH9/EX9.7/example_9_7.sce')
-rwxr-xr-x83/CH9/EX9.7/example_9_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/83/CH9/EX9.7/example_9_7.sce b/83/CH9/EX9.7/example_9_7.sce
new file mode 100755
index 000000000..1fb5fd8ac
--- /dev/null
+++ b/83/CH9/EX9.7/example_9_7.sce
@@ -0,0 +1,17 @@
+//Chapter 9
+//Example 9.7
+//page 355
+//To evaluate Zbus using Current Injection method
+clear;clc;
+
+disp("We can approach this problem using XCOS simulation")
+disp("In this simulation");
+disp("1)For injecting unit current at bus1 keeping bus2 open circuit,we use a current source of 1 unit which is switched on from t=0 to t=2. During this period we can observe the voltage waveforms of V1 and V2 and compare with the results given in the textbook");
+disp("2)For injecting unit current at bus2 keeping bus1 open circuit,we use a current source of 1 unit which is switched on from t=4 to t=6. During this period we can observe the voltage waveforms of V1 and V2 and compare with the results given in the textbook");
+
+Z11=7;
+Z21=4;
+Z12=Z21;
+Z22=6;
+
+Zbus=[Z11 Z12;Z21 Z22]