OPAL-RT waveforms not matching with simulink

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!

Respuestas (1)

Supraja
Supraja el 30 de Jul. de 2025

0 votos

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.

Productos

Versión

R2022a

Preguntada:

el 10 de Abr. de 2025

Respondida:

el 30 de Jul. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by