Just as a side note a large 500uF capacitor is likely an electrolytic capacitor which has dielectric absorption. It can be modeled as a number of series RC capacitors which has more stored energy than depicted in the circuit shown. Dielectric absorption normally increases with temperature.
The flat function is used as a way to generate a (psuedo) random number. Flat(x) will return a number between -x and +x with equal probability of being less than or greater than 0. The error I was gettting when I paused the video was caused by the fact that I was missing an end parenthesis ")" in my component definitions.
As you note, with this method of worst-case analysis, you need to do a lot of runs to guarantee that you "hit" all of the possible extreme values, as the values are being changed randomly. A method that simulates each combination of extreme component values exactly once is detailed here: k6jca.blogspot.com/2012/07/monte-carlo-and-worst-case-circuit.html (scroll down to the heading "Optimized Worst-case Analysis")
can't find definition of model "MC" , I am getting this error
Just as a side note a large 500uF capacitor is likely an electrolytic capacitor which has dielectric absorption. It can be modeled as a number of series RC capacitors which has more stored energy than depicted in the circuit shown. Dielectric absorption normally increases with temperature.
Thank you very much, helped a lot!
What is the purpose of the "tolerance" field in the component? Does it perform a different function?
It allows youth choose a tolerance value for the component. If you want a 5% tolerance on your component you can set and change easily.
What is the "flat" function? And what did are you do to solve the model problem?
The flat function is used as a way to generate a (psuedo) random number. Flat(x) will return a number between -x and +x with equal probability of being less than or greater than 0. The error I was gettting when I paused the video was caused by the fact that I was missing an end parenthesis ")" in my component definitions.
As you note, with this method of worst-case analysis, you need to do a lot of runs to guarantee that you "hit" all of the possible extreme values, as the values are being changed randomly. A method that simulates each combination of extreme component values exactly once is detailed here: k6jca.blogspot.com/2012/07/monte-carlo-and-worst-case-circuit.html (scroll down to the heading "Optimized Worst-case Analysis")
Thank you
I'm a bit noob with LT Spice could you please tell me how did you add the voltage source ? (without using Place part -> Voltage)
You can use the keyboard shortcut to open it by pressing F2
wut