Ask Your Question

Is there any alternative function command for NSWICH in v35 ?

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

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

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

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


Thanks for your suggestion.

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

answered 2022-08-08 08:55:48 -0500

Alex P gravatar image



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


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

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

1 follower


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

Seen: 442 times

Last updated: Aug 08 '22