# SPICE Netlist in PLECS

**URL:** <https://forum.plexim.com/t/spice-netlist-in-plecs/3173>\
**Category:** PLECS\
**Tags:** spice\
**Created:** [June 18, 2026, 8:46am UTC](https://forum.plexim.com/t/spice-netlist-in-plecs/3173 "2026-06-18T08:46:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsaif1](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@wsaif1](https://forum.plexim.com/u/wsaif1)\
**Post date:** [June 18, 2026, 8:46am UTC](https://forum.plexim.com/t/spice-netlist-in-plecs/3173/1 "2026-06-18T08:46:37Z")

</div>

Can a PLECS PMSM model be directly coupled, in one circuit, to SPICE netlist device models — and if not, what’s the supported interfacing approach?

please see model attached that i have been trying to get running.

[HyS\_SiCFET\_SiCTIGBT\_V9.7.plecs](https://forum.plexim.com/uploads/short-url/45waaU4JfW6GlZG9dEgMpyqR7tb.plecs) (1.3 MB)

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [June 18, 2026, 2:07pm UTC](https://forum.plexim.com/t/spice-netlist-in-plecs/3173/3 "2026-06-18T14:07:35Z")

</div>

Hi wsaif1,

Thanks for bringing this to our attention.

It appears that there is an issue caused by the interaction between the variable inductor used in the VBR implementation and the SPICE solver. This has been identified as a bug and will be addressed in a future PLECS release.

As a workaround, in PLECS 5.0.4 you can still simulate your SPICE components together with the PMSM by using the **Rotor Reference Frame (RRF)** machine model instead of the VBR implementation.

Let us know if this workaround satisfies your current requirements.

---

<div class="post-metadata">

**Author:** ![wsaif1](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@wsaif1](https://forum.plexim.com/u/wsaif1)\
**Post date:** [June 22, 2026, 4:12pm UTC](https://forum.plexim.com/t/spice-netlist-in-plecs/3173/4 "2026-06-22T16:12:04Z")

</div>

Hi Munadir,

I seem to now be able to run it both with the VBR or rotor reference frame, by having a voltage sensing and current imposing step in between.

however, the currents dont seem to be stabilising at 0 (the test i am trying to run).

[HyS\_SiCFET\_SiCTIGBT\_V9.8.plecs](https://forum.plexim.com/uploads/short-url/krzqH9l5gmrOsqlzEk0tB1mxgmK.plecs) (1.4 MB)

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [June 24, 2026, 1:20pm UTC](https://forum.plexim.com/t/spice-netlist-in-plecs/3173/5 "2026-06-24T13:20:56Z")

</div>

Hi wsaif1,

I believe there are a number of issues in your model that should be addressed before worrying about the VBR versus RRF machine model implementations.

The model is quite complicated to follow, which makes debugging challenging. Here are a few quality-of-life improvements I would recommend:

- **Use Model References**  
This is a very useful strategy when you have repeated devices or repeated configurations of devices. It allows you to modify a single component and automatically propagate those changes to all referenced instances.

- **Reduce reliance on Electrical Labels and Global Signal Labels**  
While convenient, extensive use of labels can make a circuit difficult to follow. Consider updating your MOSFET and IGBT subsystems to expose:

One of the biggest advantages of SPICE support in PLECS is the ability to switch between a pure PLECS simulation and a SPICE simulation if the model is structured appropriately.

If you look at the SPICE demo models included with PLECS, you’ll notice that many devices have two implementations:

- A native PLECS component
- A SPICE-based component

The intended workflow is typically:

1. Use the native PLECS components for the majority of development.

2. Once the system is functioning correctly, switch to the SPICE implementation to investigate device-level effects such as:

In my opinion, this workflow allows you to take full advantage of PLECS without sacrificing SPICE-level fidelity where it is actually needed.

Another strategy I highly recommend when working with SPICE models is to validate each component in isolation before integrating it into a larger system.

For example, I would follow a progression similar to this:

1. **Validate the MOSFET model**

2. **Validate the IGBT model**

3. **Validate the MOSFET + IGBT combination**

4. **Validate a single inverter leg**

5. **Validate the inverter leg with an inductive load**

6. **Validate a full three-phase inverter**

Only after all of these steps are working would I move on to closed-loop machine control with SPICE models. This approach gives you the highest probability of success when developing complex SPICE-based simulations.

As for the current model, I believe there are several issues:

- **The controller does not appear to be stable.**

- **The IGBT branch appears to be conducting approximately 25 kA regardless of gate-drive status.**

- **A SPICE ground reference appears to be missing.**

Hopefully this helps.
