First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
There are two issues,
First, the 'encoding' issue:
Traceback (most recent call last):
File "\Mac\Home\Desktop\Dynamicsimulation.py", line 314,
in <module> dyntools.CHNF('C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\AA.outx')
File ".\dyntools.py", line 1023,
in init File ".\dyntools.py", line 351,
in _outextractdata File ".\dyntools.py", line 326,
in outextractid File ".\comonpy.py", line 176,
in byte2unicode File "C:\Python27\lib\encodings\utf8.py", line 16,
in decode return codecs.utf8decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xee in position 2: invalid continuation byte
It could be that your py code has an unrecognized character. Add as the first line in your code,something like:
# -*- coding: utf-8 -*-
There are different 'coding' options, check the net for others.
The second issue is the *.outx format of the simulation output file output, which is not compatible with the dyntools (at least in v.33). Check the post "PSS/e 34 dyntools module"