A model of the filling process of an intermittent distribution network