Real-time and non-real-time EMT simulation of an alternate arm converter