Model the equation of a RLC circuit and solve it by Euler Method
8 views (last 30 days)
Show older comments
Hi I need to develop a RLC model by Euler method and develop a grahp of current and voltage, something like shown in the image
I neet to use the values of
R=5
C=0.01e-6
L=0.5
h=0.00001
and it must start in zero
I have been trying but I can´t get the result shown in the picture, please, help me
1 Comment
Jan
on 22 Feb 2023
Please post the current code and explain the difference between your and the wanted result.
Answers (1)
Shivam Gothi
on 23 Aug 2024
Hello,
I understand that you are trying to simulate a RLC circuit and obtain the results as shown in the attached images.
The natural frequency of oscillation for series RLC circuit can be found from formula:
The values of R, L, and C provided by you, yields natural frequency () ≈2252 Hz.
From the waveforms of voltages and currents attached by you, the frequency of oscillation comes out to be approximately 150 Hz.
As a conclusion, with the above provided values of R, L and C, it is not possible to get the results as attached in the images.
Kindly try to readjust the value of R, L and C to get the desired results.
I have attached the MATLAB code file “RLC_Series_Ckt”, which solves the RLC circuit using Backward Euler method. I passed the values of R, L, C and h as provided by you. The results obtained by running the code are shown below.
You can readjust the values of R, L, and C in the code to get the solution you desire.
Hope this solves the issue.
0 Comments
See Also
Categories
Find more on Circuits and Systems 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!