The invention discloses a
relay protection
algorithm development method based on a
virtual platform, a medium and a
system. The method comprises the following steps: S1, establishing a
system comprising a virtual
signal generator module, a protection
algorithm module and a
virtual screen; s2, multiple paths of analog electrical quantity and switching quantity signals are generated through a virtual
signal generator module, and multiple
system working conditions and switching logic thereof are defined; the generated digital
voltage and current sampling sequences are sent to a protection
algorithm module in real time to serve as input excitation; s3, executing a
source code which is the same as that of the real embedded device through the
simulation excitation signal; the algorithm operation state is observed in real time; and S4, realizing interactive observation and control through a virtualized
data channel, virtualizing a plurality of physical communication interfaces, forwarding data streams to a
virtual screen in real time, and realizing real-time intervention and closed-
loop control on an algorithm program. According to the method, the
relay protection algorithm research and development efficiency can be greatly improved.