Control development for an 18 MW pulsed power converter using a real-time simulation platform