circuit-simulator icon indicating copy to clipboard operation
circuit-simulator copied to clipboard

Disconnected Ground causes noticeable numerical errors

Open ThomWright opened this issue 8 years ago • 0 comments

image

Ground connected:

CurrentSource 1
2Resistor.js:83 Resistor 0.9997000999660113
Resistor.js:83 Resistor 0.9996001399520164
Ground.js:110 Ground [0.0003998600479836467]
CurrentSource.js:102 CurrentSource 1

Ground disconnected:

CurrentSource 1
Resistor.js:83 Resistor 1.0000000000000002
2Resistor.js:83 Resistor 0.9999000099990002
Ground.js:110 Ground [-0]

Probably due to the fact that we're connecting disconnected circuits to ground with a high-value resistor. Time to consider #27 more seriously?

ThomWright avatar Sep 24 '15 13:09 ThomWright