Simulator 20 Patches

New Features

Bug Fixes

Date

October 11, 2017

Features and Improvements

  • Difference Case Tool: In the Present Topological Differences from base case tool, the removed objects did not support the case information display filtering by owner, but only display filtering by Area/Zone. This has been modified to also support Owner filtering.
  • Security Constrained OPF (SCOPF) Tool: Added the contingency name to the 'Bus Marginal Controls' header to allow correlation between the controls and 'LP Basic Variables'
  • Security Constrained OPF (SCOPF) Tool: We have added a column on the LPVariables grid to show the contingency name that corresponds to the variable. Previously it was possible to have variables with the same ID, making it impossible to uniquely identify a variable.
  • Transient Stability: Made more descriptive validation error messages for REPC_A and REPC_B when the model does not have a measurement branch specified. Unless this model is only controlling voltage, then a branch must be specified at which the Qbranch, Pbranch, and/or Ibranch is measured. If the branch is not specified when it is needed an error message will appear indicating why the measurement is needed.
  • Bug Fixes

    • Contingency Analysis: Fixed reading of ViolationCTG objects from an AUX file when reading in custom monitor violations. These were not being read in when multiple of the same custom monitors violations for different violated elements under the same contingencies.
    • Difference Case Tool: In the Present Topological Differences from base case tool, there was an inconsistency when writing out the AUX file that changes one case into another if a device such as a branch, gen, shunt, or lineshunt was
      1. Assigned to the default bus owner in the base case
      2. Assigned to the same owner in the present case
      3. But the default bus's owner was changed
      The problem occurred because when reading an AUX file, Simulator's behavior when a bus owner changes is that any device connected to that bus (gen, load, shunt) that has the same owner as the bus will automatically follow that ownership change. Thus after reading the AUX file you would see the owner of the device (gen, load, shunt) change when you had not expected it to. The fix for this was to modify what is shown for a devices ownership in the Change mode so that if this occurs the device acts as though it's ownership has changed. Thus this would get included in the AUX file and the appropriate behavior would be seen.
    • Difference Case Tool: When saving out the auxiliary file of case changes when using the Difference Case tool, we now include a section that changes the owner of buses in the following situations:
      (1) The owner of the bus has changed between the Present and Base Case
      (2) A new device has been added that is attached to the bus and the owner of the new device is different than the owner of the bus in the Base Case
      (3) A new device has only one owner
      Writing out this additional section will prevent the situation in which a new device is added to a case and the owner matches the owner of the bus to which it is being added. This will mark the device as having the default owner. If the owner of the bus then changes the owner of the device will also change. We want to retain the owner of the device as it was assigned when the device was created. Changing the owner of the bus prior to adding the new device prevents this problem.
    • Oneline Diagrams: Fixed bug parsing bus numbers when read from a KML file. Any extra whitespace created error converting the text to a number. This has been fixed.
    • Transient Stability: Fixed a bug with writing REECB1 from a REEC_B model. It was casuing an access violation when saving a dyr file.
    • Transient Stability: Fixed an access violation that could occur when opening the load dialog for any load. An access violation could occur if a transient stability distribution equivalent had been assigned to the load.

October 6, 2017

Features and Improvements

  • Transient Stability: Modified new DER_A model to add parameter Trf and Vpr
  • Bug Fixes

    • Auxiliary Files (SCRIPT and DATA Sections): Fixed bug in SendToExcel Script Command. The objectname was not being saved into Excel File in the first row.
    • Time Step Simulation: Fixed an access violation that could occur on the Time Step Simulation dialog. This was related to specifying the hour at which the time step simulation could occur which was recently added.
    • User Interface Dialogs: Bug fix in the object chooser -- due to an internal change between v19 and v20, the behavior of the search box changed from matching patterns at the beginning of the target string to matching patterns that occurred anywhere in the target string. The search box is now back to matching from the beginning of the target string (unless explicitly specified otherwise with an asterisk at the start of the search pattern)

October 5, 2017

Features and Improvements

  • Auxiliary Files (SCRIPT and DATA Sections): Made a commonly used feature much more memory efficient. The feature to Send To Excel by either right-clicking on the case informations display, or when using the related SCRIPT command, could cause Simulator to run out of memory when used on extremely large data sets.
  • Case Information Displays: Made a commonly used feature much more memory efficient. The feature to Send To Excel by either right-clicking on the case informations display, or when using the related SCRIPT command, could cause Simulator to run out of memory when used on extremely large data sets.
  • Scheduled Actions: Added another check when the Use Normal Status option is in use to return disconnects that are in series with the branch that is being returned to service. If a branch is an Open Breaker action, any disconnects that are in series with it and are normally closed will be closed.
  • Transient Stability: Added the requested ability to add the case name into the plot name when in auto save. If the option is checked then the name will have the following format: "ContingencyName_PlotName_CaseName.jpg" Otherwise it will be naming the plot as before.
  • Bug Fixes

    • Contingency Analysis: When doing a comparison of 2 contingency lists in the 64 bit version of Simulator, you coudl see a "stack overflow error". This has been fixed.
    • GIC: Fixed some issues associated with loading and saving *.gic format files.
    • Oneline Diagrams: Fixed a bug with PTDF pie chart displays, which were showing values off by a factor of 100.
    • Oneline Diagrams: Fixed error parsing ERCOT kml files caused by case sensitive text comparison. 'branch' was not matching 'Branch'.

September 28, 2017

Features and Improvements

  • Difference Case Tool: Added the GE Long ID field for loads to the Difference Case tool.
  • Scheduled Actions: When closing disconnects that are in series with breakers when using the Use Normal Status option, also close disconnects that are in series with Load Break Disconnects. This makes sense because we are treating breakers and load break disconnects the same when we are identifying breakers to open or close devices.
  • Bug Fixes

    • Time Step Simulation: When monitoring load results during the time step simulation, access violation could occur. This has been fixed.
    • Time Step Simulation: Added a new TSB version that will save load results. These were previously not being saved. Users will need to make sure that they have the latest version 20 patch or that they save the TSB in the correct version for the version of Simulator that they have.
    • Time Step Simulation: Fixed bug with reading loads for which custom results are monitored. The correct load ID was not being used so not all loads at a given bus were being marked as Time Selected = YES. Duplicate loads could also end up being added to the list of loads to monitor.
    • Time Step Simulation: When loading a TSB file that was saved in a later version than the current version of Simulator can handle, pop a message dialog indicating this.
    • Transient Stability: Fixed bug that would occur when running transient stability on a full-topology model.

September 26, 2017

Features and Improvements

  • Case Information Displays: Added new expression functions for converting floats representing a date time into strings and also converting strings formatted as date/times into floating point numbers. These function all follow similar syntax as used in Excel functions of the same name.
    (1) Text(floatvalue, "formatstring") --> returns a string with the floating point number converted to a data time string using the formatting specified in the format string.
    (2) DateValue("datetimestring") --> returns a floating point number representing only the integer part for the date/time floating point
    (3) TimeValue("datetimestring") --> returns a floating point number representing only the fractional part for the date/time floating point
    (4) DateTimeValue("datetimestring") --> returns a floating point number representing the date/time floating point
    See the PowerWorld help documentation for more information on the format string. Search "Formatting String" in the help.
  • PV and QV Curve (PVQV) Tool: Added a new field to a load for "ScaleMvar". This field defaults to YES. Set to NO to prevent changing the Mvar of this load when shifting power using an injection group (such as in ATC, PVQV, and System Scaling tools)
  • Transient Stability: added support to CHVDC2 to use the parameters which attempt to emulate commutation failure.
  • Bug Fixes

    • File Formats: When load an EPC file, the intermediate buses of multi-section lines have been modified to be assigned to the DataMaintainer of the branch section that connects to this intermediate bus. For example, a multi-section line has 2 sections and connects Bus A to Bus C, then after reading the EPC file Simulator will have branches from A - B and B - C. The intermediate bus B will be assigned the same DataMaintainer as the branch B - C.
    • General: Fixed random access violation that could occur when closing a case if it contains a VSCDCLine or trying to delete a VSCDCLine.
    • GIC: Fixed a bug the could occur when modeling geomagnetic induced currents inside the transient stability simulation. When doing this if a new islands was created during the simulation the simulation would fail. This has been fixed.
    • Oneline Diagrams: When saving a PWD file with many substation, area, or zone objects the saving could be very slow because of saving the swap list that is used when loading the oneline using name_kV linking. This has been fixed.
    • Oneline Diagrams: Renumbering the substations, areas, or zones in a case or oneline that contains many of these objects could be very slow. This has been fixed.
    • Oneline Diagrams: Loading a PWD file containing many substation, area, or zone objects could be very slow when using name_kV linking. This has been fixed.
    • Power Flow Solution: It is possible to end up with a case that has no viable islands. If this happens, the maximum mismatch values for the case are initialized but never set to anything real. An access violation could occur when reporting the maximum mismatch. This has been fixed and the maximum mismatch will be reported as 0 occurring at bus None in a case with no viable islands.
    • Simulator Automation Server (SimAuto): The fix to make Distributed Computation work from September 21, 2017 patch broke the function of SimAuto on a single machine. This fixes this bug.
    • Time Step Simulation: Removed the time step simulation option to enable area interchange. Now always use the Simulator option to enable area interchange. Having two different options was very confusing.
    • Transient Stability: Fixed a bug that was allowing the Auto Insert Transient contingency to enabled the modification of the event duration ONLY when a Gen was selected but only when a Gen was selected is when it should not be enabled.
    • Transient Stability: Fixed some parameter name inconsistencies on the REGC_A, REEC_A, REEC_B, REEC_C, and REPC_A models.
      * REGC_A: Parameter name changed to Tg (was Td); Parameter name changed to Tfltr (was T_LVPL)
      * REEC_A, REEC_B, REEC_C: Parameter name changed to Trv (was Tv)
      * REPC_A: Parameter names changed to fdbd1 and fdbd2 (was dbd1 and dbd2)
      These new parameter names match what the standard model was supposed to be so we have changed it to avoid ongoing confusion. Also, these new names match what was on the block diagrams in PowerWorld's help as well.
      In coordination with this, also modified so that when reading AUX files or copy/pasting from spreadsheet the old parameter names will still be recognized and read in appropriately so that old files can still be used.

September 21, 2017

Bug Fixes

  • Data View: When switching the Type of object on the Data View dialog an access violation would occur. This has been fixed.
  • Distributed Computation: Made distributed computation connections to remote machines more robust and reliable. This fix was required due to changes in remote connections made for Version 20.
  • File Formats: When loading the Areva contingency file include the name of the contingency in the message log when a message is written about not being able to find the object in the contingency elements.
  • File Formats: When loading the Areva contingency file and a contingency with the same name already exists prior to loading the file, clear out all elements in the contingency and only keep the ones that are included in the file currently being read.
  • File Formats: Fixed some bugs when loading the Areva contingency file when contingencies are already defined in the case. This fix will allow all existing contingencies to be kept and the file will simply append contingencies to the list.
  • Oneline Diagrams: When reading a PWD file saved prior to 6/2/2008 in the 64-bit version of PowerWorld Simulator 20, it was possible for the file to fail to load. This bug has been fixed so that the PWD file can be opened.
  • Scheduled Actions: Added a new feature to the Scheduled Actions dialog -- in the Options tab, users can now opt to disable automatic evaluation when changing the View Time, and instead manually evaluate the current time either by a button in the GUI, or with the SetScheduleView script command.
  • Transient Stability: Fixed a the issue that was causing the transient stability simulation to fail when an Island was created during the simulation due to branch status changes.
  • Transient Stability: Fixed some errors in the implementation of the CHVDC2 generic DC Transmission line dynamic model.

September 19, 2017

Bug Fixes

  • Auxiliary Files (SCRIPT and DATA Sections): Fixed an intermittent bug that could occur when running the OpenOneline script command. The error would appear as an access violation.
  • Case Information Displays: When loading an advanced filter which were comparing Date/Time fields (such as in Scheduled Actions), it was possible for the Date/Time to be interpreted incorrectly. This has been fixed.
  • Difference Case Tool: In the Difference Case Mode of "Base", Modified the BranchDeviceType for three-winding transformer windings so that it returns "Transformer Winding" instead of the "Transformer". This change had already been made in Present Mode for Version 20 but was not done for Base Mode.
  • File Formats: Fixed error in writing out an EPC file. It was possible for the DC converter of a two-terminal DC line to write out a Psched = 0.0 improperly. When read back into Simulator, a 0.0 value for Psched was automatically replaced by the Pac value so this was not noticed in Simulator, but it should not be written as a 0.0
  • Scheduled Actions: Added checkbox to allow the user to clear any Added or Extra actions before re-running Identify Breakers
  • Scheduled Actions: Fixed a bug with the "Check Conflicts" tool which identifies schedules that perform conflicting actions on the same device at the same time. The bug was related to not properly handling scheduled actions that did not refer to a device (the device field is blank).
  • Transient Stability: Fixed an error in SVSMO1 related the timer which controls controllable fixed shunts. The timer was not properly resetting if the B of the shunt returned to acceptable limits.