0

Python syntax to view the result of economic dispatch

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

JQ's avatar
1
JQ
asked 2024-03-06 21:54:00 -0500, updated 2024-03-06 21:55:24 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

perolofl's avatar
3.8k
perolofl
answered 2024-03-07 01:57:16 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer