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

Ask Your Question
0

PSSE 33.12 dyntools pssplotc issue

asked Sep 11 '18

oppossumX gravatar image

Has anyone tried using dyntools in PSSE 33.12? I am getting the following import error when using the CHNF and OUTDATA classes.

    outobj = dyntools.OUTDATA(thefile, 1, None)
  File ".\dyntools.py", line 231, in __init__
  File ".\dyntools.py", line 286, in _get_data_fortran
ImportError: No module named pssplotc

I can see the pssplotc.pyd file in the PSSPY27 and PSSPY34 folders of my PSSE 34 install but can't find it anywhere in my PSSE 33 install folder. I am using the same scripts and files that worked with PSSE 33.11 when running in PSSE 33.12.

1 answer

Sort by » oldest newest most voted
2

answered Sep 11 '18

jconto gravatar image

Scripts for v.33.11 cannot be used for v.33.12 when using dyntools. Now the optional variable 'outvrsn' has to be named in the calling function:

MyOUTVRSN = 0
# OK call for v.33.11:
chnfobj = dyntools.CHNF(outfile,MyOUTVRSN)
#OK call for v.33.12:
chnfobj = dyntools.CHNF(outfile,outvrsn=MyOUTVRSN)
link

Comments

Thanks, this worked.

oppossumX gravatar imageoppossumX (Sep 12 '18)

I have been dealing with the same issue for 2 days. This works, thanks!

Michal gravatar imageMichal (Jul 28 '1)

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: Sep 11 '18

Seen: 1,555 times

Last updated: Sep 11 '18