LTspice is very compatible with PSpice netlists. When you do a FileOpen in LTspice, be sure you select Netlists as the file type. To make life easier, take the PSpice netlist and draw a schematic from it in LTspice. It's such a small circuit that you should be able to do this in 10 minutes.
Create Custom Simscape Blocks from a SPICE Netlist
Create a SPICE netlist named
rcsubcircuit.cir
that contains a simple RC subcircuit.Convert all SPICE subcircuits in
rcsubcircuit.cir
to equivalent Simscape files and place them in a package directory called mylibrary
.Check the comments at the beginning of the generated component file
rc1.ssc
in the mylibrary
package to verify that no manual conversion is required.Generate the Simscape library using
ssc_build
.Open the generated library
mylibrary_lib.slx
to access the RC component as a Simscape block.Make Manual Changes to a Converted Simscape Component File
Create a SPICE netlist named
temperatureresistor.cir
that contains a resistor with temperature dependence.Convert all SPICE subcircuits in
temperatureresistor.cir
to equivalent Simscape files and place them in a package directory called mylibrary
.Check the comments at the beginning of the generated component file
temperatureresistor.ssc
in the mylibrary
package to identify required manual conversions.The comments suggest that you must manually convert the temperature coefficients
TC
.In the
components
section of the component file, replace the resistor with a SPICE resistor, which models temperature dependence:Generate the Simscape library using
ssc_build
.Open the generated library
mylibrary_lib.slx
to access the resistor with temperature dependence component as a Simscape block.