Package com.powsybl.shortcircuit
Class ShortCircuitParameters
java.lang.Object
com.powsybl.commons.extensions.AbstractExtendable<ShortCircuitParameters>
com.powsybl.shortcircuit.ShortCircuitParameters
- All Implemented Interfaces:
Extendable<ShortCircuitParameters>
Generic parameters for short-circuit computations.
May contain extensions for implementation-specific parameters.
- Author:
- Boubakeur Brahimi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe initial voltage profile mode, it can be either: - nominal: nominal voltages will be used - configured: the voltage profile is given by the user, voltage ranges and associated coefficients should be given usingVoltageRange
- previous value: the voltage profile computed from the load flow will be useddouble
The maximum voltage drop threshold in %, to filter the results.The type of study: transient, sub-transient or steady state.double
In the case of a sub-transient study, a multiplicative coefficient to obtain the sub-transient reactance of the generators from the transient reactance.In case of CONFIGURED initial voltage profile, the coefficients to apply to each nominal voltage.boolean
A boolean indicating if the functional logs in reportNode should be detailed or aggregated.boolean
Whether the results should include the currents on each feeder of the fault point.boolean
Whether faultResults, feederResults and shortCircuitBusResults should be detailed for each phase as FortescueValues or if only the three-phase magnitude for currents and voltages should be given.boolean
Whether limit violations should be returned after the calculation.boolean
Whether the loads should be taken into account for the computation.boolean
Defines which step of the tap changer should be used for the computation.boolean
Whether the shunt compensators should be taken into account in the computation.boolean
Deprecated.boolean
Whether the results should include the voltages and voltage drops on every bus of the network.boolean
Whether the VSC converter stations should be taken into account in the computation.static ShortCircuitParameters
load()
Load parameters from platform default config.static ShortCircuitParameters
load
(PlatformConfig platformConfig) setDetailedReport
(boolean detailedReport) setInitialVoltageProfileMode
(InitialVoltageProfileMode initialVoltageProfileMode) setMinVoltageDropProportionalThreshold
(double minVoltageDropProportionalThreshold) setStudyType
(StudyType studyType) setSubTransientCoefficient
(double subTransientCoefficient) setVoltageRanges
(List<VoltageRange> voltageRanges) setWithFeederResult
(boolean withFeederResult) setWithFortescueResult
(boolean withFortescueResult) setWithLimitViolations
(boolean withLimitViolations) setWithLoads
(boolean withLoads) setWithNeutralPosition
(boolean withNeutralPosition) setWithShuntCompensators
(boolean withShuntCompensators) setWithVoltageMap
(boolean withVoltageMap) Deprecated.UsesetWithVoltageResult(boolean)
instead.setWithVoltageResult
(boolean withVoltageResult) setWithVSCConverterStations
(boolean withVSCConverterStations) void
validate()
Validates the ShortCircuitParameters.Methods inherited from class com.powsybl.commons.extensions.AbstractExtendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, removeExtension, removeExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.extensions.Extendable
newExtension
-
Field Details
-
VERSION
- See Also:
-
-
Constructor Details
-
ShortCircuitParameters
public ShortCircuitParameters()
-
-
Method Details
-
load
Load parameters from platform default config. -
load
-
isWithLimitViolations
public boolean isWithLimitViolations()Whether limit violations should be returned after the calculation. They indicate whether the maximum or minimum allowable current has been reached. -
setWithLimitViolations
-
isWithVoltageMap
Deprecated.UseisWithVoltageResult()
instead. Used for backward compatibility. -
setWithVoltageMap
Deprecated.UsesetWithVoltageResult(boolean)
instead. Used for backward compatibility. -
isWithFortescueResult
public boolean isWithFortescueResult()Whether faultResults, feederResults and shortCircuitBusResults should be detailed for each phase as FortescueValues or if only the three-phase magnitude for currents and voltages should be given. -
setWithFortescueResult
-
getStudyType
The type of study: transient, sub-transient or steady state. -
setStudyType
-
isWithFeederResult
public boolean isWithFeederResult()Whether the results should include the currents on each feeder of the fault point. -
setWithFeederResult
-
isWithVoltageResult
public boolean isWithVoltageResult()Whether the results should include the voltages and voltage drops on every bus of the network. -
setWithVoltageResult
-
getMinVoltageDropProportionalThreshold
public double getMinVoltageDropProportionalThreshold()The maximum voltage drop threshold in %, to filter the results. -
setMinVoltageDropProportionalThreshold
public ShortCircuitParameters setMinVoltageDropProportionalThreshold(double minVoltageDropProportionalThreshold) -
getSubTransientCoefficient
public double getSubTransientCoefficient()In the case of a sub-transient study, a multiplicative coefficient to obtain the sub-transient reactance of the generators from the transient reactance. By default, X''d = 0.7 * X'd. -
setSubTransientCoefficient
-
isWithLoads
public boolean isWithLoads()Whether the loads should be taken into account for the computation. If false, the loads P0 and Q0 are considered to be set to 0. -
setWithLoads
-
isWithShuntCompensators
public boolean isWithShuntCompensators()Whether the shunt compensators should be taken into account in the computation. If true, the shunt admittance will be used in the admittance matrix. If false, the shunts will be ignored. -
setWithShuntCompensators
-
isWithVSCConverterStations
public boolean isWithVSCConverterStations()Whether the VSC converter stations should be taken into account in the computation. If true, the VSC converter stations are modeled as equivalent reactances. If false, they are ignored. -
setWithVSCConverterStations
-
isWithNeutralPosition
public boolean isWithNeutralPosition()Defines which step of the tap changer should be used for the computation. If false, the step defined in the network model will be used. If true, the neutral step (rho = 1, alpha = 0) will be used. -
setWithNeutralPosition
-
getInitialVoltageProfileMode
The initial voltage profile mode, it can be either: - nominal: nominal voltages will be used - configured: the voltage profile is given by the user, voltage ranges and associated coefficients should be given usingVoltageRange
- previous value: the voltage profile computed from the load flow will be used -
setInitialVoltageProfileMode
public ShortCircuitParameters setInitialVoltageProfileMode(InitialVoltageProfileMode initialVoltageProfileMode) -
getVoltageRanges
In case of CONFIGURED initial voltage profile, the coefficients to apply to each nominal voltage.- Returns:
- a list with voltage ranges and associated coefficients
-
setVoltageRanges
-
isDetailedReport
public boolean isDetailedReport()A boolean indicating if the functional logs in reportNode should be detailed or aggregated. -
setDetailedReport
-
validate
public void validate()Validates the ShortCircuitParameters. If the initial voltage profile mode is set to CONFIGURED, then the voltage ranges should not be empty.
-
isWithVoltageResult()
instead.