Exporting the calculation of the simulation?

Hi, I am a really, really big fan from Circuit Lab!! I have to work with real hardware an can check my results with the workbench.

Now I want to ask if there is the possibility to see the calculation in back of the simulation, because I need the mathematical formula for my electronic circuit.

Lot's of thanks!

by sunshineh
May 16, 2012

I agree with signally, but more importantly, I think you want human readable design equations. Simulators do not write the equations for the circuit and then solve it in the sense that you expect. They create a matrix of equations, what is generally a "sparse matrix" meaning that most terms are zero, and the terms that do exist are based on the values in the circuit. These matrices are then solved using numerical techniques (not algebraic manipulation of symbols).

Human readable equations would use the symbolic relationships (i.e. R3, C1, L1, V34), would solve the simultaneous equations for a solution of one variable in terms of the symbolic values (e.g. V(out) = V1*(R2/R1+R2) ). This is what I referred to above as an algebraic manipulation of symbols. These equations would then be applicable for any values inserted for V1, R2, etc. This is NOT what the simulator does. Even if you got access to the internals, you would not find the design equations you are looking for even as an interim step in the solution process.

by CarlSawtell
May 16, 2012

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.