Help with LTSpice circuit simulation

Thread Starter

lindula

Joined Sep 23, 2016
100
Hello, I'm trying to simulate a homework problem. ltspice_home_work.png

I don't know how to configure the Amp setting for I1 to be 1 - (the voltage across C1).
I also don't know how to configure the Amp setting for I2 to be 2 - 2 x (voltage across C1)

I tried using an equation but I'm getting errors.

Can anyone give me some help please.

Thanks
 

Thread Starter

lindula

Joined Sep 23, 2016
100
I changed the Current Source with a Behavioral Current source and was able to run a sim.
ltspice_home_work.png

Now I'm trying to get the simulation to show the current and voltage across the C1 cap.
 

Attachments

crutschow

Joined Mar 14, 2008
38,314
I'm trying to get the simulation to show the current and voltage across the C1 cap.
Below is the correct (I think) simulation of your original circuit:

The inductor, being in series with an ideal current source, has no effect on capacitor current or voltage.

Note the uic (not startup) transient simulation command for proper initial conditions at startup.

1775400368777.png
 
Last edited:

eetech00

Joined Jun 8, 2013
4,704
Hello, I'm trying to simulate a homework problem. View attachment 365600

I don't know how to configure the Amp setting for I1 to be 1 - (the voltage across C1).
I also don't know how to configure the Amp setting for I2 to be 2 - 2 x (voltage across C1)

I tried using an equation but I'm getting errors.

Can anyone give me some help please.

Thanks
Show the image and text of the problem the instructor gave you.
 

Thread Starter

lindula

Joined Sep 23, 2016
100
Below is the correct (I think) simulation of your original circuit:

The inductor, being in series with an ideal current source, has no effect on capacitor current or voltage.

Note the uic (not startup) transient simulation command for proper initial conditions at startup.

View attachment 365626
Thank you very much.
I will will calculate I(C1) and V(C1) by hand.
Have a great day
 
Top