About converting Spice model to Simscape
조회 수: 2 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!