The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> How to vary a design variable in normal distribution form in ocean script? https://designers-guide.org/forum/YaBB.pl?num=1392730098 Message started by indra0804 on Feb 18th, 2014, 5:28am |
Title: How to vary a design variable in normal distribution form in ocean script? Post by indra0804 on Feb 18th, 2014, 5:28am Hi experts, I want to vary a circuit design variable in the form of a normal distribution in ocean script ie. if for the 1st sim, the design variable 'cap' is 100fF, then may be in the 2nd sim, the value of 'cap' gets modified to say '100.5fF' or something like that as per normal distribution specs. So, my question is, whether there is any function available in ocean for simulating normal distribution? I tried to find in the ocean reference manual, but couldn't find. Only thing that I could find is 'random' function which can generate random values in a certain range, but thats not quite the thing that I am looking for...Please help..!! And I don't want variation in a ordered manner, otherwise I could have used parametric analysis, but I want change in the form of some distribution. Regards, Indra |
Title: Re: How to vary a design variable in normal distribution form in ocean script? Post by boe on Feb 18th, 2014, 10:51am Hi Indra, does this thread help? - B O E |
Title: Re: How to vary a design variable in normal distribution form in ocean script? Post by Andrew Beckett on Feb 18th, 2014, 4:17pm Or if you really don't want to do it with Monte Carlo, maybe this code will help: Code:
|
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |