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

Click For Summary

Discussion Overview

The discussion revolves around discrepancies observed between mesh and nodal analysis results in an electrical circuit problem. Participants explore the potential reasons for the differences in calculated currents and voltages, particularly focusing on the use of complex numbers in their calculations.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant reports successful mesh analysis results but struggles with nodal analysis, noting that the results are close but not matching.
  • Another participant suggests that WolframAlpha may have incorrectly handled the signs of complex terms in the node equations.
  • A participant indicates that expressing the input as a complete complex number rather than a simplified form may yield correct magnitudes, but the angles remain problematic.
  • There is a suggestion that the angle discrepancy could imply that the signs of the real and imaginary components are reversed.
  • Multiple participants discuss the importance of proper bracket usage in WolframAlpha inputs to ensure correct calculations.
  • One participant confirms that their own results for certain voltages have all positive components, contrasting with the original poster's findings.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the discrepancies between mesh and nodal analysis results. There are multiple competing views regarding the handling of complex numbers and the potential errors introduced by software tools.

Contextual Notes

Participants express uncertainty about the correct representation of complex numbers and the implications of sign changes in their calculations. There are unresolved questions about the equivalence of different expressions used in WolframAlpha.

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
59K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
20
Views
5K
Replies
9
Views
2K
Replies
2
Views
2K