Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Added parameter "outvrsn=0" to "CHNF" call. Now the code works ok in v.33, v.34 and v.35:

import pandas as pd
import psse35           # update for v.33, 34, 35
import dyntools

archivoout="IEEE39_flat.out"
datos_excel = dyntools.CHNF(archivoout,outvrsn=0)
datos_excel.xlsout(channels='', show=False)         #export ALL channels!
Worbook1 = 'IEEE39_flat.xlsx'
df=pd.read_excel(Worbook1)
print(df.head())