Ask Your Question
0

PSSE crashing in dynamics simulation

asked 2020-01-28 12:24:33 -0600

Garrin gravatar image

updated 2020-01-28 12:27:07 -0600

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 !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-01-29 21:46:34 -0600

bikiran1991 gravatar image

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.

edit flag offensive delete link more

Comments

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

Garrin gravatar imageGarrin ( 2020-02-03 10:27:14 -0600 )edit

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

2 followers

Stats

Asked: 2020-01-28 12:24:33 -0600

Seen: 1,216 times

Last updated: Jan 29 '20