LTSPICE: tables and indexing through a txt file

Thread Starter

Wintha

Joined Jul 15, 2019
2
Hi all,

I have measurements from different component values through frequencies. Now, I would like
to simulate all these impedances, in a way, that all values change at certain frequencies.

The idea looks something like,

.step param n 1 100 1
.param L=table(n, n, txt1(n))
.param freq=table(n, n, txt2(n))
and so forth...

Is there a way how to do such a case? It would save enormous amount of time instead plugging the table values manually.
 

eetech00

Joined Jun 8, 2013
2,611
Hi all,

I have measurements from different component values through frequencies. Now, I would like
to simulate all these impedances, in a way, that all values change at certain frequencies.

The idea looks something like,

.step param n 1 100 1
.param L=table(n, n, txt1(n))
.param freq=table(n, n, txt2(n))
and so forth...

Is there a way how to do such a case? It would save enormous amount of time instead plugging the table values manually.
Files attached.
See Below. The dummy circuit is only to prevent error/warning messages

1632274491605.png
 

Attachments

Thread Starter

Wintha

Joined Jul 15, 2019
2
Amazing eetech00, you really saved my time! Did not know that tables could be run in such a way. Now I'll just do a Python script which translates data in correct manner to a text file.

- Wintha
 
Top