Ask Your Question

Need python code for load removal from load bus during dynamic simulation

asked 2018-05-14 02:03:03 -0500

Sazzad gravatar image

Hello, Thanks for ur support I need to curtail some amount of loads from different buses during dynamic simulation. Load curtailment may be on basis of frequency deviations from steady state (e.g., if freq<49.5 then shed 0.5 p.u from 3bus, 4bus etc.). How can I do that by writing python code and then at the end of simulation I need to see the total amount of load shedding and extract report?

Thanks in advance Sazzad

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-05-15 10:30:09 -0500

EBahr gravatar image

Take a look at the LDSHBL model in the MODELS.pdf documentation. For your example, you can add something similar to the following to your .dyr: 3, 'LDSHBL', '1', 49.5, 0.2, 0.5, 0, 0, 0, 0, 0, 0, 0.05 /

Where 3 is the bus number, '1' is the load ID, 49.5 is your setpoint frequency for shedding, 0.2 is the pickup time of the relay, 0.5 is the pu amount of load to shed, and 0.05 is the breaker time. Of course, your delays might be a bit different and would depend on your relay and breaker timings.

edit flag offensive delete link more


Thanks for your reply. I have done this before and it works fine. But I was wondering that, this can be done by python or not. If so many thing will become easier for me.

Sazzad gravatar imageSazzad ( 2018-05-16 00:48:26 -0500 )edit

answered 2018-05-15 00:02:22 -0500

perolofl gravatar image

It is better to use a load shedding model to curtail loads, see Dynamic Models manual. Python is the wrong tool to use here!

edit flag offensive delete link more

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


Asked: 2018-05-14 02:03:03 -0500

Seen: 57 times

Last updated: May 15