This example shows the operation of a Modular Multi-Level Converter (MMC).
This example uses the half-bridge arm blocks to model an MMC consisting of eight power modules. The control system allows you to choose between two types of pulse generators - PWM and Nearest level. You can toggle the switch to see the impact on the output signals of the converter.
The use of MATLAB® functions within PM1 to PM8 subsystems allows coloring the modules in red when they are activated during the simulation. The use of these functions also allows us to slow down Simulink® in order to observe the activation and deactivation of the modules.
Note that only one half-bridge block can be used to model the positive half-arm and/or negative half-arms of the converter.