AC circuit analysis -- mesh and nodal

In summary: Once that's sorted out, use whatever technique you're familiar with to solve the three equations in three...I'll leave that to you.In summary, the current through Z2 is I=V3/Z2.
  • #71
ProfNut said:
Hi I am stuck on part a of this question:

the 3 mesh equations i have are:

Mesh1:
2I1-j5I1+j5I2=120
Mesh2:
j5I1-j1I2-j4I3=-14.14+14.14
Mesh:3
-j4I2+4I3+j4I3=-120

I have tried to use the matrix spread sheet to find I1,I2 & I3. But my answers seem well out.

9.11E+00+j1.23E+01
4.18E+00-j8.04E+00
-8.89E+00-j1.69E+01

Any help would be much appreciated.
what is the matrix spreadsheet??
can you show us what you input to the matrix
 
Physics news on Phys.org
  • #72
upload_2015-9-16_22-14-17.png
 
  • #73
Verify the signs and magnitudes for the circled entries.
Fig1.gif
 
  • Like
Likes ProfNut
  • #74
copy that,Thank you for your help.I will try to do as you said.thank you.
 
  • #75
Thanks got it. Now to the Nodal analysis!
 
  • #76
im struggling abit with the nodal analysis. i think i have simplified the equation appropriately.

Equation with substitution for v30: ( v10 - v20/ z1)) + ( v20/ z4) + ( v20 - v3 / z5) + (v2 - v20 + v3/ z3) = 0

i have split the fractions to start isolating v20(v1 / z1) - (v20 / z1) + (v20/z4) + (v20/z5) - (v3/z5) - (v3/z5) + (v2/z3) - (v20/z3) + (v3/z3) = 0

So

v20( -(1/z1) + (1/z4) + (1/z5) - (1/z3) ) + (v1/z1) - (v3/z5) + (v2/z3) + (v3/z3) = 0

v20( -(1/2) + (1/-5j ) + (1/4j ) - (1/4) ) + (120/2) - (14.14 + 14.14j /4j) + (120j /4) + (14.14 + 14.14j /4) = 0

v20( - 0.5 + 0.2j + 0.25j - 0.25) + ( 60 - ( 3.535 - 3.535j) + (30j) + (3.535 + 3.535i) = 0

v20( - 0.5 + 0.2j + 0.25j - 0.25) + ( 60 - 3.535 + 3.535j + 30j + 3.535 + 3.535i = 0

am i going the right way about this? The double negatives in the mesh analysis started to boil my head so thought finding the nodal analysis would be more simple, and then i could compare the two answers for the current through z4.
 
Last edited:
  • #77
brabbit87 said:
im struggling abit with the nodal analysis. i think i have simplified the equation appropriately.

Equation with substitution for v30: ( v10 - v20/ z1)) + ( v20/ z4) + ( v20 - v3 / z5) + (v2 - v20 + v3/ z3) = 0
It looks to me like you're mixing current directions. You want to either sum all currents flowing into the node, or all currents flowing out of the node, and set the result to zero. Don't mix directions.

For example, your first term: ( v10 - v20/ z1)) {which I assume to mean ( (v10 - v20)/ z1)): watch your parentheses to group operations appropriately!} represents a current flowing into the supernode at V20 through impedance Z1. But your second term, ( v20/ z4), represents a current flowing OUT of the supernode via Z4.

Check each of your terms and assure that they all represent currents flowing in the same manner, either into or out of the supernode, and not both.
 
  • #78
gneill said:
It looks to me like you're mixing current directions. You want to either sum all currents flowing into the node, or all currents flowing out of the node, and set the result to zero. Don't mix directions.

For example, your first term: ( v10 - v20/ z1)) {which I assume to mean ( (v10 - v20)/ z1)): watch your parentheses to group operations appropriately!} represents a current flowing into the supernode at V20 through impedance Z1. But your second term, ( v20/ z4), represents a current flowing OUT of the supernode via Z4.

Check each of your terms and assure that they all represent currents flowing in the same manner, either into or out of the supernode, and not both.
Thankou. Maybe being abit too careless. Will make another attempt.
 
  • #79
