Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Let me start by saying that I haven't tried this before, so I'm speculating. I can't see anything in the psspy library that will help, although sometimes functions don't seem to be documented for whatever reason. There is however something in the caspy library that looks promising (refer to "C:\Program Files (x86)\PTI\PSSE33\DOCS\SC.pdf"). Now, caspy looks at a file, so you'll need to make sure that you've saved the case first. Next, import caspy, load the file into memory, then use the psstic() function (see section 2.19-"PSSTIC – Retrieve Transformer Impedance Correction Tables"). The following code may assist.

import caspy
myFile = caspy.Savecase(r"""c:\myFolder\myFile.sav""")
print myFile.pssopn
print myFile.psstic