Zalgorithm

The relationship between the Malkus waterwheel and the Lorenz system

This is not a math tutorial. See Why am I writing about math?

There is a correlation between the structure and movement of the Malkus waterwheel and the Lorenz differential equations.


NOTE: when you run the Lorenz equations on a computer, you’re working with dimensionless numbers. For a physical waterwheel, x has units of angular velocity (radians per second), y and z have units of mass times length (kg times meters). The numerical values depend on wheel size, bucket size, flow rate, friction, etc.


The Lorenz equations

Where σ\sigma, ρ\rho, and β\beta are fixed parameters that define aspects of the system, and xx, yy, zz are set to some initial values.

In (imprecise) words:

How the Lorenz equation parameters relate to the Malkus waterwheel

Typical parameter values

How the Lorenz equation variables x,y, and z relate to the Malkus waterwheel

The Lorenz equations

xx is the angular velocity of the wheel. It represents how fast the wheel is spinning, and what direction it is spinning in. When xx is positive, the wheel is spinning one way (I’ll assume clockwise), when xx is negative, the wheel is spinning in the opposite direction. When xx is large, the wheel is spinning quickly (the angular velocity is high). When xx is small, the wheel is spinning slowly (the angular velocity is low).

The Lorenz equations

yy is the asymmetry in water distribution (left-right). I’m understanding this to mean how water is distributed between the left and right sides of the wheel. If more water is on the left side (yy is negative), the wheel will spin counter-clockwise. If more water is on the right side (yy is positive) the wheel will spin clockwise. Changes to

The Lorenz equations

zz is the vertical distribution of water (up-down). It represents how much water has accumulated in the lower buckets. Water accumulating in the lower buckets affects the wheel’s moment of inertia and stability. (reference needed.)

Typical ranges of x, y, and z

Relating the Lorenz equation variables and parameters to the equations

The interlocking nature of the equations makes it difficult to think about the system as a whole.

Starting with dz/dt=xyβzdz/dt = xy - \beta{z}:

dx/dt=σ(yx)dx/dt = \sigma(y - x):

This says that xx is trying to chase yy, it wants to match yy, but lags behind. Remember that σ\sigma (friction) typically has values around 10.0:

dy/dt=x(ρz)ydy/dt = x(\rho - z) - y, remember that ρ\rho is the water inflow rate with a typical value of 28:

How data recorded from the waterwheel might map to a Lorenz system

I think another way of putting this is how the waterwheel could be represented in phase space.

For the Lorenz attractor to waterwheel mapping:

How the y and z values could be measured for a moment in time

For yy, measure how much water is on the right side versus the left side of the wheel. This could be done by weighing each bucket’s water and scaling it by its horizontal distance from the either the vertical or horizontal axis. yy is therefore a measure of the system’s horizontal imbalance.

For zz, measure the vertical distribution of the water. I think this could be approached in a similar way the yy measurement. I’m wondering about the role of gravity in all this.

Essentially, capture weighted averages of where the water is concentrated at a moment in time.

What does first cosine mode and first sine mode mean?

In the context of the waterwheel, I think the terms first cosine mode and first sine mode are a way of describing the spacial distribution of the water. (I had the idea that the terms were related to Fourier decomposition, but that doesn’t make sense as the waveforms generated by the wheel aren’t periodic.) Somewhat confusingly, using the terms first cosine mode and first sine mode to describe the distribution of the water is describing the water using a spacial Fourier series — the distribution of water at different angles around the wheel.

The distinction is that a spacial Fourier decomposition describes the distribution around the circumference at one moment in time; temporal Fourier decomposition describes how things change over time. It can’t (I think) be applied to a chaotic system — it’s for describing period functions.

At any moment in time, water is distributed around the circular wheel — each bucket is at some angle from a bucket that’s (arbitrarily (?)) given the angle θ=0\theta = 0. The first cosine mode captures how water is distributed along the vertical axis, the first sine mode captures how water is distributed along the vertical axis. Given a system with 4 buckets, the formulas would be something like:

y(t) ~ m₁(t)cos(0) + m₂(t)cos(π/2) + m₃(t)cos(π) + m₄(t)cos(3π/2)
z(t) ~ m₁(t)sin(0) + m₂(t)sin(π/2) + m₃(t)sin(π) + m₄(t)sin(3π/2)

But, this only makes sense to me if the angles are measured from a fixed reference that’s relative to the hub of the wheel. If the hub is taken as the origin of a 2D plane, where angle θ=0\theta = 0 is the equivalent of x = spoke length, y = 0 on a Cartesian plane, the system’s yy value (not to be confused with the x,y Cartesian points) will be most influenced by buckets that are on the y axis of the imagined Cartesian plane (cos(0)=1\cos(0) = 1, cos(π)=1\cos(\pi) = -1, cos(π/2)=0\cos(\pi/2) = 0, cos(3π/2=0\cos(3\pi/2 = 0)

The details of this aren’t super relevant to me at the moment.