Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

* saving a SNP file *

In the PSSe GUI, after reading the case, convert the loads and generators, apply activities ORDR, FACT, TYSL, then save it as a converted case (still with sav extension).
Next read the dyr file (use OPEN file) and enter data as needed (see API manual for "dyre_new"). In code format:

psspy.dyre_new([1,1,1,1],dyrfile)   #as example

After this step, select "SAVE" and enter a name with extension.snp. In code format:

ierr = psspy.snap([-1,-1,-1,-1,-1],'case.snp')   #as example