Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need to use aflowint and aflowreal as others mentioned. These two commands return line values in the same order so you should be able to match them. Once you have the output of these two API commands, you can convert them to the format you are asking. I would do something like this:

istrings = ['fromnumber', 'tonumber']
ierr, idata = psspy.aflowint(sid=-1, 1, 5, 1,istrings)

idata will contain the tuple you are looking for. Another call to aflowreal and a zip command will do the rest for you.