OPAL-RT waveforms not matching with simulink

16 Ansichten (letzte 30 Tage)
shipra
shipra am 10 Apr. 2025
Beantwortet: Supraja am 30 Jul. 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!

Antworten (1)

Supraja
Supraja am 30 Jul. 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.

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by