Transient Response of an RC circuit

5 views (last 30 days)
Hello everyone,
I am trying to see the response of a simple series RC circuit in the scope. However, I only see the steady-state behavior.
I have tried changing the values of the elements. However, it didn't work.
I have attached my model. I don't know if it could be a problem with my solver, or simulation steps and etc.
By the way, I run the simulation until t=0.02. The transient response should be visible until t=0.004.
Thanks for your help.

Accepted Answer

Ameer Hamza
Ameer Hamza on 15 Sep 2020
I am not sure, but it seems to be related to the blocks from Specialized Power Library. The blocks from this library are not intended to simulate small circuit designs. They are used to study large scale electrical transmission systems. Therefore, I guess the capacitor model does not have a transient response. To get the transients, I suggest using the Foundation Electrical Library blocks. See the attached Simulink model. The image is also attached.
  1 Comment
Hossein Rouhabadi
Hossein Rouhabadi on 16 Sep 2020
Edited: Hossein Rouhabadi on 16 Sep 2020
Thank you for the answer, it works. However, I figured out the problem in my own simulation. The problem was that the storage element needs to have its initial condition defined, regardless of being zero or not. Otherwise, simulation solves in steady-state.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Simscape Electrical in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!