Hi, I have small problem. I do serial RLC circuit in Simulink. I created scheme, have defined constat (capacitor, coil and resistor), but it isn't work. Output waveform isn't correct. Maybe I have wrongly set the source. There are equation, scheme and values:
Values: L = 0.3; C = 4*10^-5; R = 2 Source: Amplitude 20V; Frequency: 50 Hz
How set the source to the correct output? My output is here:
No products are associated with this question.
It looks as though your intial conditions are 0 for both integrators.
Are you supposed to simulate the system in steady-state? One of your initial values are probably incorrect. Are you given any additional information in your assignment?
(I haven't tried it out, but try setting the intial current to 0.0603). It is almost 90 degrees out of phase with the voltage
current = V/(R+1i*2*pi*f-1i/(2*pi*f*C)); % In steady state (as phasor).