Ask Your Question
1

What is the API for tripping and reconnecting loads

asked 2014-07-09 06:08:26 -0500

JS14 gravatar image

Which API can I use to trip loads at a bus bar using python and to reconnect it back during dynamic simulations? I tried to use the ldmod_status2 API but it doesn't trip the load. It just changes the status of the dynamic model attached to a load from on to off or vise versa.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-10 23:00:52 -0500

Eli Pack gravatar image

updated 2014-08-03 20:16:55 -0500

JervisW gravatar image

Perhaps you could move the load to a new bus, which is connected to the original bus via a zero impedance line. Use DIST_BRANCH_TRIP to trip the branch (and island the load), then use busdata2 to change the bus code to 1 before using DIST_BRANCH_CLOSE to reconnect it.

edit flag offensive delete link more
2

answered 2016-09-29 01:34:09 -0500

perolofl gravatar image

In dynamic simulations you have access to data changing APIs in PSSE listed in Chapter 2 of the API manual. You are not restricted to those listed in Chapter 4.13.

This means that you just use psspy.load_chng_4(ibus,id,[0]) to disconnect the load and psspy.load_chng_4(ibus,id,[1]) to reconnect the load again. It is so simple in PSSE!

Please use the tick symbol to remove the previous answer as correct, since it was merely a very complicated solution to your simple problem.

edit flag offensive delete link more
0

answered 2014-07-21 19:41:49 -0500

JS14 gravatar image

Thank you for your response. I have tried to run the dynamic simulation with the distbranchtrip and distbranchclose APIs. The zero impedance line trips when I use distbranchtrip API. However, after the circuit is set to out of service the bus where the load was connected is automatically disconnected because it becomes islanded with no in-service machines connected to it. Thus, when I use the distbranchclose API an error message is displayed saying that the bus is out-of-service and has type code=4 so the branch is not put back in service. Is there a way around this?

edit flag offensive delete link more

Comments

Hmmm... it seems like there must be a better way. I haven't tried this before, but what happens if you try changing the bus code right before closing onto it? Assuming a bus number of 10001: psspy.bus_data_2(10001,[1,_i,_i,_i],[_f,_f,_f],_s)

Eli Pack gravatar imageEli Pack ( 2014-07-21 22:01:44 -0500 )edit

Thank you. I have changed the bus code using the bus_data_3 API before closing the branch as you suggested and it has worked.

JS14 gravatar imageJS14 ( 2014-07-22 08:28:51 -0500 )edit

Glad to hear it is working at last. I've updated my original answer. Please use the tick symbol to mark it as correct so that the question is listed as solved.

Eli Pack gravatar imageEli Pack ( 2014-07-22 17:41:07 -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

Stats

Asked: 2014-07-09 06:08:26 -0500

Seen: 1,112 times

Last updated: Sep 29 '16