BUG REPORT: Current expression in behavioural voltage source broken in DC Sweep Simulation.

Current expression in behavioural voltage source does not work in DC Sweep Simulation:

NODE3 produces zero but it shouldn't!

by signality
March 10, 2013

I'm not seeing that -- I see V(NODE3) being equal to the current on the plot of I(R3.nA) below. However, due to the scale of the graph, it looks flat (zero) because that current is ~5mA (so V(NODE3)=5mV) while the other voltage being plotted V(x) and V(NODE2) are both much larger, ~500mV. Is that the problem or is it truly zero when you run the simulation?

by mrobbins
March 10, 2013

Doh!

Sorry. You're right: it's because I've plotted V(node3) on an inappropriate axis.

This Bug Report actually originates from the time that the expressions in current sources wasn't working, though it didn't get posted until after that was fixed last week. At that time I was seeing some very odd things with expressions in behavioural sources in DC Sweeps.

I was in too much of a hurry to post it and missed the fact I'd not set the right Y axis.

by signality
March 11, 2013

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.