How to get the phase angle from Three Phase Power System

19 views (last 30 days)
Hello, currently an MSc student, have a tutorial problem with three phase power this is the question
Generator phase voltages: ๐‘‰๐‘ƒ1=220โˆ 0๐‘œ ๐‘‰,๐‘‰๐‘ƒ2=220โˆ 120๐‘œ ๐‘‰,๐‘‰๐‘ƒ3=220โˆ 240๐‘œ ๐‘‰
Already done the calculation on paper and using the calculator to get the answers. Nevertheless trying to figure out how to do it in Matlab how to get this answer โˆ ??๐‘œ
Doing the equations the answer I have for the V on the load end is 381.05 โˆ -30 for (VP1 - VP2) but before that the complex number is 330 + j190.52 (how do you get the โˆ 30 or 210 or 90) I know you can use
Magnitude = abs(z)
Phase = angle(z)
and then using cos and sin however do not get the -30 or 210 value. Unless I am doing something wrong to find this angle or there is a simplier way?

Answers (1)

Shivam
Shivam on 11 Oct 2023
Hi Daniel,
From the information you provided, I understand that given three phasors of a 3-phase power system, you want to calculate the phase angle between two phasors (here, VP1 and VP2) in MATLAB.
You can follow the below workaround to calculate the phase angle between two phasors:
% Given phasor
VP1 = 220 * exp(1i * deg2rad(0)); % VP1: 220โˆ 0ยฐ
VP2 = 220 * exp(1i * deg2rad(120)); % VP2: 220โˆ 120ยฐ
VP3 = 220 * exp(1i * deg2rad(240)); % VP3: 220โˆ 240ยฐ
VP1_diff_VP2 = VP1-VP2;
% Calculate the angle of the phasor: VP1 - VP2
angle_rad = angle(VP1_diff_VP2);
% Convert the angle to degrees
angle_deg = rad2deg(angle_rad);
disp(angle_deg);
-30.0000
You can refer to the following documentation to learn more about 'angle': https://www.mathworks.com/help/releases/R2023a/matlab/ref/angle.html
I hope it helps.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!