Author Topic: Spice to Simulink?  (Read 3241 times)

0 Members and 1 Guest are viewing this topic.

Offline AgrumTopic starter

  • Contributor
  • Posts: 16
  • Country: it
Spice to Simulink?
« on: May 29, 2020, 04:18:39 pm »
Hello,

I hope that I'm in the right section.
I would like to know if there is a simple way to transform a LTspice model into Simulink.
I'm very new to Simulink.

Thanks
 

Offline Mj12

  • Newbie
  • Posts: 9
  • Country: fi
Re: Spice to Simulink?
« Reply #1 on: May 29, 2020, 08:56:13 pm »
There seems to be way to convert SPICE to simulink
https://se.mathworks.com/help/physmod/sps/ug/converting-a-spice-netlist-to-simscape-blocks.html
But if you are talking ltspice macromodels (IC:s and stuff) you are likely out of luck

I would recommend to look into component datasheet and device block diagram and recreate relevant parts in simulink. Not "simple" but not exceedingly hard either
 

Offline jbb

  • Super Contributor
  • ***
  • Posts: 1265
  • Country: nz
Re: Spice to Simulink?
« Reply #2 on: May 30, 2020, 01:32:09 am »
It depends a lot on what you're trying to do.  For power SimPowerSystems or PLECS are quite good.

For signal analysis, I'm not really sure.  The 'typical' Simulink approach would be to model the parts (likely in reduced detail) with Simulink blocks.
 

Offline ahbushnell

  • Frequent Contributor
  • **
  • Posts: 751
  • Country: us
Re: Spice to Simulink?
« Reply #3 on: May 30, 2020, 11:58:44 pm »
It depends a lot on what you're trying to do.  For power SimPowerSystems or PLECS are quite good.

For signal analysis, I'm not really sure.  The 'typical' Simulink approach would be to model the parts (likely in reduced detail) with Simulink blocks.
I use PLECS all the time.  They have models for power electronic components.  You can even include C programing in blocks.  Also does thermal and magnetic simulation as components. 

Andy
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf