Ask Your Question
0

Python syntax to view the result of economic dispatch

asked 2024-03-06 21:54:00 -0500

JQ gravatar image

updated 2024-03-06 21:55:24 -0500

Hi,

I use the following command to run unit commitment and economic dispatch in PSS/E: psspy.ecdi(0,1,3,r"C:\Users\XXX\Documents\PTI\PSSE35\EXAMPLE\savnw.ecd",0,[ 3520, 100.0])

What command shall I use to view the economic dispatch result (real power output of all the generators)?

Thanks, JQ

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-03-07 01:57:16 -0500

perolofl gravatar image

The new dispatch is in PGEN. Use psspy.macdat(ibus, id, 'P') for an individueal generator.

PGEN for all generators can be retrieved with API's amachint, amachchar and amachreal for ibus, id and PGEN respectively.

Please note that API ecdi must be called four times with APIOPT values 1, ,2, 3, 4 respectively.

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

1 follower

Stats

Asked: 2024-03-06 21:54:00 -0500

Seen: 69 times

Last updated: Mar 07