Design and Test an Optimal Control Strategy for a MVDC MMC