Unknown pipe characteristics may be helpful in the design and operation of water distribution networks. By using unknown pipe characteristics it becomes easier to select appropriate pipes, to choose boosters, and to regulate the flow through pumps using regulating valves. An algorithm is presented for automatically constructing and solving equations describing the behavior of water distribution networks when some pipe characteristics are unknown. It is based on loop equations and is therefore appropriate for implementation on minicomputers. Several applications and experiments are described.