Towards real-time power management of microgrids for power system integration : a decentralized multi-agent based approach