Problem after Converting the simulink model from R2024a to R2022b

I have a Simulink model (1D model using simscape blocks) in R2024a. I have to generate .exe file. Bz of situation, I wanted to degrade my model to R2022b. But when I run that model in R2022b, it causing multiple errors. I have rearranged the simscape blocks there according to R2022b. Even then this error persists. What are the precautions should be taken to eliminate this error?

2 件のコメント

Yukthi S
Yukthi S 2024 年 12 月 9 日
Can you share the error message and the simulink model for better understanding?
Vangala
Vangala 2024 年 12 月 9 日
Error " No of variables exceeds no of equations"

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

 採用された回答

Vangala
Vangala 2025 年 2 月 11 日

0 投票

Hi guys,
Thanks for anwering the question above. I had solved it myself.
In R2022b, When you use pressure and temperature sensor, connect its A to main stream flow and B to the absolute reference. Remove unwanted sensors in the whole loop.
This method solved the issue: "No of variables greater than no. of equations".

その他の回答 (1 件)

Saurabh
Saurabh 2024 年 12 月 11 日
編集済み: Saurabh 2024 年 12 月 20 日

2 投票

This seems to be a possible bug try running the model using 'sim(bdroot)' and then clicking the hyperlinks which appear in the command window.
I hope this helps

カテゴリ

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

質問済み:

2024 年 12 月 9 日

回答済み:

2025 年 2 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by