Vous êtes sur la page 1sur 3

2017628 PhaseVoltagesinThreePhaseSystemusingMatlab|ElectricalAcademia

Single Phase Voltage Calculation using Matlab


Faizan Circuits with Matlab

Here,wewillfindphasevoltagesVAN,VBN,andVCN,showninthefollowingfigure,usingMatlab.

ByapplyingKVL,wecomeupwiththefollowingthreeequations:

o
1100 = (1 + j1)I1 + (5 + j12)I1 (1)
o
110 120 = (1 j2)I2 + (3 + j4)I2 (2)

o
110120 = (1 j0.5)I3 + (5 j12)I3 (3)

Aftersimplifyingaboveequations,wehave

o
1100 = (6 + j13)I1 (4)
o
110 120 = (4 + j2)I2 (5)

o
110120 = (6 j12.5)I3 (6)

Letsputtheabovethreeequationsinmatrixform,

o
6 + j13 0 0 I1 1100

o
0 4 + j2 0 I2 = 110 120
o
0 0 6 j12.5 I3 110120

Now,wecanwritetheabovematrixas:

[Z ] [I ] = [V ]

Fromabove,wecaneasilycalculateunknowncurrentsusing:

I = inv(Z ) V

Andforthephasevoltages:
http://electricalacademia.com/basics2/circuitswithmatlab/singlephasevoltagecalculationusingmatlab/ 1/3
2017628 PhaseVoltagesinThreePhaseSystemusingMatlab|ElectricalAcademia

VAN = (5 + j12)I1

VBN = (3 + j4)I2 (7)

VC N = (5 j12)I3

Now,itstimetowriteMatlabcodetofindoutthephasevoltagesusingtheaboveformulas.

MeasurephasevoltagesinthreephasesystemusingMatlab

1 clearall;closeall;clc
2 %PhaseVoltagesCalculationusingMatlab
3 Z=[613*j00;
4 04+2*j0;%ZMatrix(ImpedanceMatrix)fromtext
5 00612.5*j];
6 c1=110;%Angleis0degreeheresowesimplyommitit
7 c2=110*exp(j*pi*(120/180));%Voltagesexpressedinphasorform(V=Vm*exp(j*theta))
8 c3=110*exp(j*pi*(120/180));%Anglesareconvertedintoradians(=degrees*pi/180)
9 V=[c1;c2;c3];%VoltageVector[V]mentionedinthetext
10 I=inv(Z)*V;%CalculateunknownLoopcurrents
11 %%PhaseVoltagesCalcualtion
12 V_an=(5+12*j)*I(1);
13 V_bn=(3+4*j)*I(2);%CalcualtingPhaseVoltagesusingequation(7)intext
14 V_cn=(512*j)*I(3);
15 %MagnitudeandAngleCalculationforeachPhaseVoltage
16 V_an_abs=abs(V_an);
17 V_an_ang=angle(V_an)*180/pi;
18 V_bn_abs=abs(V_bn);
19 V_bn_ang=angle(V_bn)*180/pi;
20 V_cn_abs=abs(V_cn);
21 V_cn_ang=angle(V_cn)*180/pi;
22 %%PrintoutResults
23 fprintf('PhaseVoltageVan\nMagnitude:%f\nAngleindegree:%f\n',V_an_abs,V_an_a
24 fprintf('PhaseVoltageVbn\nMagnitude:%f\nAngleindegree:%f\n',V_bn_abs,V_bn_a
25 fprintf('PhaseVoltageVcn\nMagnitude:%f\nAngleindegree:%f\n',V_cn_abs,V_cn_a

Results

PhaseVoltageVan

Magnitude:99.875532

Angleindegree:132.604994

PhaseVoltageVbn

Magnitude:122.983739

Angleindegree:93.434949

PhaseVoltageVcn


http://electricalacademia.com/basics2/circuitswithmatlab/singlephasevoltagecalculationusingmatlab/ 2/3
2017628 PhaseVoltagesinThreePhaseSystemusingMatlab|ElectricalAcademia

Magnitude:103.134238

Angleindegree:116.978859

Sharethis:

Related

Node Voltages Calculation in Resistive Delta Connection and Three phase Power, Mesh Analysis using Matlab | Loop
Circuit using Matlab Voltage, and Current Analysis using Matlab
In "Circuits with Matlab" In "Electric Power" In "Circuits with Matlab"


http://electricalacademia.com/basics2/circuitswithmatlab/singlephasevoltagecalculationusingmatlab/ 3/3

Vous aimerez peut-être aussi