About converting Spice model to Simscape
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Shivam Lahoti
on 8 Jan 2025
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.
More Answers (0)
See Also
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!