 |
|
| Author |
Message |
darko
Joined: 18 Aug 2009
Posts: 14
|
Posted:
Thu Aug 20, 2009 3:19 pm |
  |
It would be nice if I could specify a transient simulation than ran until a certain condition was achieved rather than for a certain time. For example, lets say I want to simulate one period of a soft switched converter. I may not know exactly how long that period will be, but I do know that the next period will start when the switch voltage is zero. I can run batched simulations more efficiently if I only simulate as long as I have to.
I also second the need for a SPICE to PWL model converter (mostly for power semiconductors).
Overall I compliment you on a well designed simulator. It was about time that SOMEONE created a PWL simulator that can be controlled from other languages (PYTHON, MATLAB, etc). I will be at the ECCE so if I have time I'll stop by. |
|
|
  |
 |
nl5
Site Admin

Joined: 15 Jan 2009
Posts: 25
|
Posted:
Fri Aug 21, 2009 7:11 am |
  |
Thank you for suggestion, I'll put "Run until..." option into my "to do " list. However, you can do something similar with the script, checking for condition at the end of the screen. Here is example from the Manual:
Wait for condition. Transient is running until peak-to-peak value of the trace is less than specified threshold. ...
threshold=1e-6;
tran;
while( v(c1).pp>threshold ) cont;
Of course, it's not exactly it, but may work for now.
Alexei. |
|
|
   |
 |
nl5
Site Admin

Joined: 15 Jan 2009
Posts: 25
|
Posted:
Thu Nov 05, 2009 4:07 pm |
  |
| nl5 wrote: |
| I'll put "Run until..." option into my "to do " list. |
"Run until..." is available in 1.33 in Transient/Settings window. |
|
|
   |
 |
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |