Electrical – KVL through current source

circuit analysis

I'm trying to come up with the state-space equations for this circuit, but I think I'm making a mistake when writing KVL through a loop with a current source.

schematic

simulate this circuit – Schematic created using CircuitLab

Is it valid to write for the top loop:

V_L + V_C = 0

where V_L is the voltage across the inductor and V_C is the voltage across the capacitor.

Only writing KVL for the bottom loop doesn't give me enough equations to solve for the state space variables (VL, VC, and V2C)

Best Answer

The equation you wrote is not valid as you are neglecting the voltage of current source. Instead, you can use KCL to solve the circuit.