Exp 2
Exp 2
a) MATLAB Code:
clc;
clear;
close all;
V_rms = 230;
Z_phase = 8 + 1j*6;
w = 100 * pi;
t = linspace(0, 0.05, 1000);
V_AB = V_rms * sqrt(2) * sin(w*t);
V_BC = V_rms * sqrt(2) * sin(w*t - 120*pi/180);
V_CA = V_rms * sqrt(2) * sin(w*t - 240*pi/180);
Page 1
P_AB = real(V_AB .* conj(I_AB));
P_BC = real(V_BC .* conj(I_BC));
P_CA = real(V_CA .* conj(I_CA));
figure;
subplot(4,1,1);
plot(t, P_AB, 'r'); grid on;
title('Instantaneous Power delivered by V_{AB}'); xlabel('Time (s)'); ylabel('Power
(W)');
subplot(4,1,2);
plot(t, P_BC, 'g'); grid on;
title('Instantaneous Power delivered by V_{BC}'); xlabel('Time (s)'); ylabel('Power
(W)');
subplot(4,1,3);
plot(t, P_CA, 'b'); grid on;
title('Instantaneous Power delivered by V_{CA}'); xlabel('Time (s)'); ylabel('Power
(W)');
MATLAB OUTPUT:
b) MATLAB Code:
clc;
clear;
close all;
V_rms = 230;
Z_phase = 8 + 1j*6;
w = 100 * pi;
t = linspace(0, 0.05, 1000);
V_AB = V_rms * sqrt(2) * sin(w*t);
V_BC = V_rms * sqrt(2) * sin(w*t - 120*pi/180);
V_CA = V_rms * sqrt(2) * sin(w*t - 240*pi/180);
Page 2
P_total = P_AB + P_BC + P_CA;
figure;
plot(t, P_total, 'r'); grid on;
title('Total Instantaneous Power'); xlabel('Time (s)'); ylabel('Power (W)');
MATLAB Output:
c) MATLAB code:
clc;
clear;
close all;
V_ph = 230 * sqrt(2);
Z_ph = 8 + 1j*6;
w = 100 * pi;
t = linspace(1,0.05,1000);
V_AB = V_ph * sin(w*t);
V_BC = V_ph * sin(w*t - 120*pi/180);
V_CA = V_ph * sin(w*t - 240*pi/180);
I_AB = max(V_AB)/Z_ph;
I_BC = max(V_BC)/Z_ph;
I_CA = max(V_CA)/Z_ph;
MATLAB Output:
Page 3
Real power from Vab is 4231.994769 W
Real power from Vbc is 4231.994769 W
Real power from Vca is 4231.994769 W
Reactive power from Vab is 3173.996076 W
Reactive power from Vbc is 3173.996076 W
Reactive power from Vca is 3173.996076 W
d) MATLAB Code:
clc;
clear;
close all;
V_ph = 230 * sqrt(2);
Z_ph = 8 + 1j*6;
w = 100 * pi;
t = linspace(1,0.05,1000);
V_AB = V_ph * sin(w*t);
V_BC = V_ph * sin(w*t - 120*pi/180);
V_CA = V_ph * sin(w*t - 240*pi/180);
I_AB = max(V_AB)/Z_ph;
I_BC = max(V_BC)/Z_ph;
I_CA = max(V_CA)/Z_ph;
MATLAB Output:
OBSERVATION:
Instantaneous power in a three-phase system fluctuates over time, with real power
representing the active component and reactive power representing the non-active
component. The total power is the sum of real and reactive power, while phase power is
calculated for each individual phase, showing differences in magnitudes and phases.
INFERENCE:
From the total and phase powers, it is inferred that real power is responsible for
performing useful work, while reactive power affects voltage regulation. The relationship
between instantaneous, real, and reactive power provides insights into the system's
efficiency, power factor, and the need for proper phase balancing in the system.
Page 4
2. Replace the existing load of (8 + j6) Ω per phase with a new load of (5 - j4) Ω
per phase for both star (Y) connection and delta (Δ) connection. Develop a MATLAB-
Simulink model to simulate and analyze the system based on the updated load
parameters.
a) Plot the Voltage, Current, Real, and Reactive Power absorbed by Loads.
b) Plot the Voltage, Current, Real, and Reactive Power delivered by the
source.
a)
Page 5
Load connected in Delta connection:
b)
Page 6
Load connected in Star connection:
OBSERVATION:
After replacing the original load with the new load of (5 - j4) Ω per phase for both star
and delta connections, the simulation shows variations in voltage, current, real, and
reactive power absorbed by the loads. The phase current and voltage waveforms also
change, indicating a shift in the system's power dynamics.
INFERENCE:
From the simulation, it can be inferred that the new load characteristics (reduced
resistance and inductive reactance) influence both the voltage and current at the load
Page 7
and source sides. The change in the load affects the power factor, leading to different
reactive and real power delivered and absorbed.
Page 8