Contributions To Deep Reinforcement Learning And Its Applications In Smartgrids