Mesh/Nodal Analysis and Matrices

  • Thread starter Thread starter earthloop
  • Start date Start date
  • Tags Tags
    Analysis Matrices
Click For Summary

Discussion Overview

The discussion revolves around the application of mesh and nodal analysis in electrical engineering to determine the current in a circuit. Participants explore the differences in their results obtained from both methods and seek clarification on their calculations and methodologies.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • The original poster presents a problem involving mesh and nodal analysis, providing detailed calculations and results from MATLAB.
  • Some participants suggest that the original poster's calculation of the total current I incorrectly assumes mesh currents are branch currents, leading to discrepancies in results.
  • One participant clarifies that the correct relationship for calculating I should involve only the relevant mesh currents, specifically I1 and I2, without including I4.
  • Another participant notes that while mesh currents are not always branch currents, in some cases they can be equivalent, depending on the circuit configuration.
  • There is a suggestion to use a loop analysis method instead of mesh analysis to simplify the calculation of the desired current.
  • Participants express a need for visual examples to better understand the calculations and relationships between mesh and branch currents.

Areas of Agreement / Disagreement

Participants generally agree on the need to differentiate between mesh currents and branch currents, but there is no consensus on the best approach to resolve the original poster's calculations. Multiple competing views on the methodology remain unresolved.

Contextual Notes

Some calculations and assumptions made by participants are not fully detailed, and there are references to specific circuit elements and configurations that may not be universally understood without additional context.

Who May Find This Useful

This discussion may be useful for students and practitioners in electrical engineering, particularly those learning about circuit analysis techniques such as mesh and nodal analysis.

earthloop
Messages
25
Reaction score
0
Hi Everyone.

Just a brief hello before the problem! I am a new user as of today. I am studying Electrical Engineering in my spare time after work, and currently working full time an electronics service engineer. I have tried to make the problem as clear as I can, any help would be highly appreciated.

The problem asks to produce a current via two methods. I have obtained two answers that are different and would like to know where I went wrong.

For the record, most of my calculations were done within matlab. This is also my first attempt at using matrices, so I am unsure if my calculations were correct (or whether it was necessary to use matrices in the first place).

Homework Statement



Determine the current I by

A) Mesh Analysis

B) Nodal Analysis

t659iw.jpg


<br /> \begin{align}<br /> &amp;v1 = 120 &lt; 0° V\\<br /> &amp;v2 = 120 &lt; 90° V\\<br /> &amp;v3 = 20 &lt; 45° V\\<br /> &amp;z1 = 2 Ω\\<br /> &amp;z2 = –j5 Ω\\<br /> &amp;z3 = 4 Ω\\<br /> &amp;z4 = –j5 Ω\\<br /> &amp;z5 = j4 Ω\\<br /> \\<br /> &amp;Node Voltages\\<br /> &amp;V10\\<br /> &amp;V20\\<br /> &amp;V30\\<br /> &amp;V40\\<br /> \\<br /> &amp;Mesh Loops\\<br /> &amp;I1\\<br /> &amp;I2\\<br /> &amp;I3\\<br /> &amp;I4\\<br /> \end{align}<br />

Homework Equations

The Attempt at a Solution



A)[/B]

I1 -
v1-I1(z1+z4)+I2(z4) = 0
I1(-2+j5)+I2(-j5) = -120

I2 -
I1(z4)-I2(z2+z4+z5)+I3(z5)+I4(z2) = 0
I1(-j5)+I2(j6)+I3(j4)+I4(-j5) = 0

I3 -
I2(z5)-I3(z3+z5)-v2
I2(j4)+I3(-4-j4) = j120

I4 -
I2(z2)-I4(z2)-v3
I2(-j5)+I4(j5) = 14.14+ j 14.14

Matrix A
\begin{pmatrix}<br /> -2+j5 &amp; -j5 &amp; 0 &amp; 0\\<br /> -j5 &amp; j6 &amp; j4 &amp; -j5\\<br /> 0 &amp; j4 &amp; -4-j4 &amp; 0\\<br /> 0 &amp; -j5 &amp; 0 &amp; j5\\<br /> \end{pmatrix}<br />

