Adaptive protection combined with machine learning for microgrids | Synapse