# Using Ideal and SPICE Models in the Same PLECS Simulation

**URL:** <https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916>\
**Category:** PLECS\
**Created:** [March 11, 2026, 9:55am UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916 "2026-03-11T09:55:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yasser](https://avatars.discourse-cdn.com/v4/letter/y/5f9b8f/32.png) [@Yasser](https://forum.plexim.com/u/Yasser)\
**Post date:** [March 11, 2026, 9:55am UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/1 "2026-03-11T09:55:15Z")

</div>

Hello,

I am currently working with **PLECS SPICE simulations** and have a question regarding model usage within the same simulation run.

Is it possible to use both an **ideal model** and a **SPICE model** in a single simulation run? For example, my goal is to simulate the **steady-state behavior using an ideal model** and then analyze the **transient behavior using a SPICE model**.

I am interested in this approach to **reduce overall simulation time while still capturing accurate transient effects**.

Has anyone implemented something similar, or is there a recommended method in PLECS to achieve this?

Best regards,  
Yasser

---

<div class="post-metadata">

**Author:** ![Kris\_Eberle](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/kris_eberle/32/6_2.png) [@Kris\_Eberle](https://forum.plexim.com/u/Kris_Eberle)\
**Post date:** [March 12, 2026, 4:44pm UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/2 "2026-03-12T16:44:32Z")

</div>

Hi, I just reached out to you directly by email to provide feedback on your question.

---

<div class="post-metadata">

**Author:** ![Ernesto\_Incerti](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Ernesto\_Incerti](https://forum.plexim.com/u/Ernesto_Incerti)\
**Post date:** [April 30, 2026, 12:23pm UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/3 "2026-04-30T12:23:19Z")

</div>

i’m interested too in the answer to the topic

---

<div class="post-metadata">

**Author:** ![Yasser](https://avatars.discourse-cdn.com/v4/letter/y/5f9b8f/32.png) [@Yasser](https://forum.plexim.com/u/Yasser)\
**Post date:** [April 30, 2026, 1:19pm UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/4 "2026-04-30T13:19:05Z")

</div>

Hi Ernesto, thanks to Chris Eberle, I got feedback from him, so in general, I can say that yes, but not directly, for example, you need to define two models, ideal and spice, in your simulation and using other tools like scripts, you can switch between these models during the run for specific times.  
Best regards,  
Yasser

---

<div class="post-metadata">

**Author:** ![RetoChristen](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/retochristen/32/1225_2.png) [@RetoChristen](https://forum.plexim.com/u/RetoChristen)\
**Post date:** [April 30, 2026, 1:53pm UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/5 "2026-04-30T13:53:04Z")

</div>

Please find attached a model that does what @Yasser explained above.  
[ProofOfConceptSwitchPlecsToSpice.plecs](https://forum.plexim.com/uploads/short-url/mllK7csOiOdHIhSyDqTtwtUeVa.plecs) (58.8 KB)

---

<div class="post-metadata">

**Author:** ![Ernesto\_Incerti](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Ernesto\_Incerti](https://forum.plexim.com/u/Ernesto_Incerti)\
**Post date:** [May 6, 2026, 9:42am UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/6 "2026-05-06T09:42:25Z")

</div>

it would be interesting if it would be the possibility to switch from an average model to a Spice model for a small time, to have a full view and a fast simulation, by changing the simulation parameters during the simulation when switching from a model to another, and enabling the right model only when switched to itself. see an ezample of what i mean

[plecs\_pspice\_test.plecs](https://forum.plexim.com/uploads/short-url/8ycZ8rDhK1aVvPRAhTyUZAbj5I5.plecs) (79.7 KB)

---

<div class="post-metadata">

**Author:** ![RetoChristen](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/retochristen/32/1225_2.png) [@RetoChristen](https://forum.plexim.com/u/RetoChristen)\
**Post date:** [May 7, 2026, 6:19am UTC](https://forum.plexim.com/t/using-ideal-and-spice-models-in-the-same-plecs-simulation/2916/7 "2026-05-07T06:19:04Z")

</div>

> [@Combining average and transient/Spice simulation in a same plant](https://forum.plexim.com/t/combining-average-and-transient-spice-simulation-in-a-same-plant/3048/2):
>
> I understand your motivation for first using an averaged model and then switching to SPICE. However, even switching from an averaged model to a switched model is not straightforward, since the initial states are not the same. Therefore, the switched model cannot directly inherit an already simulated state from the averaged model. I would also like to mention that averaged models are mainly intended for real-time simulations, as in PLECS, and possibly for long mission profiles. For this reason, …
