Ask Your Question

How to get PLBVFU1 to do frequency and voltage change inside script

asked 2018-06-20 20:52:02 -0500

haveityourwa gravatar image

Hey, I don't know if I am being totally stupid here but for some reason when I try to use the PLBVFU1 inside of my script (by simply running a blank dynamic run) I do not get the desired effect, however when I run the same model inside PSSE V34 itself with the same .plb and dyr file I get the expected result. Is it possible to do with the location of the .plb file ? Not sure, any tips would be appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-06-21 09:34:03 -0500

jconto gravatar image

updated 2018-06-23 10:32:56 -0500

When using PSSe GUI ('inside' mode) the working folder is set when you load the case and the plb file location should be on it. In a script (outside the PSSe GUI), the working folder (containing the sav and plb files) could be set explicitly in the code or by default, is set to the folder from where it was launched. Exa.:

savpath = c:\\abc\\cases   
os.chdir(savpath)         # change working dir to find *.plb file'mycase.sav')  # located at savpath
edit flag offensive delete link more


Thanks Jconto, found this out yesterday by fiddling and didn't get a chance to reply to my own question. Do you have some example of how to set it in code by any chance, or somewhere where there is information about how the PLBVFU1 model functions. I had a look at your google drive link about this _

haveityourwa gravatar imagehaveityourwa ( 2018-06-21 19:12:08 -0500 )edit

_ and was unable to make heads or tails about this. Cheers

haveityourwa gravatar imagehaveityourwa ( 2018-06-21 19:12:27 -0500 )edit

Thanks for the update on answer

haveityourwa gravatar imagehaveityourwa ( 2018-06-23 10:34:59 -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: 2018-06-20 20:52:02 -0500

Seen: 68 times

Last updated: Jun 23