How to solve my Error "Conversion to logical from sym is not possible" in my program" for Differential Relay equation

1 view (last 30 days)
Hi Guys, I have a problem with this Error "Conversion to logical from sym is not possible" in my program" for Differential Relay equation.I want to find out about these coefficients "IS1 K1 IS2 K2" Thanks
syms IS1 K1 IS2 K2 Idiff Ibias ;
Idiff=3 ;
Ibias=1.5 ;
if Ibias < IS2
Idiff > (K1*Ibias+IS1) %then trip
elseif Ibias >= IS2
Idiff >= (K2*Ibias)-(K2-K1)*IS2 +IS1 %then trip
end
%IS1: The basic differential current setting
%K1: The lower percentage bias setting
%IS2: The bias current threshold setting
%K2: The higher percentage bias setting
  3 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!