Distribution management : mathematical modelling and practical analysis