— This paper presents a new model for so-called water hammer equations based on a collocation method. This model is shown to fairly represent possible leak effects in a pipeline and thus to be useful in the purpose of leak detection. This is illustrated in simulation by an example of observerbased leak detector relying on this model.