Auxiliary File Format for Simulator 22

Auxiliary File Format for Simulator 22

Auxiliary File Format for Simulator 22 Last Updated: September 7, 2021 PowerWorld Corporation 2001 South First St Champaign, IL 61820 (217) 384-6330 http://www.powerworld.com [email protected] Table of Contents Introduction............................................................................................................................................................................ 1 SCRIPT Section ....................................................................................................................................................................... 2 Using Filters in Script Commands ..................................................................................................................................... 2 Specifying Special Keywords in Script Command Parameters....................................................................................... 2 Specifying File Names in Script Commands .................................................................................................................... 3 Specifying Field Variable Names in Script Commands ................................................................................................... 3 Specifying Field Values in Script Commands ................................................................................................................... 4 General Actions .................................................................................................................................................................. 5 Program Actions ........................................................................................................................................................................................................... 5 CopyFile("oldfilename", "newfilename"); ....................................................................................................................................................... 5 DeleteFile("filename"); ........................................................................................................................................................................................... 5 ExitProgram; .............................................................................................................................................................................................................. 5 LogAdd("text"); ......................................................................................................................................................................................................... 5 LogAddDateTime("label", includedate, includetime, includemilliseconds); ..................................................................................... 5 LogClear; ..................................................................................................................................................................................................................... 5 LogSave("filename", AppendFile); ..................................................................................................................................................................... 5 LogShow(DoShow); ................................................................................................................................................................................................ 6 RenameFile("oldfilename", "newfilename"); ................................................................................................................................................. 6 SetCurrentDirectory("filedirectory", CreateIfNotFound); ......................................................................................................................... 6 StopAuxFile; ............................................................................................................................................................................................................... 6 WriteTextToFile("filename", "text"); .................................................................................................................................................................. 6 Data Actions ................................................................................................................................................................................................................... 7 CreateData(objecttype, [fieldlist], [valuelist]); .............................................................................................................................................. 7 Delete(objecttype, filter); ...................................................................................................................................................................................... 7 DeleteDevice([ObjectIDString]);......................................................................................................................................................................... 7 DeleteIncludingContents(objecttype, filter);................................................................................................................................................. 7 ExportAreaSupplyCurves("filename", "User Defined String", NumPoints); ...................................................................................... 8 ImportData("filename", FileType, HeaderLine, CreateIfNotFound); .................................................................................................... 8 LoadAux("filename", CreateIfNotFound); ...................................................................................................................................................... 8 LoadAuxDirectory("filedirectory", "filterstring", CreateIfNotFound); .................................................................................................. 8 LoadCSV("filename", CreateIfNotFound); ...................................................................................................................................................... 9 LoadData("filename", DataName, CreateIfNotFound); ............................................................................................................................. 9 LoadScript("filename", ScriptName, CreateIfNotFound); ........................................................................................................................ 9 SaveData("filename", filetype, objecttype, [fieldlist], [subdatalist], filter, [SortFieldList], Transpose, Append); ................. 9 SaveDataEPC("filename", objecttype, filter, GEFileType, SaveBuses, Append); ........................................................................... 10 SaveDataUsingExportFormat("filename", filetype, "FormatName", ModelToUse); ..................................................................... 11 SaveDataWithExtra("filename", filetype, objecttype, [fieldlist], [subdatalist], filter, [SortFieldList], [Header_List], [Header_Value_List], Transpose, Append); .................................................................................................................................................. 11 SaveObjectFields("filename", objecttype, [fieldlist]); ............................................................................................................................... 12 SelectAll(objecttype, filter); ................................................................................................................................................................................ 12 SendtoExcel(objecttype, [fieldlist], filter, UseColumnHeaders, "workbookname", "worksheetname", [SortFieldList], [Header_List], [Header_Value_List], ClearExisting, RowShift, ColShift); ............................................................................................ 12 SetData(objecttype, [fieldlist], [valuelist], filter); ........................................................................................................................................ 14 UnSelectAll(objecttype, filter); .......................................................................................................................................................................... 14 Case Related Actions ................................................................................................................................................................................................ 15 ii AutoInsertTieLineTransactions; ........................................................................................................................................................................ 15 CalculateRXBGFromLengthConfigCondType(filter); ................................................................................................................................ 15 CaseDescriptionClear; .......................................................................................................................................................................................... 16 CaseDescriptionSet("text", Append); ............................................................................................................................................................. 16 ChangeSystemMVABase(NewBase); .............................................................................................................................................................. 16 ClearSmallIslands; .................................................................................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    163 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us