I am trying to run the MY MPC based model for the Three level TNPC it is running in the simulation and that simulation is alos ruuning in i upload same model to the RTBOX3 but whn came simltuion i used to run my actual not running and gives the result. but when usese the SPWMit is ruuning good my model is not ruuning as a MPC controoler for a actual hardware prototype