フィルターのクリア

Does this example from 2015 work on 2023b Simscape?

4 ビュー (過去 30 日間)
Roman
Roman 2024 年 1 月 29 日
回答済み: ag 2024 年 2 月 9 日
Hello, I hope you can help me with this problem.
I am doing my master thesis about mechanical DC circuit breakers and am studying the related arc physics. I found a very good Simulink example:
Should this example work in 2023b?
I implemented it into my library and it is still not working and I start thinking it is because this is a 2015 version. To be honest I am not sure if I implemented it correctly. I can see the block with appropiate appereance but I am not sure if the data behind is correctly.
Thank you in advance
Regards
Roman
  1 件のコメント
Cris LaPierre
Cris LaPierre 2024 年 1 月 29 日
Check out possible solutions in the Review and Discussion tabs of the File Exchange page

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

回答 (1 件)

ag
ag 2024 年 2 月 9 日
Hi Roman,
The problem that you are facing is because the simscape code was done with MATLAB 2015, and to use it in the newer versions of MATLAB(2023B), you can modify the below blocks in the simscape file as shown(path - "Matlab Electric Arc Model/Simulink Simscape/+ArcLib/IdealArc.ssc"),
function setup
%Initial conditions
v={ 0.0, 'V' };
i={ 0.0, 'A' };
it={ 0.0, 'A' };
end
equations
v == p.v-n.v;
it == i + TauI*i.der;
v + TauV*v.der == a*Rc*(it)/(Rc*(it)*atan(b*(it)*{1,'1/A'})+a);
end
This fix has been provided in the Discussions tab of the File exchange page.
Hope this helps!

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by