0

PSSE crashing in dynamics simulation

Hi! Im having troubles while running dynamic studies. Heres the code Im using:

   psspy.dyre_new(dyrefile=dyr)
   psspy.addmodellibrary(dsuser)
   # Add channels individually
   #   MACHINE QUANTITY
   psspy.machine_array_channel([1,2,2645],r"""1""","")
   psspy.machine_array_channel([2,4,2645],r"""1""","")
   psspy.machine_array_channel([3,7,2645],r"""1""","")
   psspy.machine_array_channel([4,2,2669],r"""1""","")
   psspy.machine_array_channel([5,4,2669],r"""1""","")
   psspy.machine_array_channel([6,7,2669],r"""1""","")
   psspy.machine_array_channel([7,2,2668],r"""3""","")
   psspy.machine_array_channel([8,4,2668],r"""3""","")
   psspy.machine_array_channel([9,7,2668],r"""3""","")
   psspy.snap(sfile=snp)
   print("Creation of base.out")
   psspy.strt_2([0,1],r"""base.out""")
   psspy.run(0, 0,0,1,0)
   print("Creation of fault.out")
   psspy.strt_2([0,1],r"""fault.out""")
   print("Fault occurs in bus 2325")
   psspy.dist_bus_fault(2325,1, 132.0,[0.0, 0.1E+20])
   psspy.change_channel_out_file(r"""fault.out""")
   print("Run til breakers open")
   psspy.run(0, 0.1,0,1,0)
   print("Clear fault")
   psspy.dist_clear_fault(1)
   print("Trip the line")
   psspy.dist_branch_trip(2339,2325,r"""1""")
   psspy.change_channel_out_file(r"""fault.out""")
   print("Run for 10s")
   psspy.run(0, 10.0,0,1,0)

The problem is that, at about 0.06 seconds, the program crashes. The fault.out file, though, has some information on it. Looks like at that time the buses im monitoring drops to 0 kV and 0 MVA, while the speed keeps decreasing, but thats about the time the graphs show me. My guess is that the whole system crash down, and so does PSSE. Link to the graph I get before the program crashes: https: //imgur.com/a/ vmTWp4t Any ideas what could be causing the issue ? Should I upgrade my computer to run this big system ? Thanks !

Garrin's avatar
3
Garrin
asked 2020-01-28 12:24:33 -0500, updated 2020-01-28 12:27:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You should look into the psse log. It should give you more insight into what happened. My guess is that there are some NaN values in the output file which makes it corrupted.

bikiran1991's avatar
47
bikiran1991
answered 2020-01-29 21:46:34 -0500
edit flag offensive 0 remove flag delete link

Comments

Hi thanks for your answer. How do I see the log error in PSSE ? What are NaN values ? Regards

Garrin's avatar Garrin (2020-02-03 10:27:14 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer