OPAL-RT waveforms not matching with simulink

19 vues (au cours des 30 derniers jours)
shipra
shipra le 10 Avr 2025
Réponse apportée : Supraja le 30 Juil 2025
Hi,
I am trying to execute my model in OPAL-RT. The model is working well in Simulink, and when I load the model in OPAL-RT and run that model in Simulink, it still is working well. However, when I execute the model and open the scope, the waveforms are not complete sinusoidal, it kind of repeats like this. Here is the screenshot. I'd appreciate anyone's input.
Thank you!

Réponses (1)

Supraja
Supraja le 30 Juil 2025
Hi Shipra,
I understand that you are observing discrepancy in the output while loading your model to Simulink.
I would recommend you checking the sample time and also the solver 'fixed step' or 'variable step' after you load your model to Simulink and make sure that it is set as required.

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by