Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Analog Devices "EngineerZone" website problems (was: Batch Issues)
开云体育Can a moderator forward your access problem
recount to ADI? If you agree, it had probably be better done by
Andy or Tony, rather than me, because I might not understand the
response (if any!). On 2024-06-02 11:07, eewiz via
groups.io wrote:
--
OOO - Own Opinions Only Best wishes John Woodgate, Rayleigh, Essex UK Keep trying |
Analog Devices "EngineerZone" website problems (was: Batch Issues)
Hello All,
?
Tony Casey wrote:
?
Is your aim to actually run in batch mode from the command line? If so, you might experiment whether output re-direction using the ">" of ">>"? generates any kind of output. The operator might not be exactly the same, I'm more used to using a BASH command line.
? Yes, LTspice in command line -b batch mode, called from a DOS batch file, using FOR to cycle through lets say for this example one hundred files named Batch_xxx.asc that contain the following type data customized for each run.
The project, which does not change from run to run, is .included in each Batch_xxx.asc file as a .net file.
?
.option noopiter GminSteps=0 pTranMax=1u
.options trtol=7 gshunt=1.8e-8 cshunt=1e-15 .options PlotWinSize=0 NoMarch .TEMP 60 .tran 0 108m 48m startup .param OCTrip=942m .param OCRpt=912m .param Right=0 .param ic0=0 .param ic1=0 .param ic15=0 .param Vsup=24 .param Wire=2 .param Buss=10 .param ILoad=4 .param Test=0 .param ISon=if(Test>0.7, 1, 0) .param SwSon=if(Test<0.3, 1, 0) .param SwRDon=if(Test<0.3 & Right>0.5, 1, 0) .inc CS_Breaker_Batch.net .inc CS_Breaker_Batch.meas ?
As you suggested, I tried output redirection on the -b command line. It produces a blank file.
?
?
If nothing does what you want, you could do worse than make a feature request.
?
I can't.
In LTspice, I click "Help-Get Support on EngineerZone" which opens "https://ez.analog.com/design-tools-and-calculators/ltspice/" in my browser Firefox.
It also fails in Chrome but somewhat differently.
When I click the "Ask a Question" button, the page goes blank and I see ez.analog.com followed by id.analog.com followed by ez.analog.com followed by id.analog.com for several minutes followed by some random page like:
?
How to Calculate the power factor in ADE7763Which still leaves me no way to ask a question or make a feature request.
?
If I instead click "Log In" on the "https://ez.analog.com/design-tools-and-calculators/ltspice/" page I get:
That Was UnexpectedWe apologize, but an unexpected issue prevented the page you requested from being available. We've logged the issue so the site administrator can resolve the problem. I try "Log In" quite often so I've seen that message many times but no site administrator has ever resolved the problem. ? I tried "Log In" on "https://ez.analog.com" from my another workstation which does bring up a login page. After logging in, the page blips and flips and blips until returning to "https://ez.analog.com" with no indication that I have been logged in. Clicking "Ask a Question" on that workstation did the same ez, id, ez, id dance to finally dump me into: Do I need calibration circuit for AD9744 to produce high-precision output?So, at this point, I will return to relearning Excel macro language.
I wrote Excel macro for a living some 15 years ago, so now I'm going to brush off some of my old macro work to see if I can relearn enough basic for applications to fully automate this -b batch process.
?
Thank you Tony.
?
All for now
?
Sent:?Saturday, June 01, 2024 at 12:54 PM
From:?"Tony Casey via groups.io" <tony@...> To:[email protected] Subject:?Re: [LTspice] Batch Issues On 01/06/2024 17:15, eewiz via groups.io wrote:
I don't know, but I'm not sure other (non-free) SPICEs provide much more. I may be biassed (of course I am), but I think LTspice's feature list is comparable to most non-free SPICEs, and the performance in most cases is better. Is your aim to actually run in batch mode from the command line? If so, you might experiment whether output re-direction using the ">" of ">>"? generates any kind of output. The operator might not be exactly the same, I'm more used to using a BASH command line. If nothing does what you want, you could do worse than make a feature request. The new team are receptive to ideas , but don't hold your breath. I've made several feature requests and a couple of them have been adopted. Others got an enthusiastic response without happening (yet). You don't ask, you don't get. BTW, I'll let you know if find a simple way to get .MEAS data. I've modified the symbols and models, as you have done, to make the pin names consistent, so the analysis behaves the same way in batch mode as it does from schematic, and all the .MEAS actually work. People say that the pin names don't matter, as long as the pin order is the same. Well, here's one scenario where that isn't true. -- Regards, Tony |
Re: table
开云体育Thank you John for your answer.I will try a .meas for peak amplitude response. Rudi Le 02.06.2024 à 10:53, John Woodgate a
écrit?:
|
Re: table
开云体育Using a .MEAS statement, but it depends on how
you define 'resonance', zero phase angle of the impedance, peak
of the frequency response or something else.? The syntax for
.MEAS is quite difficult to learn. On 2024-06-02 08:57, Rudolf Schaffer
wrote:
Hello, --
OOO - Own Opinions Only Best wishes John Woodgate, Rayleigh, Essex UK Keep trying |
Re: Batch Issues
开云体育On 01/06/2024 17:15, eewiz via groups.io wrote:I don't know, but I'm not sure other (non-free) SPICEs provide much more. I may be biassed (of course I am), but I think LTspice's feature list is comparable to most non-free SPICEs, and the performance in most cases is better. Is your aim to actually run in batch mode from the command line? If so, you might experiment whether output re-direction using the ">" of ">>"? generates any kind of output. The operator might not be exactly the same, I'm more used to using a BASH command line. If nothing does what you want, you could do worse than make a feature request. The new team are receptive to ideas , but don't hold your breath. I've made several feature requests and a couple of them have been adopted. Others got an enthusiastic response without happening (yet). You don't ask, you don't get. BTW, I'll let you know if find a simple way to get .MEAS data. I've modified the symbols and models, as you have done, to make the pin names consistent, so the analysis behaves the same way in batch mode as it does from schematic, and all the .MEAS actually work. People say that the pin names don't matter, as long as the pin order is the same. Well, here's one scenario where that isn't true. -- Regards, Tony |
Re: Multiple .step or param at the same time
开云体育On 01/06/2024 16:59, Tom Wiltshire wrote:While I have *very occasionally* had a need to use more than three variable params, I've *always* found that the graphs become hopelessly cluttered way before getting near to 65535 combinations!It depends on the circumstances. Sometimes the graph is unimportant if, for example, you're doing a Monte Carlo analysis. Then all you want is the exported data for post-processing. 10,000-20,000 steps is not an unreasonable step count for situations like that. -- Regards, Tony |
Re: Batch Issues
Thanks for the reply Tony.
?
I will be doing seven or eight dozen -b test runs.
It would be soooo much easier to concatenate a hundred .mout files into one file.
Then read the one concatenated file into Excel, and then columnize by number of measurements, which is the same for each run, while stripping the *title line at the beginning of each set of measurements for the name of the test run.
?
Now, because LTspice is incapable, I will have to resort to macro programming in Excel to wade through all of the useless info at the beginning of each log file
to locate the measurement data.
?
I know, I know, I expect too much from a free program.
?
All for now ?
Sent:?Saturday, June 01, 2024 at 10:36 AM
From:?"Tony Casey via groups.io" <tony@...> To:[email protected] Subject:?Re: [LTspice] Batch Issues ?
On 01/06/2024 14:01, eewiz via groups.io wrote:
When I've previously used batch mode, I never thought about .mout files. I just read .MEAS results from the logfiles. -- Regards, Tony |
Re: Multiple .step or param at the same time
开云体育While I have *very occasionally* had a need to use more than three variable params, I've *always* found that the graphs become hopelessly cluttered way before getting near to 65535 combinations!
|
Re: Multiple .step or param at the same time
开云体育On 01/06/2024 15:24, Rudolf Schaffer wrote:Thank you John for your answer.Rather than using multiple .STEPs, it is better to wrap the params within the same .STEP block, e.g.: .STEP param Var1 1 10 1 + param Var2 1 10 1 + param Var3 list 1 2 5 10 This way, you can always be sure which order the levels operate, whereas if you use multiple .STEPs, the top one is whichever you added to the schematic first, because the order of execution is determined by the order they appear in the schematic .asc file. You can use up 3 levels and a total of 65535 (2^16-1) combinations. -- Regards,
Tony |
Re: Batch Issues
开云体育On 01/06/2024 14:01, eewiz via
groups.io wrote:
When I've previously used batch mode, I never thought about .mout files. I just read .MEAS results from the logfiles. -- Regards, Tony |
Re: Multiple .step or param at the same time
开云体育Thank you John for your answer.I will look this archive. Best regards, Rudi Le 01.06.2024 à 14:33, John Woodgate a
écrit?:
|
Re: Multiple .step or param at the same time
开云体育Yes, but it's not in the Help. Search the list
archives for 'Stepping to the max.'
/g/LTspice/files/z_yahoo/Tut/Stepping%20to%20the%20max On 2024-06-01 13:24, Rudolf Schaffer
wrote:
Hello, --
OOO - Own Opinions Only Best wishes John Woodgate, Rayleigh, Essex UK Keep trying |
Batch Issues
Hello All,
?
I changed the models concerned to alpha notation in order to match the alpha-based symbols and all is good.
But now my issue is with obtaining a .mout file.
If I do "File-Execute .Measure Script" from the plot window I get a .mout file.
But, if I add ".inc Original.meas" to a schematic, the measurements can be seen to run but, no .mout file is created.
?
This defeats the purpose of having a -b batch mode.
Does anyone know how to force LTspice to create that .mout file?
?
All for now
?
Thank You
|
Re: YouSpice
toggle quoted message
Show quoted text
|
Re: YouSpice
toggle quoted message
Show quoted text
|
Re: YouSpice
开云体育That is an awfully simple circuit to need a pre-made model. ?There are some good articles by Taylor, himself, that provide all the gory details.Jim
|
Re: opamp with offset pins
I haven't read the book yet, I imagine that when it comes to the models there isn't much to change, more due to the theme and how it is dealt with. --
Carlos Delfino Em sex., 31 de mai. de 2024 às 23:21, Andy I via <AI.egrps+io=[email protected]> escreveu: Carlos wrote: |