1

psspy.strt and psspy.strt_2 not working

Hi,

I am running a dynamic simulation(FRT study). I was using pyscripter, when I debugged the code, I found that at "psspy.strt" command the code stops abruptly after adding all DLLs. I checked the API and updated the code to "psspy.strt_2" but still that issue is not solved.

Has anyone faced this issue before, any leads or suggestions would be appreciated

Thanks.

SAI_PK's avatar
11
SAI_PK
asked 2024-03-13 18:08:31 -0500, updated 2024-03-13 18:43:27 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

Check the error code from the API:

ierr = psspy.strt_2(options, outfile)
print(ierr)
perolofl's avatar
3.8k
perolofl
answered 2024-03-14 05:24:12 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

In case psspy.strt2 is not working: this might be due to old PSSE version , so we can change to strt(0, "") instead of strt2([0,0],"") and it will be working

Muhammad_U3's avatar
1
Muhammad_U3
answered 2025-06-26 03:05:48 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer