Ask Your Question
0

User defined model of line relay

asked 2022-12-06 00:49:55 -0500

cresg gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2022-12-06 03:28:47 -0500

perolofl gravatar image

Use KM to get the line information:

CALL GETFTC(KM,II,JJ,ID)

returns the bus sequence numbers II and JJ and the line ID. The external bus numbers are:

IBUS = NUMBUS(II)
JBUS = NUMBUS(JJ)
edit flag offensive delete link more

Comments

Thank you so much. It worked like a charm! I couldn't find 'GETFTC' in any document (POM, PAGV2, and API). Is there any other document with information on such subroutines?

cresg gravatar imagecresg ( 2022-12-06 06:24:09 -0500 )edit

No, PTI doesn't publish such information.

perolofl gravatar imageperolofl ( 2022-12-06 07:09:15 -0500 )edit

Thank you.

cresg gravatar imagecresg ( 2022-12-06 11:02:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: 2022-12-06 00:49:55 -0500

Seen: 732 times

Last updated: Dec 06 '22