Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to export ANSI value to txt

I need to calculate a lot of fault leve cases. so is there any way to export the output bar ANSI results into a txt or ideally csv file>

how to export ANSI value to txt

I need to calculate a lot of fault leve cases. so is there any way to export the output bar ANSI results into a txt or ideally csv file>

Currently I am using the syntax below

recdFN=r"recd.recd"

psspy.alertoutput(2,recdFN,[0,0]) psspy.progressoutput(2,recdFN,[0,0]) psspy.prompt_output(2,recdFN,[0,0])

Filelist = ['a.sav','b.sav']

for i in Filelist: psspy.case(i) psspy.ansi_3([0,0,0,4,0],[ 40.0, 80.0, 40.0, 80.0],1,[45110],[0],[ 1.0],[ 0.02],"")

the output recd file only includes the progress message but no ANSI_3 output message we can see on the screen.

click to hide/show revision 3
No.3 Revision

how to export ANSI value to txt

I need to calculate a lot of fault leve cases. level cases, so is there any way to export the output bar ANSI results into a txt or ideally csv file> file.

Currently I am using the syntax below

recdFN=r"recd.recd"

recdFN=r"recd.recd"
 psspy.alert_output(2,recdFN,[0,0])
psspy.progress_output(2,recdFN,[0,0])
psspy.prompt_output(2,recdFN,[0,0])
 

psspy.alertoutput(2,recdFN,[0,0]) psspy.progressoutput(2,recdFN,[0,0]) psspy.prompt_output(2,recdFN,[0,0])

Filelist = ['a.sav','b.sav']

['a.sav','b.sav']

for i in Filelist: psspy.case(i) psspy.ansi_3([0,0,0,4,0],[ 40.0, 80.0, 40.0, 80.0],1,[45110],[0],[ 1.0],[ 0.02],"")

0.02],"")

the output recd file only includes the progress message but no ANSI_3 output message we can see on the screen.