Sorry about the confusion - at the moment of switchon capacitors appear as shorts and inductors as opens as there hasn't been any time for them to charge or flux to build up respectively, but for the .op STEADY STATE analysis, the simulation is trying to find what would be the solution after infinite time which is completely the opposite. I had a brain fart and posted the zero time equivalents instead of the steady state ones.
As LTspice is proprietary we don't really know *how* it iterates to find the operating point, apart from whatever description LT have given us, but several of the phases appear to be similar to Berkley SPICE 3's .op analysis. As Berkley SPICE is open source and was the first SPICE program, it can shed some light on the behaviour of its descendants and compatibles. See
SPICE algorithms and internals - Imperial College LondonThe .tran startup switch is a hack - it ramps the DC sources linearly in the first 20us to crudely approximate the switch-on behaviour of a real circuit with limited current supplies charging decoupled supply rails. However it makes the .op analysis useless for determining the actual DC operating point of the circuit as it then does the analysis with all DC sources at 0V or 0A.
LTspice can label nodes with their voltage (right click:View:Place .op data label), or you can right click a .op data label and change it from $ to an expression so it no longer needs to be attached to a node. Unfortunately all .op data label values are taken from the .op analysis, and there is no way to display .measure results directly on the schematic. That means if you disable the .op analysis with the .tran uic flag they display as
or if you smash it with the .tran startup flag, they display as 0V (or 0A etc.).
N.B. You cant place a new .op data label unless you've just run an analysis that include .op. (i.e. .tran without uic or an explicit .op)The order of preference is therefore:
- Plain .tran with no flags
- .tran startup
- .tran uic
[li].tran startup uic
[/li][/list]
Reasons for moving down this list may include undesirable transient behaviour at startup, excessive .op anaysis time, or failure of .op analysis causing .tran simulation failure. The uic flag forces .tran to start with all nodes at 0V (i.e. all capacitors discharged) and all inductors at zero current except where explicitly over-ridden by a .ic command. This can result in pathological behaviour unless your circuit has realistic parasitic resistances.
However the combo startup uic is particularly useful for analysing power supplies quickly, where you don't really care what happens in the first cycle, but do care what happens when the output cap reaches a certain voltage, so you can skip simulating 99% of the earlier cycles by setting appropriate .ic conditions for nodes to precharge caps to a little under the target voltage so it only has to simulate enough cycles to settle into normal operation then a few more to reach the point you want to take measurements at.