Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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:

  1. 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?

  2. 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.