Prize37 Chapter 6, Exercise 1 Lock flight against lift for a 12 metre rise Task A canal must rise 12 metres. Using narrow locks of 2.4 metres lift and the timings of this chapter, find how many locks are needed and how long one boat takes up the flight. Then compare the number of boats per hour that the flight and a ten minute lift could pass, and say what the comparison leaves out. (assumed figures throughout) Code (run with Python) enter, shut, fill, open_, leave = 2, 1, 6, 1, 2 # minutes (assumed) between, reset = 3, 6 lock_time = enter + shut + fill + open_ + leave rise, lift_per_lock = 12.0, 2.4 locks = int(rise / lift_per_lock + 0.999) # round up flight_one = locks * lock_time + (locks - 1) * between flight_busy = lock_time + reset # time the first lock is tied up per boat lift_cycle = 2 + 1 + 4 + 1 + 2 # minutes (assumed) print("locks:", locks) print("one boat up the flight (min):", flight_one) print("flight, boats per hour once busy:", round(60 / flight_busy, 1)) print("lift, boats per hour (one at a time):", round(60 / lift_cycle, 1)) Output (exactly as printed) locks: 5 one boat up the flight (min): 72 flight, boats per hour once busy: 3.3 lift, boats per hour (one at a time): 6.0 Answer The rise of 12 metres needs 12 / 2.4 = 5 locks, and one boat takes 5 x 12 + 4 x 3 = 72 minutes. Once the flight is busy a new boat can start every 18 minutes (one lock time of 12 plus 6 to reset the first lock), or 3.3 boats an hour. A lift taking 10 minutes with one caisson in use passes 6 boats an hour. The comparison leaves out cost: a lift is expensive to build and maintain, it needs a second caisson to pass boats both ways at once, and if it breaks the whole route is closed, whereas a flight keeps working even if one lock is out of order. It also leaves out water: the flight draws one chamber (about 105.8 cubic metres of narrow-lock water) from the summit for each passage, and the lift almost none.