Ask Your Question
0

Strt problem between GUI and python

asked 2020-06-09 03:24:09 -0500

dunguyen9003 gravatar image

updated 2020-06-09 08:29:52 -0500

jconto gravatar image

Hi all, I used IEEE-39bus model which has 1 GAST2A model.

First, I used GUI to run STRT/RUN. Everything is normal. The message showed below. However, I tried to change this one into python. When I applied STRT API, the results are not the same.

Pls, help me with this case. I really did not know why. The second result is copied from (STRT) .out file when I used python.

the first result (1)
 INITIAL CONDITION LOAD FLOW USED 1 ITERATIONS

 ----------------------------- MACHINE INITIAL CONDITIONS -----------------------------
   BUS#-SCT X-- NAME --X BASKV ID  ETERM   EFD    POWER    VARS   P.F.  ANGLE   ID     IQ
    101     NUC-A       21.600 1  1.0200 1.3450  450.00  -66.03 0.9894  49.64 0.2681 0.4167
    102     NUC-B       21.600 1  1.0200 1.2743  400.00  -67.69 0.9860  46.15 0.2101 0.3888
    206     URBGEN      18.000 1  1.0122 1.6696  409.99  247.92 0.8557  18.76 0.3687 0.2968
    211     HYDRO_G     20.000 1  1.0478 1.2520  350.00 -100.00 0.9615  46.96 0.1984 0.4362
   3011     MINE_G      13.800 1  1.0400 1.2682  211.59   16.89 0.9968  14.97 0.0682 0.1924
   3018     CATDOG_G    13.800 1  1.0523 2.9886  100.00   80.00 0.7809  24.10 0.8429 0.4074

  INITIAL CONDITIONS SUSPECT:
      I   DSTATE(I)    STATE(I)     MODEL             STATE     BUS#-SCT X-- NAME --X BASKV  ID
     60   0.66169      -1.0836      GAST2A             K+5       101     NUC-A       21.600  1

the second result (1)

 PTI INTERACTIVE POWER SYSTEM SIMULATOR--PSS(R)E     TUE, JUN 09 2020  16:49
 PSS(R)E PROGRAM APPLICATION GUIDE EXAMPLE
 BASE CASE INCLUDING SEQUENCE DATA

 INITIAL CONDITION LOAD FLOW USED 1 ITERATIONS

 ----------------------------- MACHINE INITIAL CONDITIONS -----------------------------
   BUS#-SCT X-- NAME --X BASKV ID  ETERM   EFD    POWER    VARS   P.F.  ANGLE   ID     IQ
    101     NUC-A       21.600 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000
    102     NUC-B       21.600 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000
    206     URBGEN      18.000 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000
    211     HYDRO_G     20.000 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000
   3011     MINE_G      13.800 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000
   3018     CATDOG_G    13.800 1  0.0000 0.0000    0.00    0.00 0.0000   0.00 0.0000 0.0000

 Network not converged at TIME = -0.0167

 INITIAL CONDITIONS CHECK O.K.
edit retag flag offensive close merge delete

Comments

The "second result" has all of the machine initial condition result parameters at zero, which makes me think that you have not loaded some of the files correctly. Are you sure that you have loaded the CNV and SNP files correctly using Python before trying to do the STRT command in Python?

jfconroy gravatar imagejfconroy ( 2020-06-09 08:35:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-06-09 08:35:24 -0500

jconto gravatar image

Repeat the GUI process but record it to python. Then compare both python scripts for a different in activities. Check if the dyre file is being read in the python code. My guess is that the python script is picking (or not) up a different filename that in the GUI process. Use a log file in the python code and review it.

Post the python script

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2020-06-09 03:24:09 -0500

Seen: 284 times

Last updated: Jun 09 '20