Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Exporting PV curve data from PSS/E to excel

Hi everybody I have used PSS/E for some time now but there are still a lot of thinks I don’t know how to do in PSS/E so I need some help. I want to export some PV curves from PSS/E to excel. I am using the following python code import pssexcel

string = ['v']

colabel = []

xlsfile = 'Book1.xlsx'

sheet = ' '

overwritesheet = False

show = False

namesplit = True

pssexcel.pv(nocap.pv,string,colabel=colabel,namesplit=namesplit,xlsfile=xlsfile,sheet=sheet, overwritesheet=overwritesheet,show=show)

print "Done"

And PSS/E is giving me the following error message

Executing Python file:H:\PV to excel\PV to excel.py

Traceback (most recent call last):

File "H:\PV to excel\PV to excel.py", line 3, in <module>

import pssexcel

File ".\pssexcel.py", line 36, in <module>

File ".\excelpy.py", line 168, in <module>

File "C:\Python27\lib\site-packages\win32com_init_.py", line 5, in <module>

import win32api, sys, os

ImportError: DLL load failed: The specified module could not be found.

Couldn't open Python file:H:\PV to excel\PV to excel.py

I am using PSS/E ver. 33

Does anyone know why this is not working??

All help or clues are very much appreciated

Best regards Thomas