Exporting data from lt spice

Thread Starter

Soma23

Joined Apr 24, 2015
60
How i can export the data from spice?
Such that when i draw a circuit consists of : 1 resister , ground , with AC supply .

I want my data to be like this
Ex:
R1 1k at a time .1s the power was 1 mw and so one
How i can get this ?
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
But i did not get the needed data
My data should be like this
At time 0 the power forexamplee .2W and so on

image.jpg

Can somone explain this
 
Last edited by a moderator:

ericgibbs

Joined Jan 29, 2010
18,738
That LTS print out has 4 headings and 4 columns of data, what do you want explaining.?

It would be helpful if you posted your LTSpice asc file.
E
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
here itis

Here i put 3 resisters
I want to export the data like this
Time then power of each resister at each time
 

Attachments

Last edited by a moderator:

ericgibbs

Joined Jan 29, 2010
18,738
hi,
This is the Exported text file for your asc sim file, the .tran is 0.5msec and the max time step is 100usec, this reduces the number of value in the text file.

Is this what you are asking.?


EDIT:
This is the Export file opened by Lotus 123
 

Attachments

Last edited:

Thread Starter

Soma23

Joined Apr 24, 2015
60
Yes thank you

how i can show the output as waves ( like sin and cos) not like this?

Do you know how i can show the output as a waves ( like sine and cos ) not like ablocks??
 

Attachments

Last edited by a moderator:

ericgibbs

Joined Jan 29, 2010
18,738
You choose a .tran period that related to the frequency of the AC source.

eg: if AC1 is say 1KHz, then I would use .tran as 1mSec.
Also use Max Time step in the .tran set up to give the required number of samples in your exported file. OK.?

If you have another asc file, please post it and we can discuss it.
E
 

Attachments

Thread Starter

Soma23

Joined Apr 24, 2015
60
What is in the photo is exactly what i am looking for could you please show me the window that you put that values in ?
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
Thank you

What does 100 u means?

Actually i have to draw Ac circuit is the way that i did is correct?
I read that to compute the power in AC circuit we have to read irms and vrms with the power factor
While in DC circuit IV is enough , am i write ? Is my simulation is correct ?
 
Last edited by a moderator:

ericgibbs

Joined Jan 29, 2010
18,738
hi,
To see the Average value in LTS, run the simulation, hold the Ctrl key down and left click on the Plotted label name.
The RMS value is 0.707 * the Peak value.

100u == 100 micro seconds

Is this a homework problem.?
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
No i have to use. A simulation software for my senior project so i want to make sure that this software can give me what i want to use it and simulate my project
 

ericgibbs

Joined Jan 29, 2010
18,738
LTSpice is good simulator for most circuits, its also free.;)

When you have designed your circuit post the asc file so that we can help you.
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
Thank you so much butdidn't understand
The RMS value is 0.707 * the Peak value.
Does spice calculate this already so i do not need to worry about it ?
 

Thread Starter

Soma23

Joined Apr 24, 2015
60
Still couldn't find it

I found it

But i didn't understand why should i do this thing ?

why it is integral not rms ?
 

Attachments

Last edited by a moderator:
Top