Software Patches

August 31, 2021

Features and Improvements

  • Auxiliary Files (SCRIPT and DATA Sections): Added new script command LineLoadingReplicatorCalculate with the syntax
    LineLoadingReplicatorCalculate([Branch 1 2 1], [InjectionGroup ig1], Yes, 50.0, NO, DC);
    LineLoadingReplicatorCalculate([Branch 1 2 1], [InjectionGroup ig1], Yes, 50.0, NO, DC, No, 0.5, 2);
    The parameters are
    1. Identifying string for the branch
    2. Identifying string for the injection group
    3. YES or NO for whether to only include AGC=YES devices
    4. Number representing the desired MW flow on the Branch
    5. YES or NO for whether to implement the changes after performing the calculation
    6. DC, AC, or DCPS for the linear solution method to use to perform calculation
    7. Optional, YES means to use the fields MWMax and MWMin for limits on load changes. NO means to use a multiples of the existing load for the minimum and maximum, with the multiplies as next 2 parameters
    8. Optional, If parameter 7 is NO, then this is the multiple of the existing load to use a minimum value (should be less than 1.00)
    9. Optional, If parameter 7 is NO, then this is the multiple of the existing load to use a maximum value (should be greater than 1.00)
  • Auxiliary Files (SCRIPT and DATA Sections): Added new script command LineLoadingReplicatorImplement. This command has no parameters. The command will implement the control changes found by the LineLoadingReplicatorCalculate() command, so it is important to run that command before this.
  • File Formats: Added ability to store values read from EPC file for a 2-terminal DC line for values not used in power flow solution:
    Rectifier Gamma Min, Rectifier Gamma Max, Inverter Alpha Min, and Inverter Alpha Max. While these values are not used with the power flow solution, the value Inverter Alpha Min is used in the recently added CHVDC2 model. That value is not included in the DYD record for the CHVDC2 model, so we must carry it around with power flow data to properly read EPC/DYD file pairs.
  • Bug Fixes

    • Oneline Diagrams: Fixed how substation display objects use Default Drawing Values to highlight voltage limits. If showing the "Min kV of Highest Nom kV" or "Min PU of Highest Nom kV" fields within a substation display object, the color of this text will be the Limit Highlight Color specified with the Default Drawing Values if at least one bus in the substation is outside its voltage limits. If there is dynamic formatting in effect the dynamic formatting color will be used instead. The Limit Highlighting Used field was being ignored, but it is now being used to determine if the Limit Highlight Color should be used. The default color for the substation text will be used when the Limit Highlight Color is not used and in the absence of any dynamic formatting.
    • Power Flow Solution: Fixed bug that could prevent the DC converter equations from solving to a solution very close to the minimum firing angle at the rectifier. The solution may instead setting a transformer step 1 stepsize away a solution near the mimimum firing angle.
    • Transient Stability: Cleaned up the network boundary equation for the converters of a VSCDCT VSCDCLine dynamic model.
    • Transient Stability: Modified the bad input data treatment when the branch P, Q, or I measurement are needed for an REPC_A model but a branch is not specified. Previously we just assumed all flow measurements were 0.0, but this has been changed so that in this situation we use the output of the generator instead.
    • Transient Stability: Fixed a bug with Result Analyzer that was giving the wrong data value in some data points if the results were loaded from Hard Drive. For example a field that is scaled by SBase.