All finished nodal analysis and answer is correct. Had another attempt at the mesh analysis, unfortunately the matrix spreadsheet will not calculate I1,2,3. I am lost here, i have repeated the same 3 equations.

KVL walk clockwise around the 3 loops

Mesh 1 -

v1 - (z1)i1 - (z4)(i1 - i2) = 0
v1 = (z1)i1 + (z4)(i1 - i2)
v1 = (2)i1 + (-5j)i1 + (5j)i2

120 = (2 - 5j)i1 + (5j)i2 ....(1)

mesh 2 -

-v3 + (z5)(i2 - i3) + z4(i2 - i1) = 0
v3 = (4j)i2 - (4j)i3 (-5j)i2 + (5j)i1
v3 = (5j)i1 + (4j - 5j)i2 (-4j)i3
14.14 + 14.14j = (5j)i1 + (-1j)i2 + (-4j)i3 ...(2)

Mesh 3 -

-v2 + z5(i3 - i2) + z3(i3)
v2 = + (-4j)i2 + (4 + 4j)i3
120j = (-4j)i2 + (4 + 4j)i3
...(3)
 

Attachments

  • TMAmeshresults.png
    TMAmeshresults.png
    41.9 KB · Views: 736
  • #80
Check the sign of v3 in your mesh 2 equation. You appear to be writing a sum of potential drops, so...
 
  • #81
gneill said:
Check the sign of v3 in your mesh 2 equation. You appear to be writing a sum of potential drops, so...
I'm not so sure. What is wrong with v3 in my mesh 2 equation.

Assuming clockwise current of circuit. It would be a negative voltage with positive voltage drops across the impedances?
 
  • #82
brabbit87 said:
I'm not so sure. What is wrong with v3 in my mesh 2 equation.

Assuming clockwise current of circuit. It would be a negative voltage with positive voltage drops across the impedances?
you need to define which way your currents go...
 
  • #83
donpacino said:
you need to define which way your currents go...
I have defined which way my current goes in each mesh, clockwise. Or are referring to something else. I may have possibly missed?

Apologies if i am being stupid with something
 
  • #84
brabbit87 said:
I have defined which way my current goes in each mesh, clockwise. Or are referring to something else. I may have possibly missed?

Apologies if i am being stupid with something
np. I just did not know... if that is the case then one of the Z terms in your mesh equations has the wrong sign...
 
  • #85
gneill said:
Check the sign of v3 in your mesh 2 equation. You appear to be writing a sum of potential drops, so...
I apologise gneill, however i am still unsure.

Is it just the 2nd mesh equation that i have incorrectly done?
 
  • #86
brabbit87 said:
I apologise gneill, however i am still unsure.

Is it just the 2nd mesh equation that i have incorrectly done?
yes
 
  • #87
donpacino said:
yes
My initial equation for the mesh 2, is that correct?

Regards
 
  • #88
brabbit87 said:
My initial equation for the mesh 2, is that correct?

Regards
wow... your equation for mesh two is not correct.
are you probing for someone to do just your work for you?
you have been told multiple times that there is a problem with your equation for mesh 2. Its hard to be more clear.
 
  • #89
donpacino said:
wow... your equation for mesh two is not correct.
are you probing for someone to do just your work for you?
you have been told multiple times that there is a problem with your equation for mesh 2. Its hard to be more clear.

No, really. I am genuinely not looking for that. I am just struggling with this question.
 
  • #90
If you do a KVL "walk" around the second loop in a clockwise fashion, does v3 cause a potential rise or a potential drop?
 
  • #91
gneill said:
If you do a KVL "walk" around the second loop in a clockwise fashion, does v3 cause a potential rise or a potential drop?
V3 will cause a potential drop due to assumed current (clockwise) and it passing from + to - on the source.
 
  • #92
I have redrawn the polarity of impedances and voltage sources in the attached image.

Mesh 1 -

v1 - (z1)(I1) - (z4)(i1 - i2) = 0

v1 - (2)(i1) + (5j)(i1) -(5j)i2 = 0

120 = (2 - 5j)i1 + (5j)i2

