Restarting Transient simulation from a Saved CheckPoint

Dear all,
are you planning to implement in QSPICE a feature that permits to restart the simulation from a previously saved checkpoint?
Many thanks …

Hello you could do this by using the directive .IC in which you would write the saved previous checkpoint.

Hi astas, the “.ic” directive is very useful tool if you would like to shorten the simulation time by setting specific initial conditions of voltages and currents.
But, in case of complex schematics, it does not easily allow the user to stop and generate checkpoints at specified points in time of a simulation and then restart the simulation from a desired checkpoint.
In this way, any changes could be run from a specified range of interest instead of running the entire simulation again from the start.

This is a bump for this post. Is there a way to save all .ic conditions at an operating point and/or time in a simulation?

@ToposKy ,

Is there any other mixed signal simulation tool with this capabilities?

The issue for QSpice is that it has some really nice abilities to use user generated C-block and Verilog-block functions. With these functions, it would be nearly impossible to store internal states and variables as the initial conditions for a simulation that picks up from a later transient time point.

Len

Is there any other mixed signal simulation tool with this capabilities?

Well there is SIMPLIS but they don’t post their pricing online so you can only guess how un-obtainable it is for a small engineering firm : )

https://simplis.com/

I’ve used PSpice Checkpoint Restart Feature in the past… with very good results.
Thanks for your interest. It would be a significant & really appreciated improvement for a non-commercial sim tool like QSpice…

@ToposKy ,

My statement about “nearly impossible” should be downgraded to “more difficult”.

In theory, QSpice can support additional internal functions for C-blocks and Verilog-blocks to pass instance variable structure back to QSpice upon simulation completion or exit.

Doable but not easy.

Len

Plecs also supports restarting from a save point also including C code, very nice feature if you have heavy simulations or want to do study something after transient startup.
(since with the save you can continue in different directions without having to repeat the transient startup and go directly to study what you want)

Plecs solves i believe the issue with Cscripts by having the user defining what variables in the script should be saved which is then reinitialized from that. (And it is up to the writer of the script to make it work from the saved values)

Would been very nice to see such a feature in Qspice (and not just in paid simulators) to be able to not spend allot of simulation time in transient startup when you want to study steady state cases.

1 Like