News for hackers. Stuff that matters.
Re:Two capacitor paradox by bobbylarrybobby on Monday May 25, 2020 @11:42AM (#23302163)
And the resolutions are the same as in the capacitor example: either friction in the pipes damps the oscillation, or the inertia of the water keeps it oscillating between the two barrels indefinitely and half the energy is kinetic.
Re:Two capacitor paradox by kurthr on Monday May 25, 2020 @01:46PM (#23303123)
Well, technically there would also be some inductance... which as an externally coupled field would radiate, and that inherently causes loss!
Re:Two capacitor paradox by Nextgrid on Monday May 25, 2020 @03:53PM (#23304306)
I’m curious, how would you describe inductance in the context of the water analogy? I’m not very experienced in electronics so I’m hoping the “water version” of it might help me understand electric inductance better.
Re:Two capacitor paradox by ericye16 on Monday May 25, 2020 @04:36PM (#23304697)
There's a property called "inertance" which is analogous to inductance in electrical circuits: https://en.wikipedia.org/wiki/Inertance

and it can cause things like water hammers: https://en.wikipedia.org/wiki/Water_hammer which are analogous to inductor sparks: http://web.physics.ucsb.edu/~lecturedemonstrations/Composer/...

Re:Two capacitor paradox by johnkpaul on Monday May 25, 2020 @07:15PM (#23305882)
This video explains water hammer really well.

https://youtu.be/xoLmVFAFjn4

Re:Two capacitor paradox by chrisweekly on Monday May 25, 2020 @09:56PM (#23306739)
Yes it does! Watched, learned something, grateful.
Re:Two capacitor paradox by jacquesm on Tuesday May 26, 2020 @01:17AM (#23307656)
It is the reason why domotica valves move so slow. If they were to move instantaneously then it would cause water-hammer to the point where it might even dislodge the valve from its connections if the run before it is long enough!
Re:Two capacitor paradox by userbinator on Monday May 25, 2020 @07:51PM (#23306091)
There is also a practical device which is basically a boost converter for water: https://en.wikipedia.org/wiki/Hydraulic_ram
Re:Two capacitor paradox by jimmyswimmy on Monday May 25, 2020 @04:17PM (#23304508)
It is the inertia of the water in the connecting pipes. In electrical systems, the inductance is that property of a component which tries to keep current constant. In both forms of the thought experiment, if you shut off the connection instantly, the voltage or pressure build to destroy the thing which stopped the connection.

Water analogies only go so far. You would do well to pick up a book on basic electrical networks to learn this material further. Don't shy away from the math; it's really the only way to build the understanding that leads to intuition.

Re:Two capacitor paradox by ivanhoe on Monday May 25, 2020 @04:25PM (#23304587)
In electric circuits capacity and inductance make energy oscillate between the electric and the magnetic field. The closest analogy I can think of for water pipes would be the oscillation between the kinetic and the potential energy (or the flow and the pressure). As for better understanding of inductance and magnetic field, imho it's better to stick to Faraday, Gauss and Lenz laws than looking for analogies, as EM field has it's very specific properties.
Re:Two capacitor paradox by stephen_g on Monday May 25, 2020 @09:13PM (#23306502)
Might be an unpopular opinion but my advice as an electronics engineer would be to try and move away from water analogies as quickly as possible. While they can be useful at the start for some basic concepts, I feel like trying to relate everything to hydraulic concepts (or springs) makes it harder to understand things in the long run when you start looking at concepts where the analogies don't work as well.
Re:Two capacitor paradox by somewhereoutth on Monday May 25, 2020 @09:58PM (#23306749)
I have only a passing understanding of both, but enough to appreciate the (limited as you say) intuitive resemblances - can anyone enlighten me as to what are the fundamental mathematical differences between modelling electronics and water?
Re:Two capacitor paradox by kd5bjo on Tuesday May 26, 2020 @01:25AM (#23307707)
If you keep the water slow enough to stay in laminar flow and the electronic scales large enough to avoid quantum effects, electronic and hydraulic components have an essentially 1:1 correspondence.

The biggest difference is in mechanical effects: in hydraulics, physical force is primarily a function of the system pressure and velocity of the flow rate. For electromagnetics, those are reversed: voltage controls the speed of a motor and current controls the force, for example.

They also deviate from the linear regime in different ways, which means the more interesting components have to be built completely differently to perform the same job. A one-way check valve and a diode are both governed by similar equations on a macro scale, but you’ll never be able to understand the internal structure of the valve by an electronic analogy or the design of the diode by a hydraulic one.

Re:Two capacitor paradox by sillysaurusx on Monday May 25, 2020 @09:42PM (#23306671)
What would be a better visualization?
Re:Two capacitor paradox by stephen_g on Saturday May 30, 2020 @02:06AM (#23358905)
What I’m saying is that it’s best to get to the point where you can reason more directly about voltage, current, charge, inductance etc.

Part of that is getting comfortable with the maths, and the way that’s visualised is just equations, graphs and sometimes things like diagrams of fields or heatmaps. I work in RF so we do antenna simulations and things like that, and the software generates radiation pattern diagrams in 2D, or in 3D heatmaps showing the energy density. It just doesn’t work to, say, try and think of what would happen if an antenna was spraying water out or something.

Re:Two capacitor paradox by fwip on Monday May 25, 2020 @06:10PM (#23305466)
The analogy I always used as a kid was a heavy, free-spinning water wheel in the path of the water. It would tend to resist changes in current.
Re:Two capacitor paradox by red75prime on Monday May 25, 2020 @02:39PM (#23303595)
And the loss will be in the form of gravitational waves.
Re:Two capacitor paradox by throwphoton on Monday May 25, 2020 @02:52PM (#23303713)
Argh is this real or not? Would energy radiated away as a result of inductance be analogous to energy radiated away by gravitational waves in the "water pressure analogy"?
Re:Two capacitor paradox by adammunich on Monday May 25, 2020 @03:08PM (#23303879)
I think so yes, but the effect would be very small
Re:Two capacitor paradox by majikandy on Monday May 25, 2020 @04:29PM (#23304616)
Probably more simply in kinetic and sound energy with water as it rumbles through the pipes and vibrates the pipes and barrels a bit.
Re:Two capacitor paradox by sopooneo on Monday May 25, 2020 @01:00PM (#23302791)
That, along with the parent comment, clinched it for me. Thank you.
Re:Two capacitor paradox by CamperBob2 on Monday May 25, 2020 @05:56PM (#23305367)
I think the Wikipedia article's final sentence is probably the easiest way to visualize the question if you want to stick to electrical terms. If there's just one capacitor and you short it out by closing the switch, it's not hard to see how all of the energy vanishes, rather than complicating the question by referring to half of it.
Re:Two capacitor paradox by wrycoder on Monday May 25, 2020 @06:57PM (#23305760)
Energy doesn’t vanish. Part of it is dissipated in the wire’s resistance and the rest is radiated as EM energy in a ring-down oscillation.
Re:Two capacitor paradox by CamperBob2 on Monday May 25, 2020 @07:31PM (#23305976)
Yes, and that's the point; to answer the paradox you have to explain where the seemingly-"vanished" energy goes, and that's relatively straightforward in the single-capacitor case.

It's then equally straightforward to see how the same explanation applies to the more contrived case of two capacitors.

Re:Two capacitor paradox by Yajirobe on Monday May 25, 2020 @01:47PM (#23303130)
So how do we capture this 'resolution' in actual equations? Why aren't the equations revealing this to us?
Re:Two capacitor paradox by jbay808 on Monday May 25, 2020 @02:17PM (#23303374)
You can set this up with superconductors so they have zero resistance, but any wire will still have a trace inductance. (Moving charges must create a magnetic field, so if you're moving charges from one capacitor to another, you need to have some inductance somewhere).

Once you include that, you'll see your LC resonator is perfectly undamped and oscillates the charges back and forth forever, breaking the assumption that a "steady state" would equalize the charge on both capacitors.

The equations will also reveal the problem to you when you try to calculate the current that flows from one capacitor to another, with no inductance or resistance in between. You might try putting in an inductor and looking at the circuit behaviour in the limit as the inductance goes to zero -- you'd see the frequency of oscillation climbs to infinity; the full charge essentially teleports back and forth from one capacitor to the other, but still never settles into a steady state of equal charge on both capacitors.

Once you see this, it's like having a problem set up with a frictionless ball on a hilltop beside a valley, saying "in the steady state, the ball has rolled down and settled in the valley. But there was no friction! Where did the energy go?", and the answer is just that the ball doesn't settle in the valley, but rather continues back up the other side, carried along by the kinetic energy that had been neglected in the problem statement.

(Before the well-actualies point out that an LC circuit will damp itself via radiation, let's just say it's also perfectly shielded).

Re:Two capacitor paradox by LeifCarrotson on Monday May 25, 2020 @01:55PM (#23303190)
The actual equations do capture it. It's just the simplified minimal equations that result in 'paradox'.

A full model is complicated by the fact that your capacitors have an internal series resistance and leakage resistance, and that the leads and circuit board traces have resistance and inductance. Just like the pipes and valve has some resistance to flow, and some water might leak out or evaporate, and the water has inertia and nonzero viscosity, and turbulence will turn some of the motion to heat, and depending on the phase of the moon, the time of day, and the compass orientation of the barrels, the water may be pulled into a picometers-higher tide in one barrel. When you say "they equalize with half the water in each" you don't typically mention that the phase of the moon may be a factor.

Re:Two capacitor paradox by logicallee on Monday May 25, 2020 @02:37PM (#23303573)
Still, picometers are very different from "half the energy in the system".

We do store energy in water towers for example, so it is pretty surprising and unintuitive that if you put two large water tanks, one full and one empty, right next to each other, open a valve between them allowing their levels to equalize, then assuming there is no distance and you used teflon coated valves you lose... half of the energy as they equalize!

I certainly wouldn't have thought so. I'd have thought you keep 70%-95+% of the energy.

Actually the oscillation explanation didn't match my intuition at all, because I would have thought the water flows from high to low until the point of equalization and then stops flowing, without oscillation.

I get that this doesn't happen, but I would have thought it would!

Re:Two capacitor paradox by MauranKilom on Monday May 25, 2020 @08:00PM (#23306140)
> Actually the oscillation explanation didn't match my intuition at all, because I would have thought the water flows from high to low until the point of equalization and then stops flowing, without oscillation.

It might very well do that. You will just have lost half the energy already to heat from friction with the piping and due to water's viscosity.

> it is pretty surprising and unintuitive that if you put two large water tanks, one full and one empty, right next to each other, open a valve between them allowing their levels to equalize, then assuming there is no distance and you used teflon coated valves you lose... half of the energy as they equalize!

If you did that, they would equalize - very briefly - and then the second tank would fill higher and higher, until it's (nearly) full. Then the reverse begins.

This is very similar to a pendulum. Just that our intuition about pendulums is better than for near-frictionless transfer of fluids in connected systems.

> I'd have thought you keep 70%-95+% of the energy.

Well, the potential energy being zero at the bottom of each tank is arbitrary. If both tanks are inside a water tower, you might keep 99% of the "useful" energy even if you let them equalize, because the height above ground is greater than the height above "tank bottom". Maybe this is the source of some confusion here?

Re:Two capacitor paradox by mindslight on Monday May 25, 2020 @03:08PM (#23303885)
You lose 50% of the energy relative to the bottom of the water tanks (actually, the level you're using the water to perform work). If you did this with two 20 foot high tanks, but on towers 40 feet off the ground, then you retain 45 / 50 (the ratio of the changed center of mass) == 90% of the energy.

The oscillation bit happens, but it doesn't dominate. Water analogies can be misleading because water has intrinsic properties (eg turbulence ~= resistance) which aren't always significant in an electronic circuit. To make the equivalent of an LC-dominant circuit with (open) water tanks, you'd need something like a high-momentum turbine in the transfer pipe.

Re:Two capacitor paradox by logicallee on Monday May 25, 2020 @03:37PM (#23304155)
When water equalizes in the "water seeks its own level" demonstration (in a series of connected glass tubes of various shapes, the water is at the same level in the whole system, as here: https://www.physics.purdue.edu/demos/display_page.php?item=2... ), does the system lose a lot of potential energy as the water equalizes?

The demonstration is called Pascal's vases.

Re:Two capacitor paradox by saagarjha on Monday May 25, 2020 @02:43PM (#23303633)
In normal situations, you would not lose half the energy, or hydropower would be totally bunk (actually maybe not, considering the efficiency of burning fossil fuels…) But in this degenerate case, you cannot ignore the losses.
Re:Two capacitor paradox by lutorm on Tuesday May 26, 2020 @12:48AM (#23307516)
In a hydro power plant, the water turbine constitutes the "friction" so, if there were no other losses, the half of the energy "lost" from the system is precisely what your generator gave you.
Re:Two capacitor paradox by logicallee on Monday May 25, 2020 @02:57PM (#23303771)
Are you sure? I was going to add that the intuition comes from demonstrations we might have seen, where in a series of tubes, regardless of shape, water will be at one level. As in this picture:

https://www.physics.purdue.edu/demos/display_page.php?item=2...

So is it not accurate to say that water does this by oscillating and throwing away energy as parasitic losses, until it equalizes?

Are you saying in general does a system of connected tubes NOT throw off lots of energy as it gets into the equalized state shown?

If it does, I think this fact should also be mentioned when teaching the "water seeks its own level" demonstrated above. (Called Pascal's vases.)

Re:Two capacitor paradox by saagarjha on Monday May 25, 2020 @04:35PM (#23304687)
Here's a video showing water oscillating: https://www.youtube.com/watch?v=cVEbh_COcRY
Re:Two capacitor paradox by logicallee on Tuesday May 26, 2020 @12:00AM (#23307288)
Cool! Thanks :)
Re:Two capacitor paradox by fpoling on Monday May 25, 2020 @02:16PM (#23303361)
The equations do reveal that! As Wikipedia pointed out in the idealized model the current is infinite and the time to settle is zero. Thus the energy loss is proportional to ∞*0 , that tells immediately that the model is not applicable.
Re:Two capacitor paradox by flak48 on Monday May 25, 2020 @03:35PM (#23304135)
We make an intuitive assumption about the final state and then use the rules we know to apply equations to verify the final state.

In this case, the equations not matching up proved that our initial assumption (steady state) was itself wrong.