Recently, I began to study the multi-agent control of dc microgrid based on distributed consensus algorithm.I try to use the Jade platform to communicate between agents in the system, which can be controlled by Java programs.Finally, I can combine the DC microgrid simulation based on Matlab/Simulink and Jade to realize a multi-agent controll method .But I'm not very clear how to implement it.I hope that some friends who understand this can help me, give me some advices and guidances, or recommend some references to learn .