Package com.powsybl.shortcircuit
Class VoltageRange
java.lang.Object
com.powsybl.shortcircuit.VoltageRange
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 Summary
ConstructorDescriptionVoltageRange
(double lowVoltage, double highVoltage, double rangeCoefficient) VoltageRange
(double lowVoltage, double highVoltage, double rangeCoefficient, double voltage) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
The maximum nominal voltage of the range (in kV)double
The minimum nominal voltage of the range (in kV)org.apache.commons.lang3.Range<Double>
getRange()
The voltage range to which the coefficient should be applied.double
The coefficient by which each voltage in the range will be multiplied by (e.g. 1.1).double
The nominal voltage to consider for the range.int
hashCode()
-
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
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
-
hashCode
public int hashCode()
-