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

1 回表示 (過去 30 日間)
m gh
m gh 2018 年 8 月 23 日
コメント済み: m gh 2018 年 8 月 24 日
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 件のコメント
madhan ravi
madhan ravi 2018 年 8 月 23 日
You cannot pass a logical statement to a symbolic variable.
m gh
m gh 2018 年 8 月 24 日
for example IS1=1 ; ISD=2 now how to find a range for K1 and K2?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumbers and Precision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by