First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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 Thanks !
2 | No.2 Revision |
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 !