Get area interchange from 230kV lines only
As the title suggests, I'm looking for a method to find the area interchange on the 230kV lines.
When I enter ties area
into the PSSE command prompt, and pass the required area number (call it 987
for this example), I receive a print out which looks something like the following:
TO AREA 123 ABC
X---- FROM AREA BUS ----X X----- TO AREA BUS -----X
BUS# X-- NAME --X BASKV BUS# X-- NAME --X BASKV CKT MW MVAR
987123 BUS1 230.00* 123123 BUS4 230.00 1 13.9 -25.7
987456 BUS2 230.00* 123456 BUS5 230.00 1 110.7 -14.5
987789 BUS3 115.00* 123789 BUS6 115.00 1 -20.7 -3.0
TOTAL FROM AREA 987 TO AREA 123 -0.7 -48.3
Now, here's my question.
I know that I can use a command such as psspy.aritoj(987, 123)
. This will give me (-0.7 - 48.3j)
, a complex value representing the total net interchange between these areas. This is fine, and I use this at one point in my code.
The problem is that I am also interested in the interchange on the 230kV lines only: the value (124.6 - 40.2j)
in this example. (If it makes a difference, all that I need is the real portion of the value, I do not need the entire complex number)
I've been searching around the API and can't seem to find anything to get this value. (it cannot simply be printed to the screen as the ties
command does; I need it to be stored in a variable as well as it is to be used elsewhere in the script).
Is there any command which will get me this value?
Thanks for any help.