| Power System Blockset | Search  Help Desk |
| Series RLC Branch | Examples See Also |
Library
Elements LibraryDescription
Dialog Box

Example
Obtain the frequency response of a fifth-harmonic filter (tuned frequency = 300 Hz) connected on a 60Hz power system. This example is available inpsbseriesbranch.mdl.The network impedance in Laplace domain is:
To obtain the frequency response of the impedance you have to get the state-space model (A B C D matrices) of the system.
This system is a one input (Vsource) and one output (Current Measurement) system. If you own the Control System Toolbox, you can get the transfer functionZ(s) from the state-space matrices as follows:
[A,B,C,D] = power2sys('psbseriesbranch');freq = logspace(1,4,500);w = 2*pi*freq;[Y,phaseY] = bode(A,B,C,D,1,w);% invert Y(s) to get Z(s)Z = 1./Y;phaseZ = -phaseY;subplot(2,1,1)loglog(freq,Z)gridtitle('5th harmonic filter')xlabel('Frequency, Hz')ylabel('Impedance Z')subplot(2,1,2)semilogx(freq,phaseZ)xlabel('Frequency, Hz')ylabel('phase Z')grid
See Also
Series RLC Load, Parallel RLC Branch, Parallel RLC Load