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

Ask Your Question
0

Save .raw case after updating the transformer limits in python

asked Aug 31 '2

yugpatel22 gravatar image

updated Aug 31 '2

Hello! I have a quick question to save .raw case in the python script.

I am implementing a python script for changing the voltage limits of the 2-winding transformer using this function from the PSSEv35 API: twowindingchng_6. The code is running without any error and I can see the voltage limit changes being made in the Logfile that is generated after the run. However, I am unable to see these changes in the .raw case file even if I reopen it in PSSE after the successful script run. If you can help me get around this issue or point to a helpful API function that would be great. Cheers!

1 answer

Sort by » oldest newest most voted
0

answered Sep 1 '2

perolofl gravatar image

The API will only change the value in the working files. You have to save current data to a raw data file with API RAWD_2.

link

Comments

That was helpful. Appreciate your response!

yugpatel22 gravatar imageyugpatel22 (Sep 1 '2)

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: Aug 31 '2

Seen: 341 times

Last updated: Sep 01 '22