Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Power System Simulation Laboratory (EE 474)

ASSIGNMENT- 7

Name: H R SAI KIRAN PANDIT

Roll: 116EE0328

Date of experiment: 17.02.2020

Date of submission: 02.03.2020

Q1) The parameters given are


Area 1

Speed regulation R=0.04pu

Freq. sensitive load coefficient D=1.6

Inertia constant H=8sec

Governor time constant Tg=0.25sec

Turbine time constant Tt=0.5sec

Obtain the state variable representation of LFC system with one input ∆Pm and perform

a. Use MATLAB step function to obtain the frequency deviation step response for a
sudden load change of ∆PL =0.2 pu.

b. Construct the Simulink block diagram and obtain the frequency deviation response for
the condition in a.

c. Use placepole(A,B,C,P) function to place the compensated close loop poles at −𝟒 ± 𝒋𝟔


and -4.Obtain the frequency deviation step response of the compensated system

d. Construct the Simulink block diagram and obtain the frequency deviation response for
the condition in c.
Code

clc;

clear;

Tg=0.25;

Tt=0.5;

H=8;

R=0.04;

d=1.6;

A=[-1/Tg 0 -1/(R*Tg);

1/Tt -1/Tt 0;

0 1/(2*H) -d/(2*H)];

B=[0;0;-1/(2*H)];

C=[0 0 1];

D=0;

deltapl=0.2;

sys=ss(A,B,C,D);

y=deltapl*step(sys);

plot(y);

p=[-4+6i -4-6i -4];

K = place(A,B,p);

a=A-B*K;

sys1=ss(a,B,C,D);

y1=deltapl*step(sys1);

plot(y1);
A=

-4.0000 0 -100.0000

2.0000 -2.0000 0

0 0.0625 -0.1000

B=

-0.0625

C=

0 0 1

sys =

A=

x1 x2 x3

x1 -4 0 -100
x2 2 -2 0

x3 0 0.0625 -0.1

B=

u1

x1 0

x2 0

x3 -0.0625

C=

x1 x2 x3

y1 0 0 1

D=

u1

y1 0

Continuous-time state-space model.

p=

-4.0000 + 6.0000i -4.0000 - 6.0000i -4.0000 + 0.0000i


K=

6.4000 5.4000 -94.4000

a=

-4.0000 0 -100.0000

2.0000 -2.0000 0

0.4000 0.4000 -6.0000

sys1 =

A=

x1 x2 x3

x1 -4 0 -100

x2 2 -2 0

x3 0.4 0.4 -6

B=

u1

x1 0

x2 0

x3 -0.0625
C=

x1 x2 x3

y1 0 0 1

D=

u1

y1 0

Continuous-time state-space model.

Fig-1: Plot obtained from MATLAB

Fig-2: Simulink Block Diagram


Fig-3: Output from Simulink

Fig-4: Compensated system response

Fig-5: Simulink Block Diagram of Compensated System


Fig-6: Simulink output

You might also like