Class VoltageRange

java.lang.Object
com.powsybl.shortcircuit.VoltageRange

public class VoltageRange extends Object
A class that stores coefficients and nominal voltages to be applied to each nominal voltage of the network in a range. This is used to define the configured initial voltage profile for the short-circuit current calculation. The voltage attribute allows to modify the nominal voltage to be considered for each nominal voltage of the range. The coefficient is a coefficient that is applied to each nominal voltage.
Author:
Coline Piloquet <coline.piloquet at rte-france.com>
  • Constructor Details

    • VoltageRange

      public VoltageRange(double lowVoltage, double highVoltage, double rangeCoefficient)
    • VoltageRange

      public VoltageRange(double lowVoltage, double highVoltage, double rangeCoefficient, double voltage)
  • Method Details

    • getRange

      public org.apache.commons.lang3.Range<Double> getRange()
      The voltage range to which the coefficient should be applied. Voltages are given in kV.
    • getRangeCoefficient

      public double getRangeCoefficient()
      The coefficient by which each voltage in the range will be multiplied by (e.g. 1.1). Should be between 0.8 and 1.2.
    • getMinimumNominalVoltage

      public double getMinimumNominalVoltage()
      The minimum nominal voltage of the range (in kV)
    • getMaximumNominalVoltage

      public double getMaximumNominalVoltage()
      The maximum nominal voltage of the range (in kV)
    • getVoltage

      public double getVoltage()
      The nominal voltage to consider for the range. All nominal voltages in the range will be replaced by this value.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object