MATLAB: Problem with Controlled voltage source

controlledsimulinkv

How can I solve this problem?
The voltage source block 'Controlled Voltage Source' cannot be connected in parallel with the capacitive element defined in the block 'Series RLC Branch2'. Add a small resistor in series with the voltage source block, or with the capacitive element.

Best Answer

In ideal circuit, connecting a capacitor in pararell with a voltage source would short-circuit the voltage source (when initially, the voltage at the capacitor is zero and the circuit is switched to closed). Add a resistor in the capacitor branch or the voltage source branch.