Dynamic Planning of Distribution Networks