Ask Your Question
0

How to change dynamic simulation options using python

asked 2016-06-01 04:37:39 -0500

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!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-06-10 03:07:31 -0500

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.

edit flag offensive delete link more

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 ( 2016-06-11 08:51:48 -0500 )edit
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 ( 2016-06-14 05:12:00 -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

Stats

Asked: 2016-06-01 04:37:39 -0500

Seen: 1,738 times

Last updated: Jun 10 '16