An effective distributed approach based machine learning for energy negotiation in networked microgrids