The Operating Time of an IDMT Relay (PSM constant) using MATLAB code

PSM (Plug Setting Multiplier)constant and TSD(Time Setting Dial) variable


PSM constant and TSD variable

Code:

//clc
//close all
clear all
//alfa =0.50000;
//i_threshold =50000;
//i_load =1:100;
//x1 =length(i_load);

//for m=1:5,
    ///TSD=m*1;
    //for x=1:x1;
       // if i_load(x)>i_threshold
            /operating_time(m,x)=TSD./((i_load(x)/i_threshold)^alfa-1);
       / else
            //operating_time(m,x)=100000;
        //end
   

    //dd=['r','g','b','k','m']
    //semilogy(operating_time(m,:),dd(m));
    grid on;
    hold on;
end
//legend('TSD=1','TSD=2','TSD=3','TSD=4','TSD=5')
//axis([0 100 0 100])
//title('Load Current vs Relay operating Time');
//xlabel('Load current(A)');
//ylabel('operating time(sec.)');


Comments