The active variant must be configured before the simulation is started for pwm generator

3 views (last 30 days)
Asma Ben Chida
Asma Ben Chida on 25 May 2022
Commented: Asma Ben Chida on 15 Jun 2022
For the Matlab example 'power_PVarray_3500W', I change the inverter from single-phase to three-phase and the pwm generator from single-phase to three-phase bridge (6 pulse).
The following error is displayed :
Block 'power_PVarray_3500W/Inverter Control/PWM_Generator/Modulator type' attempted to change the active variant during simulation. The active variant must be configured before the simulation is started.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 13 Jun 2022
Hello Asma,
modifying the "inverter control" block as is likely caused the problem. That block is specifically designed as a single phase inverter controller. It also has a number of internal function calls that could easily break when you start modifying it. You will need to use an alternate controller specifically designed for three phase inverter control. Here is a three phase example: https://www.mathworks.com/help/physmod/sps/ug/250-kw-grid-connected-pv-array.html
Regards,
Joel

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by