We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum test case:
using ACME c_work = @circuit begin src = voltagesource(), [+] == gnd_up, [-] == gnd_down r1 = resistor(10), [1] == gnd_up, [2] == gnd_down G = voltageprobe(), [+] == gnd_up, [-] == gnd_down end; c_not_work = @circuit begin src = voltagesource(), [+] == gnd_up, [-] == gnd_down r1 = resistor(10), [1] == gnd_up, [2] == gnd_down G = voltageprobe() G[+] == gnd_up G[-] == gnd_dowd end; model_work = DiscreteModel(c_work, 1/50); model_not_work = DiscreteModel(c_not_work, 1/50); y_w = run!(model_work, 16sin.(2π*1000/44100*(0:99)')) y_n_w = run!(model_not_work, 16sin.(2π*1000/44100*(0:99)'))
The text was updated successfully, but these errors were encountered:
G[-] == gnd_dowd
Typo? If you use gnd_down here, y_w and y_n_w become the same, which I suppose you were expecting?
gnd_down
y_w
y_n_w
The code as provided gives
Warning: Model output depends on indeterminate quantity
which is correct, as gnd_dowd is floating and the voltage is therefore indeterminate.
gnd_dowd
Closing as from my perspective, this works as it should, but please comment if I misunderstood.
Sorry, something went wrong.
No branches or pull requests
Minimum test case:
The text was updated successfully, but these errors were encountered: