models icon indicating copy to clipboard operation
models copied to clipboard

Current versus Time graph poorly designed in "Current in a Wire"

Open ToonTalk opened this issue 6 years ago • 1 comments

If one changes the voltage it takes a very long time for the graph to react appropriately. That is because it is plotting charge-flow / ticks and charge_flow only increases with time so it is plotting the average since the beginning of the run.

If it just plots charge-flow and after the call to tick one inserts set charge-flow 0 then the graph responds immediately. And one sees that the current measurement is noisy which seems appropriate in this model.

ToonTalk avatar Jan 18 '19 09:01 ToonTalk

Here's a zipped version of the modified model

Current in a Wire KK edits.zip

ToonTalk avatar Jan 18 '19 09:01 ToonTalk