Re: .MEAS Failure
I thought the general rule was to avoid testing with equalities.? That voltage will never be 1.00000000000000 exactly. But maybe I am confused or remember wrongly. Andy
By
Andy I
·
#158698
·
|
Re: .MEAS Failure
This .MEAS will fail because LTspice doesn't test for inequalities. It test for equalities. You are looking for a single instance in time - the answer cannot be an interval. Assuming you can actually
By
Tony Casey
·
#158697
·
|
Re: Initial conditions for inductor current in .TRAN UIC analysis - follow up
That is actually normal for SPICE syntax.? Specifying UIC tells SPICE to definitely use that IC setting.? No paradox. There may be some difference in the details, between how different SPICE
By
Andy I
·
#158696
·
|
Re: Initial conditions for inductor current in .TRAN UIC analysis - follow up
No, IC=10 at inductor component level does count as inductor's current initial condition for .TRAN UIC analysis. Indeed the v1 voltage spike at 2nd datapoint (not at the first) changes according that
By
Carlo
·
#158695
·
|
Re: Initial conditions for inductor current in .TRAN UIC analysis - follow up
Ah ok, got it.
By
Carlo
·
#158694
·
|
Re: Initial conditions for inductor current in .TRAN UIC analysis - follow up
On the face of it, setting IC of L1 = 10, but also specifying UIC is paradoxical. I suppose IC = 10 doesn't count as an 'initial condition' despite the name. Evidence of this is the huge voltage spike
By
John Woodgate
·
#158693
·
|
intuition behind a solution to crashing time domain simulation
#Time-step-too-small
Hello ,I have the following file which is presenting an error shown below When I added the following spice command it ran no problem. Is there a manual an intuition regarding why this spice command
By
john23
·
#158692
·
|
Re: Initial conditions for inductor current in .TRAN UIC analysis - follow up
Note that you neglected to include the Title line or command.? The first line of any SPICE Netlist that is suitable for running, is always ignored. You can copy-and-paste this netlist into a
By
Andy I
·
#158691
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
It just does!? The 5 listed pins connect to the MyAD797.? The 6th pin does not; it remains internal. This is how subcircuits work.? The .SUBCKT command defines the name of the subcircuit and its
By
Andy I
·
#158690
·
|
Re: 12AU7 tube heater model
Gotcha ! Eventually I found the issue: the symbol/operator for the square is **** and not *^*. Therefore I used the following behavioral current source B1 for the single 6.3V/150mA heater: B1 r 0 I=
By
Carlo
·
#158688
·
|
Re: .MEAS Failure
Now that IS incorrect syntax.? Should be: You can't subtract nodenames themselves.? You can only subtract their voltages or currents. FYI, I would not think the original syntax was the problem.?
By
Andy I
·
#158687
·
|
Initial conditions for inductor current in .TRAN UIC analysis - follow up
After a few years, I came to ngspice and did some test to look better at strange behavior seen on LTspice .TRAN analysis for a simple circuit ( /g/LTspice/message/127801 ) involving a
By
Carlo
·
#158685
·
|
Re: 12AU7 tube heater model
Well, I've given you the formula, but I'm not sure of how to write the command in LTspice syntax. I hope an expert will help. It's true, I think,? that LTspice needs to convert the resistor to a B
By
John Woodgate
·
#158684
·
|
Re: using LTSPICE symbols for representation of spice netlist of OPAMP
Hello Andy,you define a subcircuit called MyAD797 with 5 pins. inside the SUBCKT command you define X. If I understand correctly X is an instance of AD797 subckt. X has 6 pins How does X connects to
By
john23
·
#158683
·
|
Re: .MEAS Failure
No, that is not what I said ... .MEAS TRAN TooLow1 find V(XSW11:X1:Qc ) - V( XSW11:X1:Qe) when V(XSW11:X1:Qc ) - V( XSW11:X1:Qe) < 1 (may need extra parentheses). A final one: Do you have a .SAVE
By
mhx@...
·
#158682
·
|
Re: .MEAS Failure
Thanks but that's not the answer. .MEAS TRAN TooLow1 find V(XSW11:X1:Qc-XSW11:X1:Qe) when V(XSW11:X1:Qc-XSW11:X1:Qe)<1 Measurement "toolow1" FAIL'ed Total elapsed time: 679.255 seconds. XSW11 is a
By
eewiz
·
#158681
·
|
Re: 12AU7 tube heater model
Sorry, maybe I didn't get your point before: how can I actually define a temperature-dependent resistor ?
By
Carlo
·
#158680
·
|
Re: 12AU7 tube heater model
I think you have made the heater a current generator, rather than a temperature-dependent resistor as I posted, -
By
John Woodgate
·
#158679
·
|
Re: 12AU7 tube heater model
Thanks to John W. advice, starting from Figure 35.14 into Radio Designer's Handbook 4th ed, I came to the following quadratic interpolation for the single heater in the range 3 - 8V : I = -0.0009*V^2
By
Carlo
·
#158678
·
|
Re: .MEAS Failure
Did you already try ` V(XSW11:X1:Qc)-V(XSW11:X1:Qe)` instead of `V(XSW11:X1:Qc,XSW11:X1:Qe)` ? -marcel
By
mhx@...
·
#158677
·
|