First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

PSSE crashing in dynamics simulation

asked Jan 28 '0

Garrin gravatar image

updated Jan 28 '0

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 !

1 answer

Sort by » oldest newest most voted
0

answered Jan 30 '0

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.

link

Comments

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

Garrin gravatar imageGarrin (Feb 3 '0)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: Jan 28 '0

Seen: 1,240 times

Last updated: Jan 29 '20