Dynamic and Transient study in Mid Voltage networks in relation to Distributed Generations