Mesh 2

-v3 - (z5)(i2 - i3) - (z4)(i2 - i1)

-v3 -(4j)(i2) +(4j)(i3) +(5j)(i2) - (5j)(i1)

-v3 = +(4j)(i2) - (4j)(i3) -(5j)(i2) +(5j)(i1)


-14.14 - 14.14j = + (5j)(i1) - (1j)(i2) -(4j)i3



Mesh 3 -

-v2 - (z5)(i3 - i2) - (z3(i3)

-v2 -(4j)(i3) +(4j)(i2) - (4j)(i3)

-120j = -(4j)(i2) + (4 +4j)(i3)the answers are slightly diffrerent from last time but still no joy in the spreadsheet
 

Attachments

  • Polarity and current direction.png
    Polarity and current direction.png
    42.7 KB · Views: 832
  • new results spreadsheet.png
    new results spreadsheet.png
    29.4 KB · Views: 831
  • #93
donpacino said:
wow... your equation for mesh two is not correct.
are you probing for someone to do just your work for you?
you have been told multiple times that there is a problem with your equation for mesh 2. Its hard to be more clear.

gneill said:
If you do a KVL "walk" around the second loop in a clockwise fashion, does v3 cause a potential rise or a potential drop?

Thanks for the help, for some reason. the spreadsheet given to me just is not calculating the mesh currents. i have tried an internet calculator and it calculates it just fine.
 

Attachments

  • correct results matrix.png
    correct results matrix.png
    7.2 KB · Views: 933
  • #94
brabbit87 said:
Thanks for the help, for some reason. the spreadsheet given to me just is not calculating the mesh currents. i have tried an internet calculator and it calculates it just fine.

I had a similar problem with the spreadsheet.

I'm currently working through the nodal analysis..

I have got to..

[itex]V_20(1/Z_1+1/Z_4+1/Z_3+1/Z_5)+(V_1/Z_1-V_3/Z_3-V_3/Z_5)[/itex]

is this correct...I'm struggling to simply further. My next step is to solve for values in brackets. Minus second brackets, divide by 1st brackets... I hope that's clear?! am i on the right lines?
 
  • #95
ProfNut said:
I had a similar problem with the spreadsheet.

I'm currently working through the nodal analysis..

I have got to..

[itex]V_20(1/Z_1+1/Z_4+1/Z_3+1/Z_5)+(V_1/Z_1-V_3/Z_3-V_3/Z_5)[/itex]

is this correct...I'm struggling to simply further. My next step is to solve for values in brackets. Minus second brackets, divide by 1st brackets... I hope that's clear?! am i on the right lines?
Like gneil had said to me previous to now. I had mixed my directions up going into the supernode.

I drew current arrows into the supernode and did the 4 equations based on that. And simplified. Bearing in mind you need an initial equation for v30 to substitute into it.

Hope it helps
 
  • #96
brabbit87 said:
Like gneil had said to me previous to now. I had mixed my directions up going into the supernode.

I drew current arrows into the supernode and did the 4 equations based on that. And simplified. Bearing in mind you need an initial equation for v30 to substitute into it.

Hope it helps

My initial equations:

[itex](V_20-V_1/Z_1)+(V_20/Z_4)+(V_30-V_2/Z_3)+(V_30/V_5)=0[/itex]
And;
[itex]
V_30=V_20-V_5[/itex]

Subsitute;

[itex](V_20-V_1/Z_1)+(V_20/Z_4)+(V_20-V_5/Z_3)-(V_2/Z_3)+(V_20-V_5/Z_5)-(V_3/z_5)=0[/itex]
 
  • #97
ProfNut said:
My initial equations:

[itex](V_20-V_1/Z_1)+(V_20/Z_4)+(V_30-V_2/Z_3)+(V_30/V_5)=0[/itex]
And;
[itex]
V_30=V_20-V_5[/itex]

Subsitute;

[itex](V_20-V_1/Z_1)+(V_20/Z_4)+(V_20-V_5/Z_3)-(V_2/Z_3)+(V_20-V_5/Z_5)-(V_3/z_5)=0[/itex]
Can't really see the equation as I'm on the phone app. But you know the current from the mesh analysis. So you can compare and tinker.
 
  • #98
Hi gneill, I am having a little trouble with the matrix spread sheet when entering my values. I have read through this forum and notice that my answers are the same as that in post #31 and #33 which you say are correct. But when i put these figures into the matrix spread sheet it is incorrect. I noticed in post #73 that you suggested in loop 2 the -jI2 should in fact be a jI2. my calculations for loops two are as below;

-(14.142-j14.142)+(-j5)I1-(j4+(-j5)I2+j4I3

(-14.142-j14.142)=j5I2-jI2-j4I3

Thanks

Screen Shot 2015-11-12 at 20.42.46.png
 
  • #99
HI Hndstudent. As far as I can see the values that you show entered in the spreadsheet look fine. There should be no reason why it cannot solve it assuming that the spreadsheet itself is properly coded.

I see that the spreadsheet displays det(R) = 0 and det(X) = 0. If the spreadsheet is rejecting the problem because of zero determinants here, then it is incorrect. For while those determinants are indeed zero, it is more important that det(R + jX) be nonzero, which it is.
 
  • #100
gneill said:
HI Hndstudent. As far as I can see the values that you show entered in the spreadsheet look fine. There should be no reason why it cannot solve it assuming that the spreadsheet itself is properly coded.

I see that the spreadsheet displays det(R) = 0 and det(X) = 0. If the spreadsheet is rejecting the problem because of zero determinants here, then it is incorrect. For while those determinants are indeed zero, it is more important that det(R + jX) be nonzero, which it is.
I gneill, the spreadsheet is off the Universities Blackboard. Would you recommend that I contact them and inform them that there is a problem with it? Or is there something that i can do to fix it?

Thanks
 
  • #101
Hndstudent said:
I gneill, the spreadsheet is off the Universities Blackboard. Would you recommend that I contact them and inform them that there is a problem with it? Or is there something that i can do to fix it?

Thanks
I'm not familiar with the spreadsheet so I don't know how its implemented, or what Excel skill set would be required to debug it. It may be doing the heavy lifting in macros. It may be best to contact the University to see if they've had other reports on it.

Myself I use MathCad to solve these sorts of things.
 
  • #102
gneill said:
I'm not familiar with the spreadsheet so I don't know how its implemented, or what Excel skill set would be required to debug it. It may be doing the heavy lifting in macros. It may be best to contact the University to see if they've had other reports on it.

Myself I use MathCad to solve these sorts of things.
Ok thanks gneil. Whilst i have been waiting for the university to reply regarding the matrix, I was working through my equations for each loop again and for loop1 I have;
v1-z1I1-z4(I1-I2)=0

if z1=2 , z4=-j5 and v1=120

then 120=(2+j5)I1-j5I2 (is this not correct?)

as before I had 120=(2-j5)I1-j5I2.

Thanks
 
  • #103
Hndstudent said:
v1-z1I1-z4(I1-I2)=0

##120 - 2 I_1 - (-j5)(I_1 - I_2) = 0 ##
##120 - (2 - j 5) I_1 - j5 I_2 = 0 ##
##120 = (2 - j5) I_1 + j5 I_2 ##
 
  • #104
gneill said:
##120 - 2 I_1 - (-j5)(I_1 - I_2) = 0 ##
##120 - (2 - j 5) I_1 - j5 I_2 = 0 ##
##120 = (2 - j5) I_1 + j5 I_2 ##
Cheers gneil. The university confirmed what you said about the spread sheet and it eventually worked :)

however, for my next problem on 2b, I have factorised and multiplied by conjugates to end up with the following;

v20(-0.1667-j0.028)+(17.896+j7.670)=0

Im just not sure how to get v20 on its own?

Thanks
 
  • #105
Surely it would just be some algebra? Your v20 only appears once in the expression so you should be able to move its term to one side of the equation, then proceed as usual (straightforward if tedious complex number work).
 

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
26
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
15
Views
3K
  • Engineering and Comp Sci Homework Help
2
Replies
65
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
11
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
25
Views
3K
Back
Top