Modular multilevel converter based test bed for mvdc applications — A case study with a 12 kV, 5 MW setup