Engineering AC circuit analysis -- mesh and nodal

AI Thread Summary
The discussion focuses on solving a circuit analysis problem using mesh and nodal methods. Participants share their equations and solutions for the mesh analysis, with some confusion regarding the signs and components in their calculations. The nodal analysis is also discussed, particularly the concept of supernodes due to fixed potential differences created by voltage sources. Participants are encouraged to verify their equations and ensure proper handling of complex numbers throughout their calculations. Overall, the thread emphasizes collaborative problem-solving and the importance of understanding circuit topology and analysis techniques.
  • #51
The Electrician said:
You're ignoring gneill's advice from post #43, where he said:

"Leave V3 as V3 for now! That way you don't have to carry around any complex digits through the initial simplifications. Don't be in a hurry to plug in numbers, especially complex numbers; That just gives more opportunities to make transcription and sign errors, and makes it more difficult to spot mistakes in the workings."

Is there any further you can go without starting to put the figures in?

##\frac{V_1}{Z_1} - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3}{Z_5} - \frac{V_{20}}{Z_5} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_3} + \frac{V_3}{Z_3} = 0##

##\frac{V_1}{Z_1} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_1 + Z_3 + Z_4 + Z_5} + \frac{V_3}{Z_5 + Z_3} = 0##
 
Physics news on Phys.org
  • #52
Gremlin said:
Is there any further you can go without starting to put the figures in?

##\frac{V_1}{Z_1} - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3}{Z_5} - \frac{V_{20}}{Z_5} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_3} + \frac{V_3}{Z_3} = 0##

##\frac{V_1}{Z_1} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_1 + Z_3 + Z_4 + Z_5} + \frac{V_3}{Z_5 + Z_3} = 0##

You can't do this:
## - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} - \frac{V_{20}}{Z_5}- \frac{V_{20}}{Z_3}## becomes ## - \frac{V_{20}}{Z_1 + Z_3 + Z_4 + Z_5}##

Try this with numbers to see if these two expressions are the same.
Is ##\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}##
the same as
##\frac{1}{3+4+5+6}## ?

Work it out on your calculator. Then review how to combine fractions in algebra.
 
  • #54
Thanks, i shall have a look.
 
  • #55
Gremlin said:
Is there any further you can go without starting to put the figures in?

##\frac{V_1}{Z_1} - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3}{Z_5} - \frac{V_{20}}{Z_5} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_3} + \frac{V_3}{Z_3} = 0##

##\frac{V_1}{Z_1} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_1 + Z_3 + Z_4 + Z_5} + \frac{V_3}{Z_5 + Z_3} = 0##

I've looked at that.

To be honest if i was dividing with real numbers as in the above link i wouldn't have a problem (i should have stopped and thought about adding the denominators in post #51), collapsing the 4 fractions with complex numbers however...

The last hint of an idea that i have is collapsing the 4 equations into 2 equations.

##\frac{V_1}{Z_1} - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3}{Z_5} - \frac{V_{20}}{Z_5} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_3} + \frac{V_3}{Z_3} = 0##

##\frac{V_{20}}{2} x2 = \frac{2V_{20}}{4}##

##-\frac{2V_{20}}{4} - \frac{V_{20}}{4} = - \frac{3V_{20}}{4}##

##\frac{V_{20}}{-j5} x4 = \frac{4V_{20}}{-j20}##

##\frac{V_{20}}{j4} x5 = \frac{5V_{20}}{j20}##

##- \frac{4V_{20}}{-j20} - \frac{5V_{20}}{j20} = Math Error(!)##
 
  • #56
Gremlin said:
Is there any further you can go without starting to put the figures in?

##\frac{V_1}{Z_1} - \frac{V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3}{Z_5} - \frac{V_{20}}{Z_5} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_3} + \frac{V_3}{Z_3} = 0##

##\frac{V_1}{Z_1} + \frac{V_2}{Z_3} - \frac{V_{20}}{Z_1 + Z_3 + Z_4 + Z_5} + \frac{V_3}{Z_5 + Z_3} = 0##
yes. example

##\frac{a}{b}+\frac{c}{d}=0##
##\frac{ad+bc}{bd}=0##

In many cases you want to get it in the form of 1 numerator over 1 denominator.
 
  • #57
Looked hard at this tonight and back at my notes and I've nearly cracked it. Hopefully tomorrow i can put it to bed.

