Multi-Agent Reinforcement Learning Grid-Oriented Control for Distributed Energy Resources on Smart Grids