Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PSSE excel export problems( pssexcel)

I need help.

When I use pssexcel.accc in python, I have the following error. Do you know hot to fix this?

pssexcel.accc(caseset+'.acc', string=['s','e','b','','v','','',''],colabel='',stype='', busmsm=0.5,rating='a', namesplit=True,xlsfile=caseset, sheet='', overwritesheet=True, show=True,ratecon='c', baseflowvio=True, basevoltvio=True,flowlimit=95, flowchange=0.0, voltchange=0.0)

File ".\pssexcel.py", line 1387, in accc File ".\pssexcel.py", line 575, in accccoevents File ".\excelpy.py", line 826, in setrange File ".\excelpy.py", line 1186, in activerange File "C:\Python27\lib\site-packages\win32com\genpy\00020813-0000-0000-C000-000000000046x0x1x7\Range.py", line 686, in call , ColumnIndex) File "C:\Python27\lib\site-packages\win32com\client_init_.py", line 456, in _ApplyTypes self.oleobj.InvokeTypes(dispid, 0, wFlags, retType, argTypes, *args), com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2146827284), None)

PSSE excel export problems( pssexcel)

I need help.

When I use pssexcel.accc in python, I have the following error. Do you know hot how to fix this?this? I do not know why I have this errors.

pssexcel.accc(caseset+'.acc', string=['s','e','b','','v','','',''],colabel='',stype='', busmsm=0.5,rating='a', namesplit=True,xlsfile=caseset, sheet='', overwritesheet=True, show=True,ratecon='c', baseflowvio=True, basevoltvio=True,flowlimit=95, flowchange=0.0, voltchange=0.0)

File ".\pssexcel.py", line 1387, in accc File ".\pssexcel.py", line 575, in accccoevents File ".\excelpy.py", line 826, in setrange File ".\excelpy.py", line 1186, in activerange File "C:\Python27\lib\site-packages\win32com\genpy\00020813-0000-0000-C000-000000000046x0x1x7\Range.py", line 686, in call , ColumnIndex) File "C:\Python27\lib\site-packages\win32com\client_init_.py", line 456, in _ApplyTypes self.oleobj.InvokeTypes(dispid, 0, wFlags, retType, argTypes, *args), com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2146827284), None)