First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

How to automatic update file sld when the bus number in file sav changing

asked Sep 18 '16

mit0110 gravatar image

Hi everyone. I have a file SLD with the database of a file .sav. When I change the bus number in file .sav, file sld become unbound. So I must redraw it. I would like to PSSE automatic update this file SLD when the database change. Thank all.

2 answers

Sort by » oldest newest most voted
0

answered Jun 14 '4

KTBZ gravatar image

When changing the bus number with the python API, you need to use the following function:

renumdiagfile(trnfile)

where the trnfile is a text file in the form:

OLDBUSNUMBER, NEWBUSNUMBER

Eventually, you shall save the file. These other two functions may be of useful:

opendiagfile(sfile) savediagfile(sfile)

link
0

answered Sep 19 '16

perolofl gravatar image

It's easy. All SLD's that are opened will automatically be updated when you change the bus number in file .sav. You have to save the diagram afterwards.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Sep 18 '16

Seen: 1,010 times

Last updated: Jun 14 '24