¿ªÔÆÌåÓý

Re: .savebias command commented out


g.moberg
 

Hello Again,

Just to finish this topic out, today I generated the "Skip" file successfully. Since this is an SMPS circuit whose inductor currents are not zero, I edited the "Skip" file to change its .nodeset command to a .ic command, and set the initial conditions of the 2 inductors to their approximate values at the time the .savebias command executed. This changes the inductor characteristics for initial convergence from short circuits to ideal current sources with the specified initial conditions. This must be done to prevent the circuit from converging to a highly erroneous state with 0V across the inductors.

The simulation picked up very close to where I expected it to, and settled quickly so I can do the load transient analysis without waiting minutes to get to a settled condition.

Thanks again for those who looked at this.

Greg Moberg

--- In LTspice@..., "g.moberg" <gregory.moberg@...> wrote:



Hello Rick and All,

Well, it seems to be operating properly now, in that the "Skip" file shows up, though the .savebias command is still commented out in the log file. I spent several hours yesterday trying to make this work without success.

Thanks for looking at this - y'all must have scared it.

Greg


--- In LTspice@..., "Rick" <sawreyrw@> wrote:



--- In LTspice@..., "g.moberg" <gregory.moberg@> wrote:

Hello All,
I have been trying to use the .savebias command to grab a starting point
for a rather lengthy transient simulation of a Linear Tech SMPS circuit.
I believe I have the correct syntax:
.savebias Skip internal time=19.999ms
to write the data to file "Skip", including internal nodes, at time
19.999ms.
However, the file is not created, and upon examination, the SPICE Error
Log shows that the .savebias command is present but is commented out. It
is highlighted in red in the word file of the error log. I have tried
numerous hacking such as deleting "internal", changing the time,
shortening the filename, but to no avail. I have been able to use
.savebias and .loadbias successfully in other circuits.
I have uploaded the required files to the "Temp" folder. Unzip the
archive and run the schematic file. Stop the simulation immediately (it
takes a very long time), and examine the SPICE Error Log near the end of
the file, and you will see the problem.
I have looked in the "files" section of the Yahoo site, and read the
"Help" section several times without discerning what the problem is.
My only thought is that it might have something to do with the encrypted
LT3958 subcircuit.
I would appreciate it if anyone could shed some light on this.
Thanks a lot.
Incidentally, if you are composing a message, don't click to another
part of the yahoo site, or you will lose your message.
Greg Moberg
Greg,

I couldn't dupicate your problem. I did change the .savebias time to 1msec and added internal to it, and it worked fie. Note that the name of the file will be Skip with no extension.

Rick

Join [email protected] to automatically receive all group messages.