OPAL-RT waveforms not matching with simulink

21 visualizzazioni (ultimi 30 giorni)
shipra
shipra il 10 Apr 2025
Risposto: Supraja il 30 Lug 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!

Risposte (1)

Supraja
Supraja il 30 Lug 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.

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by