The article describes the processes of implementation and experimental testing of the system for adapting the relay protection settings to changes in the network voltage. This paper introduces typical Grid-Forming (GFM) technologies in power grids, including steady-state and fault current limiting strategies, studies the equivalent structures of steady-state and fault traversal under GFM technology, analyses electrical characteristics under different fault types. This paper proposes a relay protection scheme based on random forest algorithm, and uses IoT technology for real-time data collection and processing. ), Published by DAAAM International, ISBN 978-3-902734-29-7, ISSN 1726-9679, Vienna, Austria DOI: 10.