Uncertainty analyses in simulation

Is in KiCad some possibility to do Monte Carlo? Is there some way to convert schematic from version 5.1.10 to be imported to Multisim SW?

There is currently no GUI for Monte Carlo simulations in KiCad. Nonetheless, Ngspice, the simulation engine KiCad uses, supports Monte Carlo, so it is possible to modify the netlist generated by KiCad to do it.

We’ll add a GUI for this eventually, but it will take some time.

1 Like

Chapter 22 of the ngspice manual on Statistical circuit analysis gives some info about MC analysis in ngspice. See Download ngspice from SourceForge.net .

1 Like

Hi,
Do we have a plan to have a measurement tool for the simulation result? Currently, we can only view the curves of the result, but can’t do analysis on it.

And seperate curve to each plot function is also needed.

This is probably not the right thread to discuss generally the interface, because this thread is about MC. But you may open up another thread!

I have pushed a Monte Carlo example for KiCad/Eeschema/ngspice to Simulation examples for KiCad/Eeschema/ngspice - #4 by holger

1 Like

Yes, we plan to add delta cursors and markers to the waveform viewer.

There’s a design document that outlines some of the upcoming features available here: kicad_sim_design_doc.md · master · Mikolaj Wielgus / KiCad Simulator Design Document · GitLab

2 Likes

There are two more Monte Carlo examples available at Simulation examples for KiCad/Eeschema/ngspice - #4 by holger .

For plain ngspice there are some examples available at https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/examples/Monte_Carlo/

1 Like