Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to troubleshoot models and strt()

Hey, I am relatively new to Python and PSSE and I was hoping that I could get some help in understanding my errors.

I am trying to implement an automated script that runs through dynamic cases, I have converted the majority of it over from an IDV file of a known working case and my script works for that case. My problem is that when I try to generalize my script for use with other case files, I seem to be getting errors. I know that these other case files should work and they are from a list of past work and I believe that I have included all necessary models, but I am consistently getting the following error when I try to initalise:

File ".\psspy.py", line 27837, in run
psspy.RunError: run Error: ierr=1

Messages for api RUN
Activity RUN is invalid--activity STRT needs to be executed

above this, the console is printing out the following when strt() is called, all in red indicating error:

 ** GWPM28 ** at bus 1 machine 1 

  Uses CONs 1-77   ICONs 1-5   STATEs 1-18   VARs 1-46


  ** GWCT28 ** at bus 1 machine 1 

  Uses CONs 278-297   ICONs 6-6   STATEs 105-107   VARs 47-51


  ** GWME28 ** at bus 1 machine 1 

  Uses CONs 388-398   ICONs 7-7   STATEs 138-139   VARs 52-55

I am also running psspy.okstrt() and that returns a 0 indicating that there is no issue with my strt() function.

my general code works for the first case and is relatively basic so I wont leave it here, I can post if requested though.

Any help will be appreciated,
Thank you,
- Ian

How to troubleshoot models and strt()Activity RUN is invalid--activity STRT needs to be executed

Hey, I am relatively new to Python and PSSE and I was hoping that I could get some help in understanding my errors.

I am trying to implement an automated script that runs through dynamic cases, I have converted the majority of it over from an IDV file of a known working case and my script works for that case. My problem is that when I try to generalize my script for use with other case files, I seem to be getting errors. I know that these other case files should work and they are from a list of past work and I believe that I have included all necessary models, but I am consistently getting the following error when I try to initalise:

File ".\psspy.py", line 27837, in run
psspy.RunError: run Error: ierr=1

Messages for api RUN
Activity RUN is invalid--activity STRT needs to be executed

above this, the console is printing out the following when strt() is called, all in red indicating error:

 ** GWPM28 ** at bus 1 machine 1 

  Uses CONs 1-77   ICONs 1-5   STATEs 1-18   VARs 1-46


  ** GWCT28 ** at bus 1 machine 1 

  Uses CONs 278-297   ICONs 6-6   STATEs 105-107   VARs 47-51


  ** GWME28 ** at bus 1 machine 1 

  Uses CONs 388-398   ICONs 7-7   STATEs 138-139   VARs 52-55

I am also running psspy.okstrt() and that returns a 0 indicating that there is no issue with my strt() function.

my general code works for the first case and is relatively basic so I wont leave it here, I can post if requested though.

Any help will be appreciated,
Thank you,
- Ian

Activity RUN is invalid--activity STRT needs to be executed

Hey, I am relatively new to Python and PSSE and I was hoping that I could get some help in understanding my errors.

I am trying to implement an automated script that runs through dynamic cases, I have converted the majority of it over from an IDV file of a known working case and my script works for that case. My problem is that when I try to generalize my script for use with other case files, I seem to be getting errors. I know that these other case files should work and they are from a list of past work and I believe that I have included all necessary models, but I am consistently getting the following error when I try to initalise:

File ".\psspy.py", line 27837, in run
psspy.RunError: run Error: ierr=1

Messages for api RUN
Activity RUN is invalid--activity STRT needs to be executed

above this, the console is printing out the following when strt() is called, all in red indicating error:

 ** GWPM28 ** at bus 1 machine 1 

  Uses CONs 1-77   ICONs 1-5   STATEs 1-18   VARs 1-46


  ** GWCT28 ** at bus 1 machine 1 

  Uses CONs 278-297   ICONs 6-6   STATEs 105-107   VARs 47-51


  ** GWME28 ** at bus 1 machine 1 

  Uses CONs 388-398   ICONs 7-7   STATEs 138-139   VARs 52-55

I am also running psspy.okstrt() and that returns a 0 indicating that there is no issue with my strt() function.

my general code works for the first case and is relatively basic so I wont leave it here, I can post if requested though.

Any help will be appreciated,
Thank you,
- Ian