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

Ask Your Question
0

How to change dynamic simulation options using python

asked Jun 1 '16

TimoHalttunen gravatar image

Hi all,

I'm running dynamic simulations through API using Python. In dynamic simulation options I need to change parameter "Check model data during initialization - Enable checking". Can this be done? I've searched quite a while the API for a method for this action.

Thanks in advance!

1 answer

Sort by » oldest newest most voted
1

answered Jun 10 '16

TimoHalttunen gravatar image

Actually ended up finding the answer using PSSE support. You can't. It is a option which is checked from registry and changes made will affect the registry. In my installation of PSSE the path to this registrykey is: HKEYCURRENTUSER\Software\PTI\PSSE33\Dynamic Options\DynPrecludeRun

So to change this option use regedit the way you prefer. I used just the regular regedit, because I was able to varify that this option doesen't change unless somebody willingly checks it while using PSSE.

link

Comments

So to activate "Check model data during initialization - Enable checking", the "DynPrecludeRun" value is changed from 1 to 0. What happen to your simulation after that (before/after)?

jconto gravatar imagejconto (Jun 11 '16)
1

I think you are incorrect. It is the opposite, so you set the DynPreculdeRun to 1 to Enable checking. Between the two simulations there were a small difference. I don't know what Enable checking does, but there was a difference.

TimoHalttunen gravatar imageTimoHalttunen (Jun 14 '16)

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

1 follower

Stats

Asked: Jun 1 '16

Seen: 1,790 times

Last updated: Jun 10 '16