User defined model of line relay
Hi,
I am writing a line relay model in Fortran with SUBROUTINE modelname (KM,RS,ISLOT). My questions are:
I see that 'KM' is the internal PSS®E double entry line array index for the line at which the model is being called. How can I make use of 'KM' in the model?
How can I monitor the line current for the line at which the model is being called? The API CALL BRNMSC seems to do the job but it needs to be supplied with 'IBUS, JBUS AND ID'. Since I don't know for which line the model will be called, I cannot use BRNMSC API.
Thanks.