A microgrid (MG) is an electric power distribution system that may provide a suitable ecosystem for distributed generation. Detailed information about the infrastructure layer in MG projects is available, so this study aimed to propose a compendium and a model creation guideline for MGs. The aggregated information based on 1618 MGs was summarized into different tables and analyzed based on various parameters. Two MG infrastructure model creation tools were developed. First, a simple guideline was created based on the information in the tables, and then a machine learning tool based on decision trees was proposed that generates more accurate MG models using two main inputs: latitude and the segment in which they operate.