Date

Re: inductance with a permeability in dependency of frequency

 

--- In LTspice@..., "Herbert" <afu@...> wrote:

Hi there,

dows anybody have an idea for modelling a inductance with a permeability in dependency of frequency ??

I could not find anything in the messages ?!

Herbert
Herbert,

I'd like to help you, but I don't understand your question. What do you want to know?

Rick


Re: arbitrary solar cell model

 

--- In LTspice@..., "hamed" <l0st_l0rd@...> wrote:

Dear friends

in the file below you can find an arbitrary solar cell.
When I put two cells in parallel the answer is correct and when I put them in
series I see a distortion.
I think the problem is related to the diode behavioral model.

I will be thankful if any of you could help me.



sincerely,
Hamed
Hamed,

No one is interested in a .cir file. If you want help, convert it to an .asc file and post that to the Files>Temp folder of this group.

Rick


Re: OT/Left Field...

 

Nick:

I did not mean to be meen, I just presumed there had been no search done.
I did also notice NGspice, and it does sound like a good option,
especially in conection with google drive. It would allow you to design,
simulate, and store results on line hopefully with minimal processing
requirements.

Tim


On Mon, Jul 8, 2013 at 4:51 PM, Nick <nick@...> wrote:

**


--- In LTspice@..., Tim Jameson <tim@...> wrote:
I have found that Google is my friend. Anytime I start looking for
something, I start at google.com So, with that in mind, I went to
google.com,
and found Droid Tesla[1], another great place to look is wikipedia[2],
the
page on spice lists several implementations with source code[3].
Gosh! I never thought of using Google or Wikipedia. Brilliant idea :)

Sorry for the irony - I write Android apps and am a regular Wiki editor,
so of course, I had done my research.

Its personal recommendations that interest me, from people who understand
SPICE and the technology that surrounds it...



[Non-text portions of this message have been removed]


Possible to snap to lowest or highest point of plot?

 

Hi - I have been characterizing a couple circuits and have been manually trying to find the highest and lowest voltages and currents of a circuit I'm simulation. I'd love it if there was some sort of "snap" feature that would snap to the highest or lowest point. Or, similarly, if I could just get the highest/lowest points of waveforms to be displayed on the schematic itself.

Does anything like this exist?

Thanks!!


Re: OT/Left Field...

 

--- In LTspice@..., Tim Jameson <tim@...> wrote:
I have found that Google is my friend. Anytime I start looking for
something, I start at google.com So, with that in mind, I went to google.com,
and found Droid Tesla[1], another great place to look is wikipedia[2], the
page on spice lists several implementations with source code[3].
Gosh! I never thought of using Google or Wikipedia. Brilliant idea :)

Sorry for the irony - I write Android apps and am a regular Wiki editor, so of course, I had done my research.

Its personal recommendations that interest me, from people who understand SPICE and the technology that surrounds it...


Re: Feature Request: Option to preserve/reload plot settings after simulation run

 

And that is what I said I did. I did a cc to this thread to document that there is continuing interest in this thread and feature.

--- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:

Hello Al,

You have to send your wish to the email address given in the
Help-About of the LTspice program. Mike normally doesn't
read the messages here.

Best regards,
Helmut


--- In LTspice@..., "Al" <alhastings314@> wrote:

Per John's suggestion, the following email was sent to Mike.

Dear Mr. Engelhard,

LTspice is fantastic! I evaluated many alternatives before I selected it. While the price was definitely a factor, the ease of use was the major issue. The user interface is intuitive, simple yet powerful. Well done.

A feature that would be extremely helpful is the "Option to preserve/reload plot settings after simulation run." The Yahoo! LTspice user group has a thread on this subject. They have explained it better than I can. A work around has been proposed in the thread (assigning reload plot to the space bar) helps but its no substitute for having the feature integrated.

I have LTspice IV, Ver 4.19i, running on Windows 7 Home Premium.

Keep up the good work.

Al

cc: Yahoo! Group LTspice via thread "Feature Request: Option to preserve/reload plot settings after simulation run."





--- In LTspice@..., John Woodgate <jmw@> wrote:

In message <20120106140329.7e86cf4f@svelte>, dated Fri, 6 Jan 2012,
Colin D Bennett <colin@> writes:

As the designer of a product, or even a long-time user, you get
accustomed to the interface, and it can take a fresh perspective to see
where usability improvements can be made.
Well, this is no new proposal, and I'm sure Mike is well aware of the
'want'. But it won't come by discussing it here.

