About converting Spice model to Simscape

조회 수: 2 (최근 30일)
Xiaoyu
Xiaoyu 2025년 1월 6일
댓글: Xiaoyu 2025년 1월 8일
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일
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개)

카테고리

Help CenterFile Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by