Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to read dynamic simulation result (time-series) in python

Hi experts,

i'm new in dynamic analysis by using PSS/E through python. May i ask there are any Python command can be used to get the channel results after running dynamic simulation? I have found some answers that can export the results to excel, but i hope to get those results directly and do some calculation only in python. Thank you for all valuable information.

David

How to read dynamic simulation result (time-series) in python

Hi experts,

i'm I'm new in dynamic analysis by using PSS/E through python. May When i ask there are any use Python command can be used (dyntools.CHNF) to get the channel results after running dynamic simulation? I have found some answers that can export the results simulation, commands are as following:

dyntools.CHNF('C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\AA.outx')

But i got following wrong messages, does anyone know how to excel, but i hope to get those results directly and do some calculation only in python. solve these problem?. Thank you for all any valuable information.

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

David