A smart micro-grid is an intelligent power generation and distribution system consisting of distributed power generation devices such as photovoltaic and wind power, energy storage devices, related to load data collection and monitoring, and self-protection devices. The micro-grid system is an autonomous system capable of self-monitoring, protection and management, which can operate either in parallel with the external grid or in isolation. The micro-grid is divided into three main parts: supply side of energy, side of the main grid and side of load electricity.