Ask Your Question
0

CHKPRG Error, Bad revision number

asked 2015-02-24 09:23:09 -0500

anonymous user

Anonymous

I have two versions of PSS/E installed, 32 and 33, and am trying to use python code to solve a power flow solution in PSS/E 32. I get this error when I try to run my python code:

CHKPRG Error Bad revision number 32 for program PSSE Was expecting 33

This is the first time I'm trying to use PSSE v32 with python after I've installed v33, so the first time I've seen this error.

Is there anything I can do to correct it?

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-24 17:23:49 -0500

jconto gravatar image

I also have PSSe v.32 (+python 2.5) and v.33 (+python 2.7), and have not have such error.

If a *.py code import another, the second *.py gets compiled into a *.pyc format for the python version in use.

are you running the *.py code from GUI? (No problems running *.py but be ware of *.pyc since they got compile for the python version they were called in) If running from outside the GUI (DOS window), make sure all the paths correspond to the PSSe version and python you want to use.

edit flag offensive delete link more

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

Stats

Asked: 2015-02-24 09:23:09 -0500

Seen: 1,015 times

Last updated: Feb 27 '15