Performance Evaluation of Microgrid Management System by using a Hardware-in-the-loop Simulation Method