Impact of automation and Distributed Generation in MV Distribution networks