About converting Spice model to Simscape

7 vues (au cours des 30 derniers jours)
Xiaoyu
Xiaoyu le 6 Jan 2025
Commenté : Xiaoyu le 8 Jan 2025
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!

Réponse acceptée

Shivam Lahoti
Shivam Lahoti le 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.
  1 commentaire
Xiaoyu
Xiaoyu le 8 Jan 2025
Thank you very much for your reply!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by