Analyzing Networks
The diagram below shows some of a car’s electrical network. The battery is on the left, drawn as stacked line segments. The wires are lines, shown straight and with sharp right angles for neatness. Each light is a circle enclosing a loop.
The designer of such a network needs to answer questions such as: how much electricity flows when both the hi-beam headlights and the brake lights are on? We will use linear systems to analyze simple electrical networks.
For the analysis we need two facts about electricity and two facts about electrical networks.
The first fact is that a battery is like a pump, providing a force impelling the electricity to flow, if there is a path. We say that the battery provides a potential. For instance, when the driver steps on the brake then the switch makes contact and so makes a circuit on the left side of the diagram, which includes the brake lights. Once the circuit exists, the battery’s force creates a flow through that circuit, called a current, lighting the lights.
The second electrical fact is that in some kinds of network components the amount of flow is proportional to the force provided by the battery. That is, for each such component there is a number, its resistance, such that the potential is equal to the flow times the resistance. Potential is measured in volts, the rate of flow is in amperes, and resistance to the flow is in ohms; these units are defined so that .
Components with this property, that the voltage-amperage response curve is a line through the origin, are resistors. (Not every component has this property. For instance, as the light bulbs shown above heat up, their ohmage changes.) An example is that if a resistor measures ohms then wiring it to a volt battery results in a flow of amperes. Conversely, if electrical current of amperes flows through that resistor then there must be a volt potential difference between its ends. This is the voltage drop across the resistor. One way to think of the electrical circuits that we consider here is that the battery provides a voltage rise while the other components are voltage drops.
The facts that we need about networks are Kirchoff’s Current Law, that for any point in a network the flow in equals the flow out and Kirchoff’s Voltage Law, that around any circuit the total drop equals the total rise.
We start with the network below. It has a battery that provides the potential to flow and three resistors, shown as zig-zags. When components are wired one after another, as here, they are in series.
By Kirchoff’s Voltage Law, because the voltage rise is volts, the total voltage drop must also be volts. Since the resistance from start to finish is ohms (the resistance of the wire connecting the components is negligible), the current is amperes. Now, by Kirchhoff’s Current Law, there are amperes through each resistor. Therefore the voltage drops are: volts across the ohm resistor, volts across the ohm resistor, and volts across the ohm resistor.
The prior network is simple enough that we didn’t use a linear system but the next one is more complicated. Here the resistors are in parallel.
We begin by labeling the branches as below. Let the current through the left branch of the parallel portion be and that through the right branch be , and also let the current through the battery be . Note that we don’t need to know the actual direction of flow—if current flows in the direction opposite to our arrow then we will get a negative number in the solution.
The Current Law, applied to the split point in the upper right, gives that . Applied to the split point lower right it gives . In the circuit that loops out of the top of the battery, down the left branch of the parallel portion, and back into the bottom of the battery, the voltage rise is while the voltage drop is , so the Voltage Law gives that . Similarly, the circuit from the battery to the right branch and back to the battery gives that . And, in the circuit that simply loops around in the left and right branches of the parallel portion (we arbitrarily take the direction of clockwise), there is a voltage rise of and a voltage drop of so .
The solution is , , and , all in amperes. (Incidentally, this illustrates that redundant equations can arise in practice.)
Kirchhoff’s laws can establish the electrical properties of very complex networks. The next diagram shows five resistors, whose values are in ohms, wired in series-parallel.
This is a Wheatstone bridge (see Exercise 3). To analyze it, we can place the arrows in this way.
Kirchhoff’s Current Law, applied to the top node, the left node, the right node, and the bottom node gives these.
Kirchhoff’s Voltage Law, applied to the inside loop (the to to to loop), the outside loop, and the upper loop not involving the battery, gives these.
Those suffice to determine the solution , , , , , and .
We can understand many kinds of networks in this way. For instance, the exercises analyze some networks of streets.
Exercises
Exercise 1 Worked answer
Calculate the amperages in each part of each network.
This is a simple network.
Compare this one with the parallel case discussed above.
This is a reasonably complicated network.
Answer.
The total resistance is ohms. With a volt potential, the flow will be amperes. Incidentally, the voltage drops will then be: volts across the ohm resistor, and volts across each of the two ohm resistors.
One way to do this network is to note that the ohm resistor on the left has a voltage drop of volts (and hence the flow through it is amperes), and the remaining portion on the right also has a voltage drop of volts, and so we can analyze it as in the prior item. We can also use linear systems.
Using the variables from the diagram we get a linear system
which yields the unique solution , , , and .
Of course, the first and second paragraphs yield the same answer. Essentially, in the first paragraph we solved the linear system by a method less systematic than Gauss’s Method, solving for some of the variables and then substituting.
Using these variables
one linear system that suffices to yield a unique solution is this.
(The last three equations come from the circuit involving --, the circuit involving ----, and the circuit with ----.) Octave gives , , , , , , .
Exercise 2 Worked answer
In the first network that we analyzed, with the three resistors in series, we just added to get that they acted together like a single resistor of ohms. We can do a similar thing for parallel circuits. In the second circuit analyzed,
the electric current through the battery is amperes. Thus, the parallel portion is equivalent to a single resistor of ohms.
What is the equivalent resistance if we change the ohm resistor to ohms?
What is the equivalent resistance if the two are each ohms?
Find the formula for the equivalent resistance if the two resistors in parallel are ohms and ohms.
Answer.
Using the variables from the earlier analysis,
The current flowing in each branch is then is , , and , all in amperes. Thus the parallel portion is acting like a single resistor of size ohms.
A similar analysis gives that is and amperes. The equivalent resistance is ohms.
Another analysis like the prior ones gives is , , and , all in amperes. So the parallel portion is acting like a single resistor of size ohms. (This equation is often stated as: the equivalent resistance satisfies .)
Exercise 3 Worked answer
A Wheatstone bridge is used to measure resistance.
Show that in this circuit if the current flowing through is zero then . (To operate the device, put the unknown resistance at . At is a meter that shows the current. We vary the three resistances , , and —typically they each have a calibrated knob—until the current in the middle reads . Then the equation gives the value of .)
Answer. Kirchoff’s Current Law, applied to the node where , , and come together, and also applied to the node where , , and come together gives these.
Kirchoff’s Voltage law, applied to the loop in the top right, and to the loop in the bottom right, gives these.
Assuming that is zero gives that , that , that , and that . Then rearranging the last equality
and cancelling the ’s gives the desired conclusion.
Exercise 4 Worked answer
Consider this traffic circle.
This is the traffic volume, in units of cars per ten minutes.
North Pier Main into out of We can set up equations to model how the traffic flows.
Adapt Kirchhoff’s Current Law to this circumstance. Is it a reasonable modeling assumption?
Label the three between-road arcs in the circle with a variable: let be the number of cars going from North Avenue to Main, let be the number of cars between Main and Pier, and let be the number between Pier and North. Using the adapted law, for each of the three in-out intersections state an equation describing the traffic flow at that node.
Solve that system.
Interpret your solution.
Restate the Voltage Law for this circumstance. How reasonable is it?
Answer.
An adaptation is: in any intersection the flow in equals the flow out. It does seem reasonable in this case, unless cars are stuck at an intersection for a long time.
Because cars leave via Main while cars enter, . Similarly Pier’s in/out balance means that and North gives . We have this system.
The row operations and lead to the conclusion that there are infinitely many solutions. With as the parameter, this is the solution set.
Since the problem is stated in number of cars we might restrict to be a natural number.
If we picture an initially-empty circle with the given input/output behavior, we can superimpose -many cars circling endlessly to get a new solution.
A suitable restatement might be: the number of cars entering the circle must equal the number of cars leaving. The reasonableness of this one is not as clear. Over the five minute time period we could find that a half dozen more cars entered than left, although the problem statement’s into/out table does satisfy this property. In any event, it is of no help in getting a unique solution since for that we would need to know the number of cars circling endlessly.
Exercise 5 Worked answer
This is a network of streets.
We can observe the hourly flow of cars into this network’s entrances, and out of its exits.
east Winooski west Winooski Willow Jay Shelburne into out of – (Note that to reach Jay a car must enter the network via some other road first, which is why there is no ‘into Jay’ entry in the table. Note also that over a long period of time, the total in must approximately equal the total out, which is why both rows add to cars.) Once inside the network, the traffic may flow in different ways, perhaps filling Willow and leaving Jay mostly empty, or perhaps flowing in some other way. Kirchhoff’s Laws give the limits on that freedom.
Determine the restrictions on the flow inside this network of streets by setting up a variable for each block, establishing the equations, and solving them. Notice that some streets are one-way only. (Hint: this will not yield a unique solution, since traffic can flow through this network in various ways; you should get at least one free variable.)
Suppose that someone proposes construction for Winooski Avenue East between Willow and Jay, and traffic on that block will be reduced. What is the least amount of traffic flow that can we can allow on that block without disrupting the hourly flow into and out of the network?
Answer.
Here is a variable for each unknown block; each known block has the flow shown.
We apply Kirchhoff’s principle that the flow into the intersection of Willow and Shelburne must equal the flow out to get . Doing the intersections from right to left and top to bottom gives these equations.
The row operation followed by then and and finally result in this system.
Since the free variables are and we take them as parameters.
Obviously and have to be positive, and in fact the first equation shows that must be at least . If we start with , then the equation shows that .
We cannot take to be zero or else will be negative (this would mean cars going the wrong way on the one-way street Jay). We can, however, take to be as small as , and then there are many suitable ’s. For instance, the solution
results from choosing .