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

Ask Your Question
0

Convert python to idv.

asked Jan 6 '17

vetero gravatar image

Hi, I want to convert a python file (.py) to .idv file, Can I do it ?

2 answers

Sort by » oldest newest most voted
0

answered Jan 8 '17

jconto gravatar image

PY to IDV conversion - Use the PSSe recording feature:

  • Load PSSe

  • Click the recording button and select to save as idv

  • run the py script, select first the file type as *.py

  • Click the stop button. The py command are translated in the idv file!

PY commands with no equivalent in IDV will be ignored.

The IDV to PY conversion is done similarly.

link

Comments

Thank you very much !

vetero gravatar imagevetero (Jan 9 '17)
0

answered Jan 4 '18

jeremy.harris.ee gravatar image

Is there an API to record an IDV and run a separate PY script? I have multiple PY files that make various changes to my case, and I would like to convert each of them to IDV. It would be a whole lot easier to write a script to convert all of these, rather than manually converting each.

link

Comments

I've found an API for PSEB and PSAS, which convert PSEB and PSAS files to idv, but can't seem to find anything for python.

jeremy.harris.ee gravatar imagejeremy.harris.ee (Jan 4 '18)

Nevermind, I was able to determine a fix for my issue of running python files.

jeremy.harris.ee gravatar imagejeremy.harris.ee (Jan 5 '18)

Hi Jeremy, is it possible for you to share the api to convert PSAS to idv?

Type1_bus gravatar imageType1_bus (Sep 22 '0)

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: Jan 6 '17

Seen: 3,816 times

Last updated: Jan 04 '18