First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version | asked 2018-02-12 18:18:28 -0500 Anonymous |
Hello,
I am using the API command psspy.aflowreal to get active power flow of branches in a subsystem. Problem is, using this command does not indicate which value is which.
For example, aflowreal returns:
[10, -9, 20, -21, 30, -29]
Where I'm trying to get:
[ [10, (bus1, bus2)], [-9, (bus2, bus1)], [20, (bus2, bus3)], .... ]
Does anybody have an idea of how I can implement this in my script??
Thanks!!
2 | No.2 Revision |
Hello,
I am using the API command psspy.aflowreal to get active power flow of branches in a subsystem. Problem is, using this command does not indicate which value is which.belongs to which 'to and from' bus number.
For example, aflowreal returns:
[10, -9, 20, -21, 30, -29]
Where I'm trying to get:
[ [10, (bus1, bus2)], [-9, (bus2, bus1)], [20, (bus2, bus3)], .... ]
Does anybody have an idea of how I can implement this in my script??
Thanks!!