Matrix B
\begin{pmatrix}<br /> -120\\<br /> 0\\<br /> j120\\<br /> 14.14+j14.14\\<br /> \end{pmatrix}<br />

<br /> INV(A)*B = C<br />

Matrix C - from matlab
\begin{pmatrix}<br /> 16.8112 - j22.8793\\<br /> 25.9629 - j40.1548\\<br /> 18.0588 - j22.0959\\<br /> 28.7914 - j42.9832\\<br /> \end{pmatrix}<br />

I = I1-I2-I4
I = 16.8112 - j22.8793 - 25.9629 - j40.1548 - 28.7914 - j42.9832
I = -37.9431 + j60.2587 A

B)

V20 - V30 = V3

Node 2+3 supernode
\frac{v1-V20}{z1} - \frac{V20}{z4} - \frac{V30}{z5} + \frac{v2-V30}{z3} = 0
X = V20(-0.5 - j0.5) + V30(-0.25+j0.25) = -60-j30
(V20-V30 = v3) * (-0.25+j0.25)
Y = V20(-0.25+j0.25) + V30(0.25-j0.25) = -5\sqrt{2}
Add X + Y
V20(-0.75+j0.05) = 67.07-j30
V20 = \frac{-67.07-j30}{-0.75+j0.05}
V20 = 86.37 + 45.76 V
I = \frac{V20}{z4} = -9.15 +j17.27

As you can see I have very different answers, and have scratched my head all weekend over it.
Any help would be appreciated.
Thanks!

Earthloop
 
Physics news on Phys.org
For your mesh analysis everything looks good. Your matrix is fine, your resulting mesh currents are fine. However...
When it comes time to calculate ##I##, keep in mind that mesh currents are not branch currents. Your calculation seems to be assuming that they are branch currents and you're summing (KCL) them at your node V20. This is incorrect. Two mesh currents flow through Z4. Find ##I## from them...
 
Thanks for the fast reply Gneill.

Now I have ...

I1-I4-(I2-I4) = -9.1517 + j17.2755

which matches my node result.

Thankyou very much!
I will be more careful in future to not mix up mesh and branch currents!
 
I think you meant: simply ##I = i_1 - i_2##, since ##i_1## and ##i_2## are the mesh currents that flow in the branch where ##I## is indicated. ##i_4## doesn't enter the picture at all.
 
Ah.. I clearly got confused there. Thanks for clearing that up. It's been a long day.
Thanks again
 
Earthloop[/QUOTE]
earthloop said:
I will be more careful in future to not mix up mesh and branch currents!

But, also note that sometimes the branch currents are the same as the mesh currents. For example, the current in branch Z1 is equal to the mesh current I1 (paying attention to the assumed direction of the currents); the current in branch Z3 is equal to the mesh current I3.

Loop analysis (as distinguished from mesh analysis) allows paths for virtual currents that may encompass several meshes. Often a loop can be chosen so that the virtual loop current is the same as a desired branch current. Had you chosen the current I2 to traverse a clockwise loop through Z1, Z2, Z5 then back along the bottom to V1 and closing at Z1 (encompassing both I1 and I2 meshes as shown o, then virtual current I1 would be equal to your desired current I, and you wouldn't have to add two mesh currents to get I.
 
Ok, thanks for the input

Could you give an example of the calculation? I am a visual learner, after all! ;)
So are you saying I should have treated I2 as :
I2(- 2 + j) + I3(j4) - I4(j5) = - 120

Where does I1 then come into play to give me the direct answer?

Thanks
 
earthloop said:
Ok, thanks for the input

Could you give an example of the calculation? I am a visual learner, after all! ;)
So are you saying I should have treated I2 as :
I2(- 2 + j) + I3(j4) - I4(j5) = - 120

Where does I1 then come into play to give me the direct answer?

Thanks
Redo your A and B matrices using what you have just got, solve, and I1 should be equal to your required I. Give it a try; what do you get?

This works because now the only mesh current though Z4 is I1. I2 is now a loop current that doesn't pass through Z4.

This is not a mesh solution, however, it's a loop method solution.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 187 ·
7
Replies
187
Views
59K
  • · Replies 11 ·
Replies
11
Views
5K
Replies
9
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
8K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
3
Views
2K
Replies
20
Views
5K