The new paradigm of the electric sector, given the increased penetration of distributed generation, includes a growing number of microgrids. Therefore, the implementation of microgrids needs to be preceded by studies and simulations to evaluate the possible scenarios under which these systems will operate. This paper presents an overview of state-of-the-art technologies for microgrid simulation and describes an example implemented at the facility to which the first authors are affiliated.