First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I have followed all of the tutorial on this site fore setting up and running load flows in PSSe 33. I have a .acc file and I'm trying to import this data to Excel 2010. ... ACCFILE = r"""H:......\sample_N-1.acc""" import psspy, redirect, pssexcel pssexcel.accc( accfile = ACCFILE, string=['s','e','b'], colabel='', stype='contingency', busmsm=0.5, sysmsm=5.0, rating='a', namesplit=True, xlsfile='Book1.xls', sheet='', overwritesheet=True, show=True, ratecon='b', baseflowvio=False, basevoltvio=False, flowlimit=100.0, flowchange=0.0, voltchange=0.0 )
The output is: File ".\pssexcel.py", line 1140, in accc File ".\pssexcel.py", line 253, in openworkbook_worksheets File ".\excelpy.py", line 1892, in workbook File ".\excelpy.py", line 194, in init TypeError: float() argument must be a string or a number
Any suggestions? I have the win23api in the PSSE33\PSSBIN folder.
2 | No.2 Revision |
I have followed all of the tutorial on this site fore setting up and running load flows in PSSe 33. I have a .acc file and I'm trying to import this data to Excel 2010.
...
`en....
ACCFILE = r"""H:......\sample_N-1.acc"""
import psspy, redirect, pssexcel
pssexcel.accc(
accfile = ACCFILE,
string=['s','e','b'],
colabel='',
stype='contingency',
busmsm=0.5,
sysmsm=5.0,
rating='a',
namesplit=True,
xlsfile='Book1.xls',
sheet='',
overwritesheet=True,
show=True,
ratecon='b',
baseflowvio=False,
basevoltvio=False,
flowlimit=100.0,
flowchange=0.0,
voltchange=0.0
)
The output is:
File ".\pssexcel.py", line 1140, in accc
File ".\pssexcel.py", line 253, in openworkbook_worksheets
File ".\excelpy.py", line 1892, in workbook
File ".\excelpy.py", line 194, in init
TypeError: float() argument must be a string or a numbernumber`
Any suggestions? I have the win23api in the PSSE33\PSSBIN folder.
3 | No.3 Revision |
I have followed all of the tutorial on this site fore for setting up and running load flows in PSSe 33. I have a .acc file and I'm trying to import this data to Excel 2010.
`en....
`en....
ACCFILE = r"""H:......\sample_N-1.acc"""
import psspy, redirect, pssexcel
pssexcel #end imports
pssexcel.accc( accfile = ACCFILE, string=['s','e','b'], colabel='', stype='contingency', busmsm=0.5, sysmsm=5.0, rating='a', namesplit=True, xlsfile='Book1.xls', sheet='', overwritesheet=True, show=True, ratecon='b', baseflowvio=False, basevoltvio=False, flowlimit=100.0, flowchange=0.0, voltchange=0.0 )
The output is: File ".\pssexcel.py", line 1140, in accc File ".\pssexcel.py", line 253, in openworkbook_worksheets File ".\excelpy.py", line 1892, in workbook File ".\excelpy.py", line 194, in init TypeError: float() argument must be a string or a number`
Any suggestions? I have the win23api in the PSSE33\PSSBIN folder.