Reinforcement Learning For Enhancing The Stability And Management Of Power Systems With New Resources