09.03.2013 Views

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Save the transient stability option settings to an auxiliary file.<br />

FileName : Name and path of the file to save<br />

SaveDynamicModel : (optional) NO doesn’t save dynamic model (default YES)<br />

SaveStabilityOptions : (optional) NO doesn’t save stability options (default YES)<br />

SaveStabilityEvents : (optional) NO doesn’t save stability events (default YES)<br />

SaveResultsSettings : (optional) NO doesn’t save results settings (default YES)<br />

SavePlotDefinitions : (optional) NO doesn’t save plot definitions (default YES)<br />

KeyField : (optional) Specifies key: can be Primary, Secondary, or Label (default Primary)<br />

Example usage(s) :<br />

TSWriteOptions(auxtest.aux);<br />

TSWriteOptions("auxtest.aux");<br />

TSWriteOptions("auxtest.aux", [YES, NO, NO, NO, NO]);<br />

TSWriteOptions("auxtest.aux", [YES, NO, "", NO, NO, P]);<br />

TSWriteOptions("auxtest.aux", [YES, NO, NO, "", YES, S]);<br />

TSSaveTwoBusEquivalent ("PwbFileName", [BUS]);<br />

Save the two bus equivalent model of a specified bus to a PWB file. Initialization to the start time is<br />

always done before saving the two bus equivalent.<br />

PwbFileName : Name and path for the output PWB file<br />

BUS : Bus can be specified in three ways:<br />

Number : [BUS busnum]<br />

Name/NomkV : [BUS “busname_nominalKV”]<br />

Label : [BUS “buslabel”]<br />

Example usage(s) :<br />

TSSaveTwoBusEquivalent("TwoBusTest.pwb",[Bus 2]);<br />

TSCalculateSMIBEigenValues;<br />

Calculate single machine infinite bus eigenvalues. Initialization to the start time is always done<br />

before calculating eigenvalues.<br />

To save out the SMIB results to a file, use the SaveData script function after the eigenvalues have<br />

been calculated.<br />

Example usage(s) :<br />

TSCalculateSMIBEigenValues;<br />

SaveData("C:\auxTest.aux", AUXDEF, PWTXGEN, [BusNum, BusName, GenID, AreaName,<br />

TSGenMachineName, TSGenExciterName, TSGenGovernorName, TSGenStabilizerName,<br />

TSEigenValueValid, TSNumEigenValue, TSNumEigenValueZero, TSEigenValueMax,<br />

TSEigenValueMin, TSComplexEigenValue, TSComplexEigenValue:1, TSComplexEigenValue:2], []);<br />

TSLoadGE("FileName", GENCCYN);<br />

Loads transient stability data stored in the GE DYD format.<br />

FileName : Name of the DYD file to load<br />

GENCCYN : YES to split combined cycle units, NO to leave them alone<br />

TSLoadPTI("FileName", "MCREfilename", "MTRLOfilename", "GNETfilename",<br />

"BASEGENfilename");<br />

©2011 <strong>PowerWorld</strong> Corporation<br />

541

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!