Ask Your Question
0

Is there any alternative function command for NSWICH in v35 ?

asked 2022-08-03 19:45:06 -0600

CPReddy gravatar image

NSWICH command has been removed from common4.ins of v35. Is there any alternative function ? Please help me.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2022-08-05 03:43:40 -0600

perolofl gravatar image

Switched shunts models are changed in rev 35 since multiple switched shunts are allowed at a bus.

The subroutine call is now SUBROUTINE XXXXXX(ISW,ISLOT), where ISW is the internal number of the switched shunt.

Since the switched shunt index (ISW) is an input into the model, any references to NSWICH (which was used to obtain the switched shunt index earlier) need to be removed.

See Chapter " Changes in Dynamics when Modeling Multiple Switched Shunts" in rev 35 Release Notes.

edit flag offensive delete link more

Comments

Thanks for your suggestion.

CPReddy gravatar imageCPReddy ( 2022-10-28 13:43:30 -0600 )edit
0

answered 2022-08-08 08:55:48 -0600

Alex P gravatar image

Try

CALL SWSSEQ(IB, ID, 0, ISW)

IB is the bus sequence nmber (input) (Use BSSQNC to get this from the regular bus number).

ID is the shunt ID number (input)

ISW is the switch shunt sequence number (output)

PSS/E FORTRAN documentation is really underwhelming.

edit flag offensive delete link more

Comments

Hi Alex, Yes, now my code is working. Thanks for your support.

CPReddy gravatar imageCPReddy ( 2022-10-28 13:43:01 -0600 )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

1 follower

Stats

Asked: 2022-08-03 19:45:06 -0600

Seen: 470 times

Last updated: Aug 08 '22