From 8ac15bc5efafa2afc053c293152605b0e6ae60ff Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Tue, 3 Sep 2019 18:27:40 +0530 Subject: Xcos examples from textbooks and for blocks --- Working_Examples/83/CH17/EX17.1/example_17_1.sce | 11 +++++++++++ Working_Examples/83/CH17/EX17.1/result_example_17_1.txt | 3 +++ Working_Examples/83/CH17/EX17.2/example_17_2.sce | 10 ++++++++++ Working_Examples/83/CH17/EX17.2/result_example_17_2.txt | 4 ++++ 4 files changed, 28 insertions(+) create mode 100755 Working_Examples/83/CH17/EX17.1/example_17_1.sce create mode 100755 Working_Examples/83/CH17/EX17.1/result_example_17_1.txt create mode 100755 Working_Examples/83/CH17/EX17.2/example_17_2.sce create mode 100755 Working_Examples/83/CH17/EX17.2/result_example_17_2.txt (limited to 'Working_Examples/83/CH17') diff --git a/Working_Examples/83/CH17/EX17.1/example_17_1.sce b/Working_Examples/83/CH17/EX17.1/example_17_1.sce new file mode 100755 index 0000000..1c42e46 --- /dev/null +++ b/Working_Examples/83/CH17/EX17.1/example_17_1.sce @@ -0,0 +1,11 @@ +//Chapter 17 +//Example 17.1 +//page 602 +//To find reactive power sensitivity at the bus +clear;clc; +Q_nom=1; //given +Ksh=0.8; V=1.0; //assumed +Qnet=(V^2-Ksh*V^2)*Q_nom; +//senstivity=dQnet/dV +s=2*V-2*V*Ksh; +printf('Reactive power Sensitivity at the bus is = %0.2f pu',s); diff --git a/Working_Examples/83/CH17/EX17.1/result_example_17_1.txt b/Working_Examples/83/CH17/EX17.1/result_example_17_1.txt new file mode 100755 index 0000000..908ff1e --- /dev/null +++ b/Working_Examples/83/CH17/EX17.1/result_example_17_1.txt @@ -0,0 +1,3 @@ + + +Reactive power Sensitivity at the bus is = 0.40 pu diff --git a/Working_Examples/83/CH17/EX17.2/example_17_2.sce b/Working_Examples/83/CH17/EX17.2/example_17_2.sce new file mode 100755 index 0000000..c216cae --- /dev/null +++ b/Working_Examples/83/CH17/EX17.2/example_17_2.sce @@ -0,0 +1,10 @@ +//Chapter 17 +//Example 17.2 +//page 602 +//To find capacity of static VAR compensator +clear;clc; + +delta_V=5/100; //allowable voltage fluctuation +S_sc=5000; //system short circuit capacity in MVA +delta_Q=delta_V*S_sc; //size of the compensator +printf('The capacity of the static VAR compensator is +%d MVAR',delta_Q); \ No newline at end of file diff --git a/Working_Examples/83/CH17/EX17.2/result_example_17_2.txt b/Working_Examples/83/CH17/EX17.2/result_example_17_2.txt new file mode 100755 index 0000000..57f0937 --- /dev/null +++ b/Working_Examples/83/CH17/EX17.2/result_example_17_2.txt @@ -0,0 +1,4 @@ + + +The capacity of the static VAR compensator is +250 MVAR + -- cgit