Thanks for all of your help.
 
  • #58

  1. Hi guys this is my work for part a. What am I doing wrong. Please help thanks

    -120 – 2i1 – (i1 – i2 ( -j5) = 0-120 – 2i1 –(-i1j5 + i2j5 = 0-120 – 2i1 + i1j5 – i2j5 = 0i1(-2+j5) – i2(j5) = 120
    (14.142 + j14.142) – (i2 – i3)(j4) + (i2 – i1)(-j5) = 0(14.142 + j14.142) – i2j4 + i3j4 – i2j5 + i1j5 = 0(14.142 + j14.142) = i2j4 - i3j4 + i2j5 - i1j5 (14.142 + j14.142) = i2j4 - i3j4 + i2j5 - i1j5(14.142 + j14.142) = i2(j4+j5) - i3j4 - i1j5
    -4i3 + j120 +(i3 –i2)(j4) = 0-4i3 + j120 +(i3j4 –i2j4) = 0-4i3 + j120 + i3j4 – i2j4 = 0j120 = 4i3 –i3 – i3j4 + i2j4j120 =i3(4-j4) + i2(j4)
 
  • #59
I have brought it down to this but my signs still seem different from other posts on this thread. I don't understand why because I have tried to follow loops round properly.-120 - i1(2 - j5) + i2(-j5) = 0-i1(2 - j5) + i2(-j5) = 120 ……………………………………………… 1i1(-j5) – i2 (j4 – j5) + (14.142 + j14.142) + i3(j4)i1(-j5) – i2 (-j) + i3(j4) = - 14.142 - j14.142 …………….. 2i2(j4) – i3(4 + j4) + j120 i2(j4) – i3(4 + j4) = -j120 ……………………………………………. 3
 
  • #60
MrBondx said:
I have brought it down to this but my signs still seem different from other posts on this thread. I don't understand why because I have tried to follow loops round properly.

Read post #5
 
  • #61
The Electrician said:
Read post #5
Thanks
 
  • #62
gneill said:
Leave ##V_3## as ##V_3## for now! That way you don't have to carry around any complex digits through the initial simplifications. Don't be in a hurry to plug in numbers, especially complex numbers; That just gives more opportunities to make transcription and sign errors, and makes it more difficult to spot mistakes in the workings.

You should then have:

##\frac{V_1 - V_{20}}{Z_1} + \frac{-V_{20}}{Z_4} + \frac{-(V_{20} - V_3)}{Z_5} + \frac{V_2 - (V_{20} - V_3)}{Z_3} = 0##

which becomes, after distributing the signs:

##\frac{V_1 - V_{20}}{Z_1} - \frac{V_{20}}{Z_4} + \frac{V_3 - V_{20}}{Z_5} + \frac{V_2 - V_{20} + V_3}{Z_3} = 0##

Can you carry on from there to isolate ##V_{20}##? You should be able to reach a point where you have something like:

##V_{20}[## some terms ##] + [## more terms ##] = 0##

Then you can work on reducing the "some terms" and "more terms" down to individual complex numbers, since then all the variables in them will be known values.

Some sign errors snuck in. So no, not so good :frown:

In the first expression isn't the last part supposed to be (V4 - V3) / Z3 . How do we lose V4 to only end up with V2 and V3
 
  • #63
MrBondx said:
In the first expression isn't the last part supposed to be (V4 - V3) / Z3 . How do we lose V4 to only end up with V2 and V3

Ok am sorted v4 is same as v2, just made sense
 
  • #64
MrBondx said:
In the first expression isn't the last part supposed to be (V4 - V3) / Z3 . How do we lose V4 to only end up with V2 and V3
I don't recall any V4 being defined. There was a V40, which was at the junction of Z3 and V2. As such, V40 is dropped in favor of using V2 which has a given value. There was also a voltage V30 defined to be the potential of the node at the top of Z5. But thanks to the supernode, it is replaced with V20 - V3.

Fig1.gif
 
  • #65
MrBondx said:
Ok am sorted v4 is same as v2, just made sense
Hah! I guess I took too long preparing my post :smile:
 
  • #66
gneill said:
I don't recall any V4 being defined. There was a V40, which was at the junction of Z3 and V2. As such, V40 is dropped in favor of using V2 which has a given value. There was also a voltage V30 defined to be the potential of the node at the top of Z5. But thanks to the supernode, it is replaced with V20 - V3.

View attachment 84374

Thanks gneill by V4 I meant V40 will correct that.
 
  • #67
gneill said:
Hah! I guess I took too long preparing my post :smile:
MrBondx said:
In the first expression isn't the last part supposed to be (V4 - V3) / Z3 . How do we lose V4 to only end up with V2 and V3

I'm coming up with

60 + j30 = V20(0.75 + j0.05)

V20 = 76.99 + j45.13

I = V20 / Z4

= (76.99 + j45.13) / -j5

= j15.398 - 9.026

if I compare to part a my j value seems off, where am I going wrong?
 
  • #68
MrBondx said:
I'm coming up with

60 + j30 = V20(0.75 + j0.05)

V20 = 76.99 + j45.13

I = V20 / Z4

= (76.99 + j45.13) / -j5

= j15.398 - 9.026

if I compare to part a my j value seems off, where am I going wrong?

Your 60 + j30 should be 67.07 + j30 - you're missing a V3 / Z5 and a V3 / Z3.
 
  • #69
Gremlin said:
Your 60 + j30 should be 67.07 + j30 - you're missing a V3 / Z5 and a V3 / Z3.
Gremlin said:
Your 60 + j30 should be 67.07 + j30 - you're missing a V3 / Z5 and a V3 / Z3.

It was a sign error in my calculation, that was helpful thanks.

Finally done with this question, thanks yall
 
  • #70
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.
 
Last edited:
  • #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
 
  • #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: 775
  • #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: 875
  • new results spreadsheet.png
    new results spreadsheet.png
    29.4 KB · Views: 871
  • #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: 970
  • #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..

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)

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..

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)

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:

(V_20-V_1/Z_1)+(V_20/Z_4)+(V_30-V_2/Z_3)+(V_30/V_5)=0
And;
<br /> V_30=V_20-V_5

Subsitute;

(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
 
  • #97
ProfNut said:
My initial equations:

(V_20-V_1/Z_1)+(V_20/Z_4)+(V_30-V_2/Z_3)+(V_30/V_5)=0
And;
<br /> V_30=V_20-V_5

Subsitute;

(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
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
 

Similar threads

Replies
7
Views
2K
Replies
4
Views
2K
Replies
7
Views
2K
Replies
15
Views
4K
Replies
26
Views
3K
Replies
11
Views
5K
Back
Top