About converting Spice model to Simscape

I used the command subcircuit2ssc to convert a Spice model for the power diode to Simscape, and an error appears:
Error using subcircuit2ssc
Netlist is not supported. No valid subcircuits found.
The power diode Spice file is as follows:
.MODEL DRFN10RSM2STL1 D
+ IS=192.49E-12
+ N=1.1157
+ RS=4.3285E-3
+ IKF=98.758E-3
+ EG=0.88
+ CJO=168.00E-12
+ M=0.3114
+ VJ=0.5
+ ISR=539.76E-12
+ NR=1.95
+ BV=200
+ TT=26.548E-9
+ TIKF=0.012
I have succesfully converted a power MOSFET model from Spice to Simscape. I wonder why this does not work for diode. Thanks!

 採用された回答

Shivam Lahoti
Shivam Lahoti 2025 年 1 月 8 日

0 投票

Hi Xiaoyu,
I understand you are getting the following error when you are trying to convert the Spice model to Simscape.
The subcircuit2ssc function cannot translate all elements into Simscape components. To circumvent this, you can create Simscape components for all elements that are translate-able, and manually create the components that do not already exist in Simscape.
I hope the above documentation would help in manually creating the component that is throwing the error.
Regards,
Shivam.

1 件のコメント

Xiaoyu
Xiaoyu 2025 年 1 月 8 日
Thank you very much for your reply!

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

その他の回答 (0 件)

カテゴリ

質問済み:

2025 年 1 月 6 日

コメント済み:

2025 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by