How to get the phase angle from Three Phase Power System
25 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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);
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.
0 Comments
See Also
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!