Nodal Analysis Help: Solving System of Equations

In summary: NodeA: -1 + (Va/[4-j2]) + (Va-Vb)/(-j10)=0NodeB: Va + Vb + jVb + 5 =...The two equations are the same. The only difference between the two is that I normalized the Vb terms first.
  • #1
eehelp150
237
0
Homework Statement
pH7je63.png
Attempted Solution:

For my two nodal equations, I got:
40j + 20 - 12Va*j + 2Vb *j +4Va - 4Vb = 0
and
2Vb - 2Va - 6Vb*j - 4Va*j-10-20j

Are these right? How do I solve this system of equations?
 
Physics news on Phys.org
  • #2
Hi eehelp150. Welcome to Physics Forums.

An actual problem statement (words) would have been nice. A circuit diagram alone does not comprise a problem statement. A thread title does not comprise a problem statement. A problem statement should inform the reader what the goal is. A circuit diagram is just a circuit. (Yes we're a bit fussy about format here :smile:).

For Relevant equations you might have listed KVL, KCL and Ohm's law.

Regarding your node equations, I don't believe that they are correct; I don't get the same equations, and I can't manipulate mine to match yours.

Can you show some detail regarding how you arrived at your equations?
 
  • #3
Use nodal analysis to find Va and Vb

Node at Va:
-1 + (Va/[4-j2]) + (Va-Vb)/(-j10)=0
(-1)(-j10) + [(-j10)(Va)]/(4-j2)] + Va - Vb = 0
j10 + [(-j10)(Va)]/(4-j2)] + Va - Vb = 0
j10(4-j2) + (-j10)(Va) + (4-j2)(Va - Vb) = 0
j40 - 20j^2 - j10Va + 4Va - 4Vb - j2Va + j2Vb = 0
j40 + 20 - j12Va + 4Va - 4Vb + j2Vb = 0
Node at Vb:
(Vb-Va)/(-j10) + Vb/(2+j4) + 0.5<-90°
(Vb-Va)/(-j10) + Vb/(2+j4) + [0 - 0.5j]
(Vb-Va) + [(-j10)Vb]/(2+j4) + (-10j)(-0.5j) = 0
(Vb-Va) + [(-j10)Vb]/(2+j4) + 5j^2 = 0
(Vb-Va) + [(-j10)Vb]/(2+j4) - 5 = 0
(Vb-Va)(2+j4) + (-j10)Vb - 5(2+j4) = 0
2Vb - 2Va - j6Vb - j4Va - 10 - 20j
 
  • #4
Interesting. Your reduction method differs from what I'm used to but it is correct as far as it goes. So my apologies for doubting you! I think though that your method leaves the expressions more complicated than they need to be.

What I did was normalize the individual terms first using the complex conjugates:

Node a:
##-1 + \frac{Va}{4 - j2} + \frac{Va - Vb}{-j10} = 0##

##-1 + \frac{Va(4 + j2)}{20} + \frac{(Va - Vb)(j)}{10} = 0~~~~~~## Clearing the complex denominators

##-20 + Va(4 + j2) + (Va - Vb)2j = 0~~~~~~~~## Multiply through by 20 and lose the denominator

##-10 + (2 + j2)Va - jVb = 0~~~~~~~~## Collect terms, divide by 2

Node b:
##\frac{Vb - Va}{-j 10} + \frac{Vb}{2 + j4} - \frac{j}{2} = 0##

##\frac{(Vb - Va)j}{10} + \frac{Vb(2 - j4)}{20} - \frac{j}{2} = 0##

##(Vb - Va)2j + Vb(2 - j4) - j10 = 0~~~~~~~~~## Multiply through by 20 and lose the denominator

##Va + (1 + j)Vb + 5 = 0~~~~~~~~~~~~## Collect terms, multiply through by -j/2

Presumably we should arrive at the same values for Va and Vb when all is said and done.

The equations can be solved by the usual methods (but using complex arithmetic). Substitution looks like a good choice.
 
  • #5
gneill said:
The equations can be solved by the usual methods (but using complex arithmetic). Substitution looks like a good choice.
I ended up getting:
Va = -1 + 4/j
Vb = -4/j
Are these right?
 
  • #6
Unfortunately those aren't the values I obtained.
 
  • #7
It looks like you're having trouble with your solution to the equations. If you would post your work, we can give you help; if you don't post anything, we can't help.
 
  • #8
gneill said:
Unfortunately those aren't the values I obtained.
I redid it and got:
Vb = 2-4j
Va = 2j - 11
 
  • #9
I think your result for Vb is the negative of the correct value.

For Va, do you really mean that -11 for the real part; could you have been hit with key bounce? I get -2j + 1, again you also have a sign error.

Perhaps gneill will verify my result.

Are you doing all the complex arithmetic by hand? Are you just beginning to study complex arithmetic? If your instructor doesn't require you to do the complex arithmetic by hand, I would recommend getting a calculator that can do complex arithmetic, or using a web application, because it's very easy to make mistakes when doing a lot of complex computations, as you have no doubt discovered lately. :biggrin:
 
  • #10
The Electrician said:
I think your result for Vb is the negative of the correct value.

For Va, do you really mean that -11 for the real part; could you have been hit with key bounce? I get -2j + 1, again you also have a sign error.

Perhaps gneill will verify my result.

Are you doing all the complex arithmetic by hand? Are you just beginning to study complex arithmetic? If your instructor doesn't require you to do the complex arithmetic by hand, I would recommend getting a calculator that can do complex arithmetic, or using a web application, because it's very easy to make mistakes when doing a lot of complex computations, as you have no doubt discovered lately. :biggrin:
What calculator do you recommend?
This is how I'm doing it:

NodeVB: Va + Vb + jVb + 5 = 0
Solve for Va: Va = -5 - Vb(1+j)
Sub that into equation of Node Va
-10 + 2Va + j2Va - jVb = 0
-10 + [-10 - 2Vb - 2jVb - j10 - j2Vb - j^2*Vb] - jVb
-10 + [-10 -4jVb - j10] -jVb
-20 - j10 = 5jVb
Vb = 2-4j
 
  • #11
The problem is just what I thought, an arithmetic error.
You are calculating (-20-j10)/(5j)
I hope you're not changing the sign of 5j when you brought it over to the left side to divide it into -20-j10 are you?

In other words, did you do (-20-j10)/(-5j) ?

Your problem can be broken down into 2 parts: -20/5j = 4j and -j10/5j = -2

Show how you solved for Va.

A lot of the modern scientific calculators can do complex calculations. The older TI-86, TI-92, HP48, HP50G can do it.
 
  • #12
The Electrician said:
The problem is just what I thought, an arithmetic error.
You are calculating (-20-j10)/(5j)
I hope you're not changing the sign of 5j when you brought it over to the left side to divide it into -20-j10 are you?

In other words, did you do (-20-j10)/(-5j) ?

Your problem can be broken down into 2 parts: -20/5j = 4j and -j10/5j = -2

Show how you solved for Va.

A lot of the modern scientific calculators can do complex calculations. The older TI-86, TI-92, HP48, HP50G can do it.
I mistaked -25j^2 for -25 instead of 25. My new answer for Vb is now 4j-2
-20-5jVb-j10 = 0
-20-j10 = 5jVb
(-20-j10)/(5j) = Vb
Vb = [(-20-j10)/(5j)] * [(-5j)/(-5j)]
Vb = (100j+50j^2)/(-25j^2)
Vb = (100j-50)/(25)
Vb = 4j-2
 
  • #13
Correct. Now what is your answer for Va?
 
  • #14
I got 1-2j
 
  • #15
Correct.
 
  • Like
Likes eehelp150
  • #16
An alternative to solving equations like yours is to use modern mathematical software, such as Maple, Mathematica, Matlab, Mathcad, etc.

Here's the solution using Mathematica. First the solution for your original equations:

CPX1.png


Here is the solution for gneill's initial nodal formulation:

CPX2.png


I also get the same result using my HP50G calculator.
 
  • #17
The Electrician said:
An alternative to solving equations like yours is to use modern mathematical software, such as Maple, Mathematica, Matlab, Mathcad, etc.

Here's the solution using Mathematica. First the solution for your original equations:

View attachment 107288

Here is the solution for gneill's initial nodal formulation:

View attachment 107289

I also get the same result using my HP50G calculator.
My exams will not allow computers so I'd much rather work them out by hand for the practice. I will definitely look into getting a good calculator though.
 
  • #18

1. What is nodal analysis and why is it useful?

Nodal analysis is a method used to analyze electric circuits by solving a system of equations. It is useful because it allows us to determine the voltage and current at each node in a circuit, which is crucial for designing and troubleshooting electrical systems.

2. How do I solve a system of equations using nodal analysis?

To solve a system of equations using nodal analysis, you first need to label each node in the circuit and write Kirchhoff's Current Law (KCL) equations for each node. Then, you can use algebraic manipulation to solve for the unknown variables.

3. What are the assumptions made in nodal analysis?

The main assumptions in nodal analysis are that the circuit is in steady-state, there are no current sources at the nodes, and the voltage across each branch is proportional to the current flowing through it (Ohm's Law).

4. Can nodal analysis be used for both DC and AC circuits?

Yes, nodal analysis can be used for both DC and AC circuits. However, for AC circuits, additional considerations such as impedance and phase angles must be taken into account.

5. Are there any limitations to nodal analysis?

Nodal analysis can become complex and time-consuming for circuits with a large number of nodes. It also assumes that the circuit is linear and that the voltage across each branch is directly proportional to the current. Additionally, it may not be suitable for circuits with non-linear components or multiple voltage sources.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
905
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top