Clear Filters
Clear Filters

DEVELOPMENT OF A DUAL MODE FREQUENCY CONTROLLER FOR STANDALONE, MICRO AND MINI HYDRO POWER SYSTEMS

20 views (last 30 days)
The project is done on frequency controller for standalone micro and mini hydro power system that doesnot connected to grid. I want to work this project by using matlab code. For example the code I want to use is as below
%Program: This program plots the step response of frequency of mini %hydropower system with FCM for different heads
%load change = 3%
kp=1; %proportional gain
ki=kp/TI; % integral gain
Gen=tf(1,[2*5 1.5]); % synchronous generator %transfer function
% H = 5 sec and D = 1.5%
PMstepper=tf(200,[0.0013 0.5 200]);%transfer function of the stepper motor
PI=tf([kp ki],[1 0]); % PI controller low head mini hydropower system
Hturbine=tf([-1 1],[0.5 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response system
TI=8; % the integral time constant
kp=1; %proportional gain
ki=kp/TI; % integral gain
Gen=tf(1,[2*5 1.5]); % synchronous generator %transfer function
% H = 5 sec and D = 1.5%
PMstepper=tf(200,[0.0013 0.5 200]);%transfer function of the stepper motor
PI=tf([kp ki],[1 0]); % PI controller low head mini hydropower system
Hturbine=tf([-1 1],[0.5 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response system
hold on
% medium head mini hydropower
Hturbine=tf([-2.5 1],[1.25 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response
hold on
% high head mini hydropower system
Hturbine=tf([-4 1],[2 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response
hold on
ylabel('Frequency Deviation [Hz]');
xlabel('time');
legend('delPL=-14.76 kW','delPL=14.76 kW');
grid on
TI=8; % the integral time constant
kp=1; %proportional gain
ki=kp/TI; % integral gain
Gen=tf(1,[2*5 1.5]); % synchronous generator %transfer function
% H = 5 sec and D = 1.5%
PMstepper=tf(200,[0.0013 0.5 200]);%transfer function of the stepper motor
PI=tf([kp ki],[1 0]); % PI controller low head mini hydropower system
Hturbine=tf([-1 1],[0.5 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response system
hold on
% medium head mini hydropower
Hturbine=tf([-2.5 1],[1.25 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response
hold on
% high head mini hydropower system
Hturbine=tf([-4 1],[2 1]); %turbine transfer function
Hs=PI*PMstepper*Hturbine; %feedback transfer function
Gc=feedback(Gen,Hs); %Closed loop transfer function
step(-50*0.03*Gc) %Step response
hold on
ylabel('Frequency Deviation [Hz]');
xlabel('time');
legend('delPL=-14.76 kW','delPL=14.76 kW');
grid on
But now I want to control the frequency of standalone mini and micro hydro power by using MATLAB SIMULINK that looks like
001.JPG
Fig shows Simulationmodel of a small hydropower plants without controllers and
0003.JPG
Fig shows Simulation model of a small hydropower plants with controllers
How I can model Simulation for standalone micro and mini hydro power

Answers (1)

Joel Van Sickel
Joel Van Sickel on 27 Apr 2023
I realize this answer is likely too late to be of any use to you, but as your question is a good one and getting a number of views, here is the answer:
If you have a controller implemented in Matlab code like that, the easiest way to utilize it with a Simulink model is to use this block in Simulink and leave your controller code in Matlab.:

Community Treasure Hunt

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

Start Hunting!