Monte Carlo simulaition with Tspice

  • Thread starter Thread starter IanTrout
  • Start date Start date
  • Tags Tags
    Monte carlo
AI Thread Summary
The discussion revolves around running a Monte Carlo simulation in Tanner EDA, specifically focusing on changing the value of an inductor during the simulation. The original poster seeks guidance on the proper command to achieve this, noting a lack of resources for the software. A response suggests using a step-plot option and questions whether a Monte Carlo variation is necessary for just one component. The poster later discovers the correct command lines for implementing the Monte Carlo simulation, which allows for parameter variation during transient mode. This exchange highlights the importance of documentation and community support in navigating software challenges.
IanTrout
Messages
3
Reaction score
0
Hi,

I have a small problem with running a Monte Carlo simulation in an exercise I have.

We are using Tanner EDA to simulate our circuits, and we have to change the value on an inductor while running a Monte Carlo simulation.

Is there a way to do this? Whats the proper command to change that particular parameter?

Unfortunately, we don't really have any good references for this software, not from our instructor and not from the web...


-----EDIT-----
I didn't notice there way a separate forum for class work, sorry about that...

So its a question for the moderators, move this post or keep it here...
-----EDIT-----


Thanks in advance,
Ian Trout
 
Engineering news on Phys.org
IanTrout said:
Hi,

I have a small problem with running a Monte Carlo simulation in an exercise I have.

We are using Tanner EDA to simulate our circuits, and we have to change the value on an inductor while running a Monte Carlo simulation.

Is there a way to do this? Whats the proper command to change that particular parameter?

Unfortunately, we don't really have any good references for this software, not from our instructor and not from the web...


-----EDIT-----
I didn't notice there way a separate forum for class work, sorry about that...

So its a question for the moderators, move this post or keep it here...
-----EDIT-----


Thanks in advance,
Ian Trout

Your question is okay here for now. Does TSPICE at least have a step-plot option? Can you just step the values of inductor to obtain different simulation plots? Are you just varying the inductor, or do you want to do a Monte Carlo variation on multiple parts? If it's just the one component that varies, you don't really need a Monte Carlo feature...
 
Thanks for the reply.
I dug a little deeper into the Tspice documentation and found the missing link...

For future references, one needs to use the following lines:

Code:
.param p=agauss(3n, 0.3n, 1)
LL1 N_1 S2  L=p
.tran/Powerup 0.01n 100n Sweep MONTE=40


This example does a Monte Carlo sweep in transient mode, in each cycle it changes the parameter p that is assigned to the inductor value. One can add more parameters as needed.


Thanks,
Trout
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Replies
4
Views
3K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
1
Views
3K
Replies
58
Views
7K
Replies
2
Views
2K
Replies
33
Views
2K
Back
Top