INITIALIZING · RENDER ENGINE
SIMULATION 00:00
WATER LEVEL 1.50 m
Drag to orbit · Wheel or pinch to zoom · Right-drag or two-finger drag to pan · Tap a component to inspect

Understanding the mechanism

How a canal lock lifts a boat using gravity and controlled water flow

This interactive 3D model recreates a double-mitre-gate navigation lock with an upper and lower reach, a stone-lined chamber, hydraulic sluice paddles, gate operating machinery, and a steerable narrowboat. Its water-transfer calculation follows the orifice equation, while the boat responds to a simplified force-and-drag model.

Hydraulic model

Each open paddle behaves as a submerged orifice. Greater head difference causes faster flow; the rate diminishes as the chamber approaches the reservoir's level. The change in chamber level follows conservation of volume.

Q = Cd · A · √(2g|Δh|) · sign(Δh)

dh/dt = (Qupper + Qlower) / Achamber

Gate pressure is integrated hydrostatically over a vertical gate face. Displayed power is ideal gravitational energy-transfer rate, not measured mechanical output.

Navigation sequence

  1. Begin with the boat floating in the lower-level chamber.
  2. Open the upper sluice and watch the water, boat, and hydrostatic load change.
  3. Close the sluice after the chamber reaches the upper reach.
  4. Open the upper mitre gates and use negative throttle to steer upstream.
  5. Clear the gate before closing it, or return to the chamber and use the lower sluice to descend.

Camera orbit, four viewpoints, clickable components, optional cutaway masonry, and speed control support detailed inspection.

Frequently asked questions

1. Why do locks need two sets of gates?

The two gated ends isolate a chamber between bodies of water at different elevations. Closing both ends lets the chamber fill or drain without directly joining the upper and lower waterways, conserving water and enabling a boat to change altitude safely.

2. How do sluice paddles move the water?

They expose an underwater passage connecting a reservoir and the chamber. Hydrostatic head drives water through that passage. In the model, flow rate is proportional to open area and to the square root of the height difference.

3. Why can a gate not be opened against a large water-level difference?

A significant head difference produces an enormous net horizontal pressure force. Mitre gates are designed to seal against that load and normally open once the levels are nearly balanced. This simulator enforces a 0.10 m interlock for safe operation.

4. What makes a mitre gate different from a flat gate?

Two leaves meet at an angle, forming a shallow V in plan view. The geometry transfers water load into the hinge posts and the meeting edges. The model includes hinged, framed timber leaves with reinforcing braces and iron straps.

5. Does a floating boat rise as the lock fills?

Yes. Buoyancy makes it follow the free surface without needing the vessel to be lifted mechanically. Here the vessel approaches its new equilibrium level through a damped vertical spring approximation, representing heave rather than a full displacement-based fluid model.

6. How is the chamber filling time determined?

It depends on effective paddle area, discharge coefficient, chamber plan area, and the current head difference. Because orifice flow falls as the levels approach equilibrium, filling slows near completion. Changing paddle opening immediately affects the calculated rate.

7. What does the gate-force readout represent?

It is the magnitude of the ideal hydrostatic force from unequal water depths acting across the upper gate plane, integrated from the modeled sill elevation. It omits structural stress distribution, friction at joints, waves, and dynamic impact loads.

8. Why is the hydraulic power readout not an efficiency measurement?

The power number represents the ideal rate at which gravitational potential energy is transported through moving water. It is calculated from density, gravity, absolute flow, and head difference. No turbine or energy-recovery device is present, so no conversion efficiency is modeled.

9. Can a vessel move through a closed gate?

No. The simplified collision logic prevents the boat from crossing a closed gate plane while accounting for its approximate hull length. It does not calculate hull impacts or hydrodynamic interaction with a moving gate.

10. Is this model suitable for designing a real lock?

No. It is a physically informed educational visualization, not validated civil-engineering software. Detailed design requires site-specific hydraulic coefficients, turbulence, gate and foundation stresses, water loss, vessel clearances, and operating standards.

Made with 🤖 ChatGPT · Three.js