# Nodal analysis in network

Hi experts!

I have:

- Q nodes (Q stick-stick intersections)
- a list 'NODES'=[(x,y,i,j)_1,........, (x,y,i,j)_Q], where each element (x,y,i,j) represent the intersection point (x,y) of the sticks i and j.
- a matrix 'H' with QxQ elements {H_k,l}. H_k,l=0 if nodes 'k' and 'l' aren't joined by a edge, and H_k,l = R_k,l = the electrical resistance associated with the union of the nodes 'k' and 'l' (directly proportional to the length of the edge that connects these nodes).
- a list 'nodes_resistances'=[R_1, ....., R_Q].

All nodes with 'j' (or 'i') = N+1 have a electric potential 'V' respect all nodes with 'j' or 'i' = N.

Now i must apply NODAL ANALYSIS for determinate the electrical current through each of the edges, and the net current. I have no ideas about how to do that. Can you help me?

Thanks a lot!

Best regards

can you explain what you mean by "nodal analysis"?

This link might help. Usually the linear equations for Kirchoff's laws are setup by inspection and solved numerically or a program like Spice (open source: Qucs) does it.

I think the question is how to use the incidence matrix and cycle matrix of the network graph and voltages/current to solve for current/voltage.

http://www2.math.uu.se/~takis/L/Circuits/2000/handouts/graphsandckts/graphsandckts.pdf (link text)