微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Long time simulation

Long time simulation

时间:03-29 整理:3721RD 点击:
Hello,
I am running simulation at pspice for 400ms and it takes forever.
my circuit is big and my frequency is 200khz.
how can i reduce the simulation time so it takes couple of minutes instead of hours?

Thank you.

You could add initial bias point so that for each new simulation it would not require time to charge capacitors for example. You could also replace analog parts of the circuit which is not the focus of the current analysis.

I can start the simulation in any time i want by saving bias point at this time?

There are some guidelines but each one is applicable to some type of circuit.

General rule is keep a node at a known voltage at startup. i.e, initial condition.

If yours is a switching circuit simulation then you can replace the switching devices with equivalent simple models.

Try reducing RELTOL= 0.005 as against default of 0.001. you can also tweak ABSTOL to 1n instead of 1p. This will loosen the tolerance and thus speed up simulation. however gain in terms of simulation time would be circuit specific. It also seems that your circuit has two very different time constant - a slow system may be 50 or 60Hz mains inputs supply and SMPS at 200KHz. Does it make sense to decouple these two for initial simulation thus faster simulation. At final stages connects these two system.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top