Using Ideal and SPICE Models in the Same PLECS Simulation

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

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

1 Like

i’m interested too in the answer to the topic

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

Please find attached a model that does what @Yasser explained above.
ProofOfConceptSwitchPlecsToSpice.plecs (58.8 KB)

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 (79.7 KB)