Proposals for changes or additions to the program must be sent by email
to Mike at the address given in the Help -> 'About' panel.
--
OOO - Own Opinions Only. Try www.jmwa.demon.co.uk and www.isce.org.uk
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
Some people who are peeling the finch of the financial crisis are thinking of
biting a rook.


Re: OT/Left Field...

 

Ipad fans may be interested in Spicy. See:
<>

Howard

On 7/8/2013 11:55 AM, Nick wrote:

I am getting fed up with lugging a laptop around when I also use a
tablet....

I would love an Android version of LTspice (which I know is highly
unlikely), or failing that, a good SPICE for tablet use...

Thanks

Nick

PS. Anyone know of any decent Android PCB layout/routing packages...?


Re: OT/Left Field...

 

NGSpice Online looks like an interesting approach. See:
<>
The site provides the following sales pitch.

This site allows you to run ngspice simulations from a web browser environment. Whether you are using a Windows, Linux, or Mac computer, a smart phone, or a tablet, you always should be able to run a SPICE simulation

Howard

On 7/8/2013 12:28 PM, Tim Jameson wrote:
Nick:

I have found that Google is my friend. Anytime I start looking for
something, I start at google.com So, with that in mind, I went to google.com,
and found Droid Tesla[1], another great place to look is wikipedia[2], the
page on spice lists several implementations with source code[3].

These links were discovered in under 2 minutes. Please find the links as a
great place to start.


Tim

[1]
[2]
[3]




On Mon, Jul 8, 2013 at 11:55 AM, Nick <nick@...> wrote:

**


I am getting fed up with lugging a laptop around when I also use a
tablet....

I would love an Android version of LTspice (which I know is highly
unlikely), or failing that, a good SPICE for tablet use...

Thanks

Nick

PS. Anyone know of any decent Android PCB layout/routing packages...?




------------------------------------

Yahoo! Groups Links




Re: OT/Left Field...

 

Nick:

I have found that Google is my friend. Anytime I start looking for
something, I start at google.com So, with that in mind, I went to google.com,
and found Droid Tesla[1], another great place to look is wikipedia[2], the
page on spice lists several implementations with source code[3].

These links were discovered in under 2 minutes. Please find the links as a
great place to start.


Tim

[1]
[2]
[3]

On Mon, Jul 8, 2013 at 11:55 AM, Nick <nick@...> wrote:

**


I am getting fed up with lugging a laptop around when I also use a
tablet....

I would love an Android version of LTspice (which I know is highly
unlikely), or failing that, a good SPICE for tablet use...

Thanks

Nick

PS. Anyone know of any decent Android PCB layout/routing packages...?



Re: OT/Left Field...

 

Hi Nick


On 07/08/2013 12:55 PM, Nick wrote:
I am getting fed up with lugging a laptop around when I also use a
tablet....
I would love an Android version of LTspice (which I know is highly
unlikely), or failing that, a good SPICE for tablet use...

Yes, meetoo!!!

As for an android "spice",
theres Everycircuit:



It works very well, though
its not a traditional compatible spice.
The gui is pretty slick.

Other trade offs are that
it has limited ckt space and
its 10$ for the enhanced version.

Its quite usable for smaller things.
I do like it.

Al D.


--


AC2CL

I do not think there is any thrill that
can go through the human heart like that felt by the inventor as
he sees some creation of the brain unfolding to success...
Such emotions make a man forget food, sleep, friends, love, everything.

- Nikola Tesla


OT/Left Field...

 

I am getting fed up with lugging a laptop around when I also use a tablet....

I would love an Android version of LTspice (which I know is highly unlikely), or failing that, a good SPICE for tablet use...

Thanks

Nick

PS. Anyone know of any decent Android PCB layout/routing packages...?


Re: Feature Request: Option to preserve/reload plot settings after simulation run

 

Hello Al,

You have to send your wish to the email address given in the
Help-About of the LTspice program. Mike normally doesn't
read the messages here.

Best regards,
Helmut

--- In LTspice@..., "Al" <alhastings314@...> wrote:

Per John's suggestion, the following email was sent to Mike.

Dear Mr. Engelhard,

LTspice is fantastic! I evaluated many alternatives before I selected it. While the price was definitely a factor, the ease of use was the major issue. The user interface is intuitive, simple yet powerful. Well done.

A feature that would be extremely helpful is the "Option to preserve/reload plot settings after simulation run." The Yahoo! LTspice user group has a thread on this subject. They have explained it better than I can. A work around has been proposed in the thread (assigning reload plot to the space bar) helps but its no substitute for having the feature integrated.

I have LTspice IV, Ver 4.19i, running on Windows 7 Home Premium.

Keep up the good work.

Al

cc: Yahoo! Group LTspice via thread "Feature Request: Option to preserve/reload plot settings after simulation run."





--- In LTspice@..., John Woodgate <jmw@> wrote:

In message <20120106140329.7e86cf4f@svelte>, dated Fri, 6 Jan 2012,
Colin D Bennett <colin@> writes:

As the designer of a product, or even a long-time user, you get
accustomed to the interface, and it can take a fresh perspective to see
where usability improvements can be made.
Well, this is no new proposal, and I'm sure Mike is well aware of the
'want'. But it won't come by discussing it here.

Proposals for changes or additions to the program must be sent by email
to Mike at the address given in the Help -> 'About' panel.
--
OOO - Own Opinions Only. Try www.jmwa.demon.co.uk and www.isce.org.uk
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
Some people who are peeling the finch of the financial crisis are thinking of
biting a rook.


arbitrary solar cell model

 

Dear friends

in the file below you can find an arbitrary solar cell.
When I put two cells in parallel the answer is correct and when I put them in
series I see a distortion.
I think the problem is related to the diode behavioral model.

I will be thankful if any of you could help me.



sincerely,
Hamed


Re: Feature Request: Option to preserve/reload plot settings after simulation run

 

Per John's suggestion, the following email was sent to Mike.

Dear Mr. Engelhard,

LTspice is fantastic! I evaluated many alternatives before I selected it. While the price was definitely a factor, the ease of use was the major issue. The user interface is intuitive, simple yet powerful. Well done.

A feature that would be extremely helpful is the "Option to preserve/reload plot settings after simulation run." The Yahoo! LTspice user group has a thread on this subject. They have explained it better than I can. A work around has been proposed in the thread (assigning reload plot to the space bar) helps but its no substitute for having the feature integrated.

I have LTspice IV, Ver 4.19i, running on Windows 7 Home Premium.

Keep up the good work.

Al

cc: Yahoo! Group LTspice via thread "Feature Request: Option to preserve/reload plot settings after simulation run."

--- In LTspice@..., John Woodgate <jmw@...> wrote:

In message <20120106140329.7e86cf4f@svelte>, dated Fri, 6 Jan 2012,
Colin D Bennett <colin@...> writes:

As the designer of a product, or even a long-time user, you get
accustomed to the interface, and it can take a fresh perspective to see
where usability improvements can be made.
Well, this is no new proposal, and I'm sure Mike is well aware of the
'want'. But it won't come by discussing it here.

Proposals for changes or additions to the program must be sent by email
to Mike at the address given in the Help -> 'About' panel.
--
OOO - Own Opinions Only. Try www.jmwa.demon.co.uk and www.isce.org.uk
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
Some people who are peeling the finch of the financial crisis are thinking of
biting a rook.


Re: "Edit Plot Defs File" not working.

 

--- In LTspice@..., "Al" <alhastings314@...> wrote:

I have been successfully using "Save Plot Settings" and "Reload
Plot Settings" on this version. But I'd really like to change
the default settings if there is a means of getting the feature
to work.
You are forehead-slappingly confused. Read the Help topic about
the Plot Defs file. It is quite different from a Plot Settings
file (completely different formats and purposes). It also has
nothing to do with the default settings for the Waveform Viewer.

By the way, in Windows 7 there is no need to be an Admin to be
able to edit and save the PlotDefs file. Just use your file and
folder explorer (part of Windows) to locate the file and then
right mouse button click on it and change its properties to allow
access to all users.


Re: "Edit Plot Defs File" not working.

John Woodgate
 

In message <krctfq+i7jg@...>, dated Sun, 7 Jul 2013, Al <alhastings314@...> writes:

but now LTspice is not using the plot.defs file I created.
You have to re-load it, as you describe in the last line of your message. Plot settings menu => Open plot settings file. A good idea is to assign the spacebar as the shortcut key for this operation.

Autoranging cannot be disabled for the first display of the plot window.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
Why is the stapler always empty just when you want it?

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: "Edit Plot Defs File" not working.

 

Hello Al,

Have you really edited the plot_defs file with LTspice?

Is the plot-function correct? What is the error message?

Best regards,
Helmut

--- In LTspice@..., "Al" <alhastings314@...> wrote:

Helmut,

Edit Plot Defs File works when I open LTspice as Administrator in Windows 7. Thanks... but now LTspice is not using the plot.defs file I created.

I edit the file using the Edit Plot Defs File. After making changes to the file, I save, close and reopen the file. The changes are all there but LTspice is not using the file when I Run a simulation. It appears to be using the Autoranging EVERY TIME I Run a simulation, even though I have unchecked Plot Settings&#92;Autorange.

I have looked through the menus to see some master toggle for Autoranging feature but can't find anything.

I verified that the code in the file actually works copying the file to another name. It runs fine when I use Plot Settings/Open Plot Settings File and the selecting the file.

FYI, the code looks like this:
[Transient Analysis]
{
Npanes: 1
{
traces: 1 {268959746,0,"V(n001)"}
X: ('n',1,0,5e-010,6e-009)
Y[0]: (' ',1,-4,0.2,4)
Y[1]: ('_',0,1e+308,0,-1e+308)
Volts: (' ',0,0,1,-4,0.2,4)
Log: 0 0 0
GridStyle: 1
}
}





Thank you for your expertise!
Al


--- In LTspice@..., "Helmut" <helmutsennewald@> wrote:



--- In LTspice@..., "Al" <alhastings314@> wrote:

I'm using LTspice version 4.19i and can not get "Edit Plot Defs File" to work. I don't know if this feature existed or worked on earlier versions or not.

After I Run a simulation, I click on the .raw window to activate the window. Click "Plot Settings" and then "Edit Plot Defs File." Get error message, "Trouble creating file: C:&#92;PROGRA~2&#92;LTC&#92;LTSPIC~1&#92;plot.defs."

I did a search on my harddrive for plot.defs. Not found. Everything on else on the LTspice seems to be working fine. I just hate the default settings for the plots (including FFT plots).

Yes I have been successfully using "Save Plot Settings" and "Reload Plot Settings" on this version. But I'd really like to change the default settings if there is a means of getting the feature to work.

Cheers!

Hello Al,

I think there is an acceptable workaround.
Run LTspice as an administrator when you want edit plotdefs.
Later you can run it normally when you only want execute a plot
function.

Best regards,
Helmut


Re: "Edit Plot Defs File" not working.

 

Helmut,

Edit Plot Defs File works when I open LTspice as Administrator in Windows 7. Thanks... but now LTspice is not using the plot.defs file I created.

I edit the file using the Edit Plot Defs File. After making changes to the file, I save, close and reopen the file. The changes are all there but LTspice is not using the file when I Run a simulation. It appears to be using the Autoranging EVERY TIME I Run a simulation, even though I have unchecked Plot Settings&#92;Autorange.

I have looked through the menus to see some master toggle for Autoranging feature but can't find anything.

I verified that the code in the file actually works copying the file to another name. It runs fine when I use Plot Settings/Open Plot Settings File and the selecting the file.

FYI, the code looks like this:
[Transient Analysis]
{
Npanes: 1
{
traces: 1 {268959746,0,"V(n001)"}
X: ('n',1,0,5e-010,6e-009)
Y[0]: (' ',1,-4,0.2,4)
Y[1]: ('_',0,1e+308,0,-1e+308)
Volts: (' ',0,0,1,-4,0.2,4)
Log: 0 0 0
GridStyle: 1
}
}





Thank you for your expertise!
Al

--- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:



--- In LTspice@..., "Al" <alhastings314@> wrote:

I'm using LTspice version 4.19i and can not get "Edit Plot Defs File" to work. I don't know if this feature existed or worked on earlier versions or not.

After I Run a simulation, I click on the .raw window to activate the window. Click "Plot Settings" and then "Edit Plot Defs File." Get error message, "Trouble creating file: C:&#92;PROGRA~2&#92;LTC&#92;LTSPIC~1&#92;plot.defs."

I did a search on my harddrive for plot.defs. Not found. Everything on else on the LTspice seems to be working fine. I just hate the default settings for the plots (including FFT plots).

Yes I have been successfully using "Save Plot Settings" and "Reload Plot Settings" on this version. But I'd really like to change the default settings if there is a means of getting the feature to work.

Cheers!

Hello Al,

I think there is an acceptable workaround.
Run LTspice as an administrator when you want edit plotdefs.
Later you can run it normally when you only want execute a plot
function.

Best regards,
Helmut


Re: "Edit Plot Defs File" not working.

 

--- In LTspice@..., "Al" <alhastings314@...> wrote:

I'm using LTspice version 4.19i and can not get "Edit Plot Defs File" to work. I don't know if this feature existed or worked on earlier versions or not.

After I Run a simulation, I click on the .raw window to activate the window. Click "Plot Settings" and then "Edit Plot Defs File." Get error message, "Trouble creating file: C:&#92;PROGRA~2&#92;LTC&#92;LTSPIC~1&#92;plot.defs."

I did a search on my harddrive for plot.defs. Not found. Everything on else on the LTspice seems to be working fine. I just hate the default settings for the plots (including FFT plots).

Yes I have been successfully using "Save Plot Settings" and "Reload Plot Settings" on this version. But I'd really like to change the default settings if there is a means of getting the feature to work.

Cheers!

Hello Al,

I think there is an acceptable workaround.
Run LTspice as an administrator when you want edit plotdefs.
Later you can run it normally when you only want execute a plot
function.

Best regards,
Helmut


Re: How through external program calls LTspice

 

Python is a very typical academia method and one that I used.

The past few years I have been using VBasic from within Excel for driving
other programs. The primary reason is that Excel is (almost) always there.
It is also very convenient having data and commands lined up in tables with
named ranges often matching variable names. I have used Excel to write text
files of SPICE net lists that are compatible with the SPICE du jour ...
then kick off that SPICE engine to run using that file. I use various
fields (rows) in Excel to compile the command lines. This is convenient in
that the lines can be made manual initially before the real VBasic prose is
written. This requires no direct interaction with the other program.
Nothing like OLE that I suggest below. Excel's VBasic is just a language
already installed if Excel is present of course.

I used to extract multi-pin connector models. The Ansoft field solver
created C & L files with 1000s of lines that the macro/VBasic scripts
massaged & reduced in Excel. In that process the SPICE syntax was added.
Eliminated were the extremely small coupling values that contributed
nothing but SPICE convergence errors.

There is a learning curve for either approach. But there are many books &
online examples for either approach.

Last, I wish that LTspice had the OLE engine. OLE is what gives many
programs the built in capability of directly communicating with other
programs and adds VBasic of some sort to the program with OLE. I had iSpice
once upon a time and had done quite a bit of pre- & post- processing with
this. But iSpice is/was too uncommon for any sort of customer support or
public support of "this is how you do it".

Just thought that I would get my 2� in.
-Jeff

On Sun, Jul 7, 2013 at 2:35 PM, Howard Hansen <hrhan@...> wrote:

**


Hello Yang,

Here is a procedure you could use to run LTspice from within Python.
This procedure is appropriate for Windows. If you are using Linux or Mac
OS X you may need to modify this procedure.
First set the "Path" Environment Variable to C:&#92;Program Files&#92;LTC&#92;LTspceIV
Next run Python and enter the following commands
import os
os.chdir("To your net list folder")
cmd = "scad3.exe your net list"
os.system(cmd)

Setting the "Path" Environment Variable and changing Python's current
working folder to your net list folder saves a lot typing and eliminates
a lot of typing errors. If you use the -b command line option with
LTspice, LTsice will not open a Window.

Howard


On 7/5/2013 2:44 AM, He wrote:

Hallo Tim,

Thank u very much for the message, i know that i can use python to
write the script. but i don't know how should i programm then i can
use the python to call LTspice. can you show me an example? or just
how should i script? i cant find it in the internet. thanks again!

regards
Yang

--- In LTspice@... <mailto:LTspice%40yahoogroups.com>, Tim
Jameson <tim@...> wrote:

He:
This can be done using Python (or bash scripting), and examining the
net
list, and modifying the appropriate value on the R line for the
variable
resistor, and calling ltspice to run the simulation.

I understand not wanting to use the .op command, but it is really much
easier to use, and you can vary up to three (3) parameters with it.
I have
even seen ways to access a table which allows you to vary more than 3
parameters.

Tim


On Tue, Jul 2, 2013 at 8:33 PM, Renan Birck Pinheiro <
renan.ee.ufsm@...> wrote:

**


2013/7/1 He <he.yang@...>

How through external program calls LTspice, I would like a variable
resistor value from 0 to 100K, a variable power supply
simulation. do not
use LTspice's . Op statements. But through external programming.
Some
people know which software and how programming?
You could write a program that builds netlists for you and then runs
LTspice with the netlist it just created.

--
Renan Birck Pinheiro - Chip Inside Engenharia e
Tecnologia<>
Acad. Engenharia Eltrica <> -
UFSM<>- Santa Maria, Brasil
- +55 55 91162798

*Talk is cheap, show me the code*. - Linus Torvalds

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]




--
Jeffrey L Walden

EMC/SI RF analysis and product development

jwalden@...
(866)547-5365