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

Ask Your Question
0

Run power flow using the result of economic dispatch

asked Mar 7 '4

JQ gravatar image

HI,

I want to reset real power output of generators according to the results of economic dispatch and then re-run power flow. How can I do that?

For example, there are 2 generators in the system, and their real power output (pgen1, pgen2) of economic dispatch is 200MW, and 150 MW. Is there any python command (syntax) that I can run power flow with pgen1=200MW, and pgen2=150MW?

I use the following python code to run unit commitment and economic dispatch: psspy.ecdi(0,1,1,r"C:\Users\JQ\Documents\PTI\PSSE35\EXAMPLE\XXX.ecd",0,[0.0,0.0]) psspy.ecdi(0,1,2,r"C:\Users\JQ\Documents\PTI\PSSE35\EXAMPLE\XXX.ecd",0,[0.0,0.0]) psspy.ecdi(0,1,3,r"C:\Users\JQ\Documents\PTI\PSSE35\EXAMPLE\XXX.ecd",0,[ 350, 100.0]) psspy.ecdi(0,1,4,r"C:\Users\JQ\Documents\PTI\PSSE35\EXAMPLE\XXX.ecd",0,[350,100.0])

Thanks, JQ

1 answer

Sort by » oldest newest most voted
0

answered Mar 7 '4

perolofl gravatar image

The new dispatch is already in PGEN. Just solve the new load flow in the normal way, e.g. psspy.fnsl().

link

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

1 follower

Stats

Asked: Mar 7 '4

Seen: 395 times

Last updated: Mar 07 '24