Simulink Solver Settings Doubt

3 ビュー (過去 30 日間)
Abhishek
Abhishek 2024 年 3 月 18 日
回答済み: Fangjun Jiang 2024 年 3 月 19 日
Hello Everyone,
I have a FMU which has it's own solver. I imported the FMU in simulink and ran with auto solver settings (auto max time step) which was leading to crashing of matlab again and again. But when I am running the same model for less time step (max timestep = 1), then it's running all fine. The thing I don't understnad is, I just have the inputs connected to the FMU and scope as an output, all the computation is happening within FMU with it's own solver. So, how the solver settings in simulink making the model work?
Thanks for your answer and time in advance :)

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2024 年 3 月 19 日
You could do experiments to find out why. Use To Workspace block with -1 as sample time to log the inputs. Run simulation with different max time step. I suspect the data points for the inputs might be different. That could cause the simulation difference even though FMU has its local solver.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by