Mesh and nodal analysis don't quite match, but why?

Click For Summary
SUMMARY

The discussion centers on discrepancies between mesh and nodal analysis results in electrical circuit analysis. The user successfully completed mesh analysis but encountered inconsistencies with nodal analysis results, specifically when using WolframAlpha for calculations involving complex impedances. The user noted a significant difference in current values through impedance Z4, leading to a hypothesis that WolframAlpha may have incorrectly handled the signs of complex terms. Adjusting the input format to express the entire complex number resolved some issues, but angle discrepancies persisted, indicating potential sign errors in the real and imaginary components.

PREREQUISITES
  • Understanding of mesh and nodal analysis in electrical circuits
  • Familiarity with complex numbers and their representation in circuit analysis
  • Experience using WolframAlpha for mathematical computations
  • Knowledge of impedance and its role in AC circuit analysis
NEXT STEPS
  • Learn about complex number manipulation in electrical engineering contexts
  • Explore advanced features of WolframAlpha for circuit analysis
  • Study the principles of impedance in AC circuits
  • Investigate common pitfalls in nodal analysis and how to avoid them
USEFUL FOR

Electrical engineering students, circuit designers, and professionals involved in circuit analysis who seek to understand the nuances of mesh and nodal analysis discrepancies.

Numbskull
Messages
54
Reaction score
1

Homework Statement


[/B]
Find I by mesh and nodal analysis

Q2(a) Base drawing & values.jpg


Homework Equations

The Attempt at a Solution



##V_{10}## is defined at the junction of ##Z_1##, ##Z_2## and ##Z_4##.
##V_{20}## is defined at the junction of ##Z_2##, ##Z_3## and ##Z_5##.
##0V## is defined at the junction of ##V_1##, ##Z_4##, ##Z_5## and ##V_2##.

I have completed the mesh analysis without too much difficulty (and those answers are correct according to other threads with this question). I thought I was on the right track with the nodal analysis but the answers are close enough to be wrong, but not far enough away to look like a major error somewhere.

I have used Wolfram to do the heavy lifting, and have attached the PDF of the input and the result for ##V_{10}##. When I calculate the current through ##Z_4## (again using Wolfram entering values in complex form), I get the result of ##-8.7792 + j16.5853## when converted to polar is ##18.765## Amps compared to ##19.59## for the mesh analysis, (although the angle is off too).

I've spend hours and hours trying to figure this out, but can't quite get the answers to agree. I've also been through the process of trying to identify compound rounding errors but I don't think it's that. I would appreciate some help or pointers :cry:
 

Attachments

Physics news on Phys.org
To me it looks like WolframAlpha has mucked up the signs of the two complex terms in your node equation. For example,
$$\frac{v10}{-5j} = \frac{v10}{-5j}\cdot\frac{j}{j} = \frac{v10}{5}j$$
They have made the term negative by writing it as
$$- \frac{v10}{5}j$$
 
  • Like
Likes   Reactions: Numbskull
Thank you for the tip! I've played with brackets to no effect. What does appear to work is to express the input as the entire complex number, i.e. ##0-j5## instead of just ##-j5##.

However, although I now have the correct magnitude, the angle is 180 degrees out, which suggests to me that the signs of the real and imaginary components are reversed? Would that be a correct supposition?
 
Numbskull said:
Thank you for the tip! I've played with brackets to no effect. What does appear to work is to express the input as the entire complex number, i.e. ##0-j5## instead of just ##-j5##.

However, although I now have the correct magnitude, the angle is 180 degrees out, which suggests to me that the signs of the real and imaginary components are reversed? Would that be a correct supposition?
That could be it. You'll be the best judge though. Look at the complex values for your "good" results via mesh analysis and compare with the recent values returned by Wolfram. I can tell you that my own results for v10 and v20 have all components positive.
 
Looking at your Wolfram Alpha solution, you have in the very first line (v10/-5i) which Wolfram turns into a fraction with i in the numerator.

You say you've played with brackets, but you don't show us what you did.

I typed (v10/(-5i)) into Wolfram Alpha and got an expression with i in the denominator as it should be. Did you try that?
 
The Electrician said:
Looking at your Wolfram Alpha solution, you have in the very first line (v10/-5i) which Wolfram turns into a fraction with i in the numerator.

You say you've played with brackets, but you don't show us what you did.

I typed (v10/(-5i)) into Wolfram Alpha and got an expression with i in the denominator as it should be. Did you try that?
It looks like I used the complete term and brackets to obtain the correct input. I'm a little unsure on equivalent terms, so the second example below looked like the one which is correct to me, but is the first entry also correct? Actually looking at it, they both give the same answer, so they must be...

bracket_example.jpg


bracket_example_fullterm.jpg
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 187 ·
7
Replies
187
Views
58K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
20
Views
5K
Replies
9
Views
2K
Replies
2
Views
2K