Dynamic Stability Analysis In Distribution Networks With Dynamic Loads And Renewable Energy Sources