Simulator 22 Patches

New Features

Bug Fixes

Date

April 2, 2021

Bug Fixes

  • File Formats: Fixed a bug that would cause contingency violations stored by violated element to not appear properly after loading a PWB file. The PWB file still contained them, and after this patch they will be properly shown after loading the same PWB.
  • Transient Stability: Fixed a bug with PSS3C not passing the correct parameters and causing an access violation.

April 1, 2021

Bug Fixes

  • Sensitivity Calculations: Fixed bug that was causing inconsistent TLR results after sequential power flow TLR calculations. The issue was the inconsistent inclusion of phase shifters in the TLR matrices. This has been fixed by checking if the matrices have been built with phase shifters and rebuilding if needed.

March 31, 2021

Features and Improvements

  • Auxiliary Files (SCRIPT and DATA Sections): When specifying a Source or Sink that cannot be found for a Direction object when loading from an auxiliary file, put error message in the log that the Source or Sink will be set to Slack instead.
  • Case Information Displays: Added TSContingency string grid table to the customizable tables. Now the customization of the Transient Contingency table can be saved.
  • Case Information Displays: Added nine superarea voltage fields showing min/max/avg for pu voltage, voltage angle (degrees) and voltage angle (rad).
  • Case Information Displays: Added ability to specify generator voltage setpoint and setpoint tolerance in kV. Added generator field to show the RegBus Nom kV.
  • Case Information Displays: Added TSContingency string grid table to the customizable tables. Now the customization of the Transient Contingency table can be saved.
  • Case Information Displays: SendToExcel script command will no longer change the workbookname and worksheetname to uppercase.
  • File Formats: Added optional parameters filtername and AppendFile to the CTGWriteFilePTI script command. The filter is applied to the Contingency object type to specify the contingencies that should be saved to file. All contingencies are saved by default. Set AppendFile to YES to append to an existing file or NO to overwrite an existing file. File is overwritten by default.
  • File Formats: In various places where contingency files in the PTI CON format are saved in the GUI a prompt will appear if the file already exists asking the user if the file should be overwritten or appended.
  • Oneline Diagrams: Added an InjectionGroup field.
  • Time Step Simulation: Changed time domain simulation so a reset actually resets the time to the start time.
  • Transient Stability: New transient stability fields for UEL/OEL/SCL. UEL/OEL dynamic models now have a transient stability integer field called "Activation Status". SCL dynamic models now have two transient stability integer fields called "UEL Activation Status" and "OEL Activation Status". Possible values are 0 (Idle), 1(Engaged) and 2 (Saturated).
  • User Interface Dialogs: Added ability to show all area supply or demand curves for a super area.
  • Bug Fixes

    • Auxiliary Files (SCRIPT and DATA Sections): Corrected generator variable name RegVoltkVError to RegBuskV (it has always showed the actual kV)
    • Oneline Diagrams: Fixed bug associated with the display of multiple grouped objects, mostly when at least one of the objects is not a text object, like a background rectangle.
    • Oneline Diagrams: Fixed a bug where Snap To Grid was not being returned to its previous value after being temporarily set to True
    • Sensitivity Calculations: When using consolidation with a full topology case, calculations for shift factors and PTDFs may not have been correct when using injection groups containing bus participation points as the source or sink. This has been fixed.
    • User Interface Dialogs: Fixed bug with TGen.MWLambda when fuelcost + extrafuelcost = zero. This would only affect economic dispatch or the code showing a supply curve so the bug would not be common.
    • User Interface Dialogs: Modified generator, area and superarea charts to handle negative marginal costs; also provide access to options so curves can be customized, though right now the change are not stored.

March 24, 2021

Features and Improvements

  • Difference Case Tool: Custom integer, custom float and custom string fields can now be included or excluded when in difference or change mode. This allows a user to populate these custom fields with values they want to be seen under all Difference Case Modes so that the custom fields act like an identifier for the object. Previously if a custom integer had not changed then in difference mode it would show a zero and in Change Mode it would say _same_.
  • Transient Stability: Transient contingencies now have an option to Include RAS for individual contingencies. Previously RAS was always included.
  • Bug Fixes

    • Difference Case Tool: Expanded and corrected functionality for saving Difference Case elements to EPC file format. Interfaces and injection groups can now be saved as difference case elements. Corrected use of Aux Export Format for saving only records that have changed.
    • File Formats: Modified MATPOWER format read to correctly handle more than double circuit lines. MATPOWER itself does not support line circuit numbers, but does allow multiple circuits. The issue was when PowerWorld was not correctly assigning unique circuit IDs when loading a MATPOWER case when their were more than two circuits.
    • Time Step Simulation: Fixed some issues associated with Area ED control, including adding support for negative marginal costs. On the Time Step Simulation 1) added an option to not scale the area and zone load based on out-of-service loads, and 2) added the ability to save a pwb file at the end of each time step. Both options are available on the Time Step Simulation, Options page.
    • User Interface Dialogs: Fixed bug associated with showing the Switched Shunt dialog from a quickpout in the edit mode when the case has not been in the run mode.