In the simulation of complex power electronic equipment containing multiple power electronic switches, it is often encountered that the same switch occurs several times in one step, or there are multiple switch actions in one step, that is, multiple switches. When the switching event occurs between two moments, because the voltage value can only be updated at the end of the simulation step, there is a cumulative error in the current obtained by the integration. In traditional electromagnetic transient simulation, the interpolation algorithm and its deformation are commonly used to solve this problem. However, due to the complexity of the conventional interpolation algorithm, it will seriously affect the efficiency in large-scale power grid simulation, and can only be applied to offline simulation, which cannot meet the needs of real-time simulation. In this paper, a method is presented to deal with synchronous switches and multiple switches, which can reliably solve the problem of synchronous switches and multiple switches encountered in real-time simulation of complex power electronic systems.