Time domain simulation not working

I am new to circuits and to circuitlab. I am trying to use circuitlab to help me with a course in circuits I am taking

I made the following circuit with a switch to see how the charge across the capacitor changes over time.

https://www.circuitlab.com/circuit/tgxe73/circuits-3-3-2/

When I try to use the Time Domain to simulate it I get back Solver returned no data.

What am I doing wrong?

by patmandenver
January 28, 2015

There are two problems in your sim.

Please see:

https://www.circuitlab.com/forums/support/topic/gez457uy/voltage-controlled-switch-not-working/

And you have a constant current source in parallel with a capacitor. It is not well documented in CL but it is likely that CL assumes that the current has been applied for all time prior to the start of the sim so the voltage across the cap will already be infinite at t=0 (the start of the time domain sim) so the simulator probably throws an error.

See:

https://www.circuitlab.com/forums/modeling-and-simulation/topic/269p42w5/initial-condition-hint/

by signality
January 29, 2015

Thanks for the reply. I am new to all this and every bit helps.

I will look over those and see if I can't get this working

by patmandenver
January 29, 2015

I got it working

Thanks for all the help.

by patmandenver
January 29, 2015

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.