Ask Your Question
0

Apply a disturbance at a specific time

asked 2021-03-08 13:14:14 -0500

maryam gravatar image

updated 2021-03-08 13:15:22 -0500

I want to apply a fault at a specific time in the network. But I don't know how to set the time. I have used the following command. Could you please help me, for example, I want to trip a line between bus 1 and 2 at time 10 seconds and the fault clean at time 15 sec.

I have tried to put the following in the code style, but I could not:(

psspy.dist_branch_fault(2, 3, r"""1""", 1, 13.8, [0.0, -10]) #\\ psspy.dist_branch_fault(4, 5, r"""1""", 1, 100.0, [0.0, -10])\\ psspy.dist_bus_fault(6, 1, 230.0, [0.0, -1000]) #fault at a bus

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2021-03-08 14:01:59 -0500

jconto gravatar image

The time under fault (5 sec = 15-10) is too long! Check the examples below. Check the commands at API manual for details.

# fault at branch 2-3-'1':
psspy.run(0, 10.0,9,9,0)           #run to 10 sec (second value)
psspy.dist_branch_fault(2,3,r"""1""",1, 0,[0.0,-0.2E+10])
psspy.run(0, 10.15,5,1,0)             #run under fault for 0.15 sec = 9 cycles @ 60 Hz
psspy.dist_clear_fault(1)
#psspy.dist_branch_trip(2,3,r"""1""") 
#continue with simulation
psspy.run(0, 21.0,9,9,0)

# fault at bus 2:
psspy.run(0, 10.0,9,9,0)
psspy.dist_bus_fault(2,1, 0,[0.0,-0.2E+10])
psspy.run(0, 10.1,1000,1,0)          #run under fault for 0.1 sec = 6 cycles @ 60 Hz
psspy.dist_clear_fault(1)
#psspy.dist_branch_trip(2,3,r"""1""") 
#continue with simulation
edit flag offensive delete link more

Comments

@jconto Thank you so much. You are always helpful.

maryam gravatar imagemaryam ( 2021-03-08 14:11:54 -0500 )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

1 follower

Stats

Asked: 2021-03-08 13:14:14 -0500

Seen: 211 times

Last updated: Mar 08 '21