Matlab/Simulink and Plecs standalone joint simulation error shows discontinuous state after switching.

14 ビュー (過去 30 日間)
I am trying to simulate Plecs standalone with Matlab/Simulink, but I encountered a problem during the joint simulation. I built a three-phase inverter and permanent magnet synchronous motor module in Plecs, imported the official thermal description file of Infineon for the inverter part, attempted to obtain the losses and junction temperatures of the inverter power devices, and output the simulation model built in Plecs as an FMU file. I opened the FMU file in Matlab/Simulink, and the control signal part of the motor was the SVPWM control method built in Simulink. However, there was a simulation error during runtime, as shown below. In order to verify the correctness of the simulation model in Plecs, I first provide the control signal in Plecs, which will display the discontinuous state after the switch, and the voltage across one inductor in the permanent magnet synchronous motor module will suddenly change. In order to solve this problem, I changed the tolerance of the solver part to 1e-4 and the problem was solved. However, when I output it as an FMU file and open it in Simulink to provide its control signal for joint simulation, the same problem occurred again. How can I solve it? I am looking forward to and grateful for your answer and clarification

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by