Looking for help to fix this error

18 views (last 30 days)
Muhammad Salman
Muhammad Salman on 4 Dec 2024
Commented: Muhammad Salman on 10 Dec 2024
The voltage source block 'DC Voltage Source' cannot be connected in parallel with the capacitive element defined in the block 'Series RLC Branch3'. Add a small resistor in series with the voltage source block, or with the capacitive element.
i am trying to implement this circuit, as shown in attached picture.
Even though the gate signals are connected , i still got the same error . looking for help how to resolve this, other than connecting a resistor , that make circuit less efficient

Answers (1)

Sumukh
Sumukh on 4 Dec 2024
This is an expected error message. It is not possible to simulate a system with an ideal voltage source when it is in a loop with only capacitors. This is because the voltage across a capacitor cannot change instantaneously. An ideal voltage source could supply an infinite amount of current to maintain its voltage when the circuit is switched on. A real voltage source has an internal resistance associated with it, which would cause the voltage to drop when the circuit is switched on.
The solution, as suggested within the error message, is to add a small resistor in series with the capacitor/voltage source block. The value of the resistor can be made as small as possible so that it has negligible effect on the efficiency of the system.
I hope this resolves your error.
  3 Comments
Sumukh
Sumukh on 9 Dec 2024
@Muhammad Salman, you can consider accepting this answer if you find it helpful.

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!