How to import .SUBCKT Spice model into MATLAB Simscape?

6 次查看(过去 30 天)
Greetings,
I am trying to import a power mosfet model from Spice .SUBCKT definition of it (IAUC45N04S6N070_L1), into Simscape. The Level 1 (_L1) models in the attached file seem to have some dependencies on another circuit definition (A6_40_d1_var), but I am not completely sure how that works. When I use subcircuit2ssc function and build these circuits, I end up with a library containing two blocks. I went ahead and tried using a block with drain, source and gate terminals, but it is not working and throws error for some solver settings.
Kindly let me know how I can proceed with this and use the .SUBCKT model of the MOSFET in Simscape/ Simulink.

回答(1 个)

Joel Van Sickel
Joel Van Sickel 2023-7-28
Unfortunately, there is no guarentee that an imported pspice model will work in simscape. It sounds like you used the command correctly, but that you are struggling to get it to work in a simulation. The issue is not necessarily with subcircuit2ssc, but with wether or not the pspice model can work correctly in Simscape. There is the possiblity that setting up the solver with specific settings might be able to make the component work. Are you able to share your model?

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by