Professional Documents
Culture Documents
Lab # 2
Submitted to Dr. Arif Gilgiti
1. We students will understand the dependency of the amount and the direction of power flow
on power angle.
2. We will be able to calculate line losses from complex power flow.
3. We will learn about the dependency of the direction of reactive power flow on voltage
magnitudes of transmitting and receiving ends.
2.2 Theory
Consider two ideal voltage sources. These are connected by an impedance Z between them (see figure
2.1). If 𝑉1 = |𝑉1 |∠𝛿1 and 𝑉2 = |𝑉2 |∠𝛿2 and 𝑍 = |𝑍|∠𝛾 𝑜 then currents can be given as,
𝑉1 − 𝑉2 𝑉2 − 𝑉1
𝐼12 = ; 𝐼21 =
𝑍 𝑍
The apparent power flow in both directions can then be calculated as,
𝑆𝐿 = 𝑆12 + 𝑆21
This can be verified by using the following equations,
𝑃𝐿 = |𝐼 2 |𝑅 ; 𝑄𝐿 = |𝐼 2 |𝑋
The circuit diagram is shown below
1|Page
2.3 Procedure
We are required to perform calculations for different tasks. Any method can be used to obtain results.
Later these results are verified using MATLAB. MATLAB code for our lab is provided as sample by Dr.
Arif Gilgiti. For calculations, help can be taken from Haadi Saadat Power system analysis, example 2.5.
2.4.1 Task 1
With 𝑉1 = 120∠−5𝑜 and 𝑉2 = 100∠0𝑜 , 𝑍 = 1 + 𝑗7 Ω, determine the real and reactive power
supplied and received by each source. Do this exercise by hand and verify it through MATLAB.
Calculations
The current flowing from source 1 to 2 can be found by,
𝑉1 − 𝑉2 120∠−5𝑜 − 100∠0𝑜
𝐼12 = = = −1.073 − 2.945𝑗 𝐴
𝑍 1 + 𝑗7
The current flowing from source 2 to 1 can be found by,
𝑉2 − 𝑉1 100∠0𝑜 − 120∠−5𝑜
𝐼21 = = = 1.073 + 2.945𝑗 𝐴
𝑍 1 + 𝑗7
The apparent power flow can be given as
2.4.2 Task 2
Determine the line losses from task 1 and verify by 𝑃𝐿 = |𝐼 2 |𝑅 and |𝐼 2 |𝑋.
Calculations
Line Losses can be found using
𝑃𝐿 = |𝐼 2 |𝑅 = 3.1352 ∗ 1 = 9.83 𝑊
𝑄𝐿 = |𝐼 2 |𝑋 = 3.1352 ∗ 7 = 68.8 𝑉𝐴𝑅
2|Page
2.4.3 Task 3
Vary phase angle of voltage source 1 between +30o and -30o in 5o steps and compute complex power
of each source and line losses.
Results
The values are as follows
Comment
These are the values for complex power with changing phase angle. We can see a general trend
here. As phase angle increases real power of source 1 increases. On the other hand real power of
source 2 decreases. As for line losses, they first decrease with the increase in phase angle and after
zero they again start to increase. These line losses are minimum when phase angle of voltage source
1 is 0𝑜 .
2.4.4 Task 4
Plot real power supplied by the two sources and resistive line losses against δ. From the plots,
comment on the direction of power flow and its amount with δ.
3|Page
Observation
Comment
This is basically a graphical representation of table 2.1. When can see that the trend discussed in
section 2.4.4 follows here.
Figure 2.2: Plot Of real power and line losses vs phase angle
2.4.5 Task 5
Keep the voltage magnitude and phase angle of source 2 constant. Vary the voltage magnitude of
source 1 between 75% and 100% in steps of 1% and plot Q1, Q2, and QL against |V1|. From the plot,
comment the effect of voltage magnitude on the direction of reactive power flow.
Observation
4|Page
Comment
We can see from our graph (figure 2.3) that changing the magnitude of 𝑉1 will have no effect on line
losses. This is due to the fact that both the currents 𝐼12 and 𝐼21 are affected as 𝑉1 changes. As real
power from 𝑉1 increases, real power from 𝑉2 decreases. So net effect on line losses is negligible.
Result
From our calculations and observations we can observe a general trend. Real power always flows
from voltage source with higher phase angle to voltage source with lower phase angle.
In the case of reactive power, it always flows from voltage source with high magnitude to voltage
source with low magnitude.
5|Page
Appendix (MATLAB Code)
z = 1 + 7i; % Impedance
resistance = 1; % Resistive part of impedance
x = 7; % Reactive part of impedance
%--------------------------------------------------------%
%% Task 2
% We need to find the line losses both real and reactive
6|Page
%---------------------------------------------------------%
%% Task 3
% We need to vary our first voltage
i_12c_vary = conj(i_12_vary);
i_21c_vary = conj(i_21_vary);
s_12_vary = v1_vary.*i_12c_vary;
s_21_vary = v2.*i_21c_vary;
%----------------------------------------------------------%
%% Task 4
% In this part we will plot our required graphs
%----------------------------------------------------------%
%% Task 5
% We will find our required graphs
v1_magnitude_vary = 90:01:120;
v1_vary_2 = v1_magnitude_vary.*(cosd(-5) + 1i*sind(-5));
i_12_vary_2 = (v1_vary_2-v2)./z;
i_21_vary_2 = (v2-v1_vary_2)./z;
i_12c_vary_2 = conj(i_12_vary_2);
i_21c_vary_2 = conj(i_21_vary_2);
7|Page
s_12_vary_2 = v1_vary_2.*i_12c_vary_2;
s_21_vary_2 = v2.*i_21c_vary_2;
Q_12_vary_2 = imag(s_12_vary_2);
Q_21_vary_2 = imag(s_21_vary_2);
%-------------------------------------------------&
%% The End %%
8|Page