01 / A gateway that can think in water
PELAGION — The Crownwater Locks is an interactive reconstruction of a hydraulic passage imagined for a mythical Atlantean capital. Its central problem is simple but demanding: a royal cargo barge must cross from a tidal outer harbour into an elevated inland canal without allowing the sea to inundate the city. The solution is a stone chamber sealed by two pairs of pivoting bronze gates. Water is admitted, withdrawn and sometimes mechanically lifted until the chamber meets the level of the next reach. Only then may a gate open and the vessel continue. Unlike a decorative animated scene, PELAGION continuously calculates competing water levels, head pressure, exchange flows, pump work, salinity mixing and the boat's position.
02 / The imagined city and its materials
In this invented setting, Atlantis has not yet vanished. At the edge of its ceremonial harbour, the Crownwater district joins saltwater quays to a calmer freshwater ring canal that feeds gardens, workshops and shipping yards. The monumental locks are carved into a dark stone promontory. Tiered limestone retaining walls establish the chamber's broad proportions; a pair of fluted gatehouses supports articulated bronze leaves; a raised walkway overlooks the crossing; and paired screw-pump houses stand beside a network of visible conduits. Slender beacons, domed civic buildings and terraced warehouses complete the distant skyline. The virtual exhibit favours patinated copper, honey-coloured stone, turquoise water and early-morning light over the familiar glowing-crystal shorthand of fantasy Atlantis.
These structures are not archaeological reconstructions. No verified Atlantean lock or city has ever been excavated. The legend of Atlantis is associated above all with Plato's dialogues Timaeus and Critias, written in ancient Greece. The buildings and machinery shown here are imaginative architectural storytelling, loosely informed by real water engineering: canal locks, tide gates, lifting pumps, quays, hydraulic seals and masonry embankments.
03 / What the mathematical engine represents
The outer harbour elevation is driven by an adjustable sine-wave tide plus a configurable storm offset. The inner city canal is held near a fixed datum by an idealised upstream water supply. The lock chamber is a finite reservoir: its level changes when signed net flow enters or leaves, divided by the chamber's effective surface area. A simplified orifice equation makes the sluice exchange proportional to the square root of the magnitude of water-level difference. This is enough to demonstrate why flow falls as the levels equalise, and why an apparently small gate opening can cause rapid early transfer under a substantial head.
The reversible mechanical pump contributes a separate controlled flow. Its electrical power is estimated from water density, gravitational acceleration, volume flow, hydraulic lift and a fixed efficiency. The cumulative energy display therefore responds to both pump operation and lifting height. Small leakage terms represent imperfect seals. Salinity is treated as a single well-mixed chamber value, nudged by the proportion and salinity of incoming water. These approximations deliberately omit spatial turbulence, cavitation, long-wave propagation and actual seawater stratification; the goal is transparent experimentation rather than commercial hydraulic design.
04 / The gates and the royal vessel
The twin gate pairs are more than ornaments. Their bronze leaves pivot visibly, and an interlock checks adjacent water levels before admitting a request to open. With a large difference across a gate, the mechanism refuses the command and issues a reason. An open gate provides a wide unobstructed passage while equalising the chamber with the connected reach. The automated sequence first brings the approaching vessel to the outer threshold, equalises levels, opens the west gate, admits the barge and reseals the chamber. It then repeats the process towards the city, opens the east gate, and sends the vessel into the inner canal. A return voyage is available after arrival.
The barge is not an imported asset. Its hull, keel, mast, decorative prow, cargo crates and deck furniture are modelled procedurally in the browser. A user-adjustable cargo load changes its estimated draught and vertical flotation position. The vessel follows a prescribed guidance path instead of an unbounded six-degree-of-freedom naval physics model; it moves only when the gates and water levels make passage feasible. This keeps the connection between hydraulic decisions and navigation understandable.
05 / How to conduct an experiment
Start with The golden estuary and select Dispatch vessel. The automatic controller handles valve source selection and gate sequencing, but its progress still depends on the hydraulic rates you choose. Select the Hydraulics, Climate and Systems tabs to inspect the controls. Increasing the tidal amplitude creates larger level differences during the cycle. A longer tidal period gives a slower-changing harbour, whereas a large positive storm elevation makes the outer wall work against a more elevated sea. Pump capacity changes the maximum mechanical assistance; the sluice aperture changes how quickly passive equalisation can proceed. Accelerated model time lets you investigate a complete voyage without waiting through a real astronomical tide.
Next, switch off the automatic sequence and try setting the sluice source manually. Watch which way the flow indicator changes, and open a gate only after its pressure head has almost vanished. The warning message is part of the experiment: it explains why unsafe transitions are blocked. To inspect a component, click the ship, either gate, the screw-pump houses or the central chamber. Three camera presets give a theatrical master view, a lower close inspection and an overhead plan. Pointer dragging orbits; Shift-drag or right-drag pans; the mouse wheel or on-screen buttons zoom. Touch gestures rotate the model and pinch to adjust the view on compatible devices.
06 / Three coastal futures
The default scenario offers manageable water levels and a clear route into the city. Storm-king's surge raises the sea and enlarges the tidal range, forcing a choice between passive equalisation and energetic pumping. The great ebb lowers the ocean datum, so the chamber may have to gain rather than shed water before a crossing. None of these are scripted disaster films: the scenarios merely change the forcing parameters while the same continuous simulation rules remain in place. As a result, the severity of each challenge also depends on when a voyage begins in the tidal cycle, the condition of the seals and the operator's choices.
07 / Why a lock is an extraordinary invention
Real navigation locks convert an inconvenient height difference into a manageable sequence of temporary water levels. Their central insight is geometric rather than magical: a boat can rise or fall with a relatively modest volume of water when confined to a chamber much smaller than a whole canal. Real lock gates are subject to large hydrostatic forces. Water pressure rises with depth, so total force depends on the wetted area and the vertical distribution of pressure, not simply on the measured difference between water surfaces. Historical engineers developed sophisticated timber, iron and masonry solutions long before modern electronic control systems.
Tides, meanwhile, result chiefly from the gravitational interactions of Earth, Moon and Sun, modified by ocean-basin geometry. A sine wave is a useful teaching approximation but not a complete forecast. Real coastal locations can exhibit mixed, diurnal or semidiurnal patterns, resonance, atmospheric surges and nonlinear currents. Likewise, modern salinity and sediment transport require distributed numerical models. PELAGION therefore separates credible physical relationships from intentionally simplified computations and wholly invented Atlantean setting.
08 / Explore beyond the first crossing
Run a series of comparable trials. Keep the cargo load fixed and compare the total pumping energy required for voyages started at high tide and low tide. Repeat with worn gate seals; observe whether leakage helps or hinders level control at different moments. Reduce the pump capacity to zero and ask when a passive journey remains possible. In manual mode, close the sluice and watch how a chamber preserves its level despite the moving sea, then introduce leakage and compare its drift. Try changing cargo load to observe how the displayed draught changes while the waterline and route remain governed by the same lock rules.
09 / Exhibit notes and boundaries
The program is an original fictional museum exhibit, not a claim about lost technology. Geometry, dimensions, operating thresholds, barge construction and civic names were created for this application. The hydraulic model uses a single lumped chamber, constant density, simplified inflow, a fixed inner datum and a generic pump efficiency. The automated lock controller is a demonstration of interlocks, not a certified control algorithm. There is no prediction of flooding risk and no basis for engineering an actual waterway from these outputs. What the simulation does offer is a memorable way to connect architecture, water-level arithmetic, mechanical motion, safety decisions and the uneasy beauty of a city built at the meeting point of two waters.