Ask Your Question

Rick's profile - activity

2019-07-04 03:33:52 -0500 received badge  Famous Question (source)
2019-06-23 20:23:52 -0500 commented answer how to export ANSI values to txt

thanks I try this way and works well

2019-06-23 20:23:28 -0500 commented answer how to export ANSI values to txt

Thanks, I tried this way and works well

2019-06-23 20:23:03 -0500 received badge  Notable Question (source)
2019-06-20 18:35:53 -0500 received badge  Popular Question (source)
2019-06-18 23:02:56 -0500 received badge  Editor (source)
2019-06-18 22:59:10 -0500 asked a question how to export ANSI values to txt

I need to calculate a lot of fault level 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.alert_output(2,recdFN,[0,0])
psspy.progress_output(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.