Run a simulink model for a certain amount of time and pause at T=0.5 more than 9h

hey everyone,
I've run my simulation in simulink but for more than 9h, the simulation is at T=0.5. How can I solve this problem (V 2018)

 採用された回答

Joel Van Sickel
Joel Van Sickel 2024 年 4 月 2 日

1 投票

you are likely using a variable step solver and it is hanging on something. You need to find what is doing it, Switching to a fixed step solver isn't an ideal way to get around it, but will likely "jump" over the problem area. Can you share your model instead of a screen shot? It is likely the model needs to be modified or changes made to the solver settings.

2 件のコメント

SARA
SARA 2024 年 4 月 2 日
Ok, can you share your contact
Joel Van Sickel
Joel Van Sickel 2024 年 4 月 3 日
based on the model, there are a few things. One, your discrete time step is far too large. It needs to be at least 100 times smaller than your switching frequency. So if your switching frequency is 1 khz, time steep needs to be 1/1000/100. Also, your PLL is causing problems with the simulation. In general, it looks like you've built too large of a model at once. You need to build a simpler smaller model that works, and slowly add complexity to it.

サインインしてコメントする。

その他の回答 (1 件)

Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2024 年 4 月 2 日

0 投票

You have to click 'view diagnosticks' at the bottom screen and follow the instructions.
P.R. NARAYANASWAMY
DR. N P R IYER EMAIL: nswamy.iyer@gmail.com

2 件のコメント

SARA
SARA 2024 年 4 月 3 日
Hey,
I didn't quite understand your answer
See the bottom of your sim cap.jpg file you have attached.
P.R. NARAYANASWAMY. DR. N P R IYER EMAIL: nswamy.iyer@gmail.com

サインインしてコメントする。

コミュニティ

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by