Timing relay in Simulink
Timing relay in Simulink
(OP)
I am trying to model a plant control system i.e governor, AVR and PSS. The PSS should be disabled under some conditions like P<10 % for 10 sec.
I appreciate it if anybody help me develop such timing block in simulink?
I appreciate it if anybody help me develop such timing block in simulink?





RE: Timing relay in Simulink
Try an embedded function block and then write your code (if PSS<(something), PSS=0; end) something like that.
Fe
RE: Timing relay in Simulink
RE: Timing relay in Simulink
So then you can say for example when 30<t<40 seconds PSS=0 like above.
Fe
RE: Timing relay in Simulink
However the initial time for the relay timing is conditioned with P becoming less than some setting. The P signal is time varying and I need to know the instant of time where P goes below the setting. How do I find this time?
RE: Timing relay in Simulink
You input P, this setting you talk about (say "k") and the time ("t") into this embedded block where you write you code. Then you can define another variable say "T". Then you have something like
if P<k
T=t;
PSS=0;
end
Fe