Package com.powsybl.iidm.network
Interface DanglingLine
- All Superinterfaces:
Connectable<DanglingLine>
,Extendable<DanglingLine>
,FlowsLimitsHolder
,Identifiable<DanglingLine>
,Injection<DanglingLine>
A dangling line to model boundaries (X nodes).
A dangling line is a component that aggregates a line chunk and a constant power injection (fixed p0, q0).
Characteristics
Attribute | Type | Unit | Required | Defaut value | Description |
---|---|---|---|---|---|
Id | String | - | yes | - | Unique identifier of the dangling line |
Name | String | - | yes | - | Human-readable name of the dangling line |
P0 | double | MW | yes | - | The active power setpoint |
Q0 | double | MVar | yes | - | The reactive power setpoint |
R | double | Ω | yes | - | The series resistance |
X | double | Ω | yes | - | The series reactance |
G | double | S | yes | - | The shunt conductance |
B | double | S | yes | - | The shunt susceptance |
PairingKey | String | - | no | - | The dangling line's pairing key |
To create a dangling line, see DanglingLineAdder
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Anne Tilloy <anne.tilloy at rte-france.com>
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getB()
Get the shunt susceptance in S.double
getG()
Get the shunt conductance in S.default DanglingLine.Generation
double
getP0()
Get the constant active power in MW.Get the pairing key corresponding to this dangling line in the case where the line is a boundary, return null otherwise.double
getQ0()
Get the constant reactive power in MW.double
getR()
Get the series resistance in Ω.default IdentifiableType
getType()
Get identifiable type.double
getX()
Get the series reactance in Ω.boolean
isPaired()
setB
(double b) Set the shunt susceptance in S.setG
(double g) Set the shunt conductance in S.setP0
(double p0) Set the constant active power in MW.setQ0
(double q0) Set the constant reactive power in MW.setR
(double r) Set the series resistance in Ω.setX
(double x) Set the series reactance in Ω.Methods inherited from interface com.powsybl.iidm.network.Connectable
connect, connect, disconnect, disconnect, getTerminals, remove
Methods inherited from interface com.powsybl.commons.extensions.Extendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
Methods inherited from interface com.powsybl.iidm.network.FlowsLimitsHolder
cancelSelectedOperationalLimitsGroup, getActivePowerLimits, getApparentPowerLimits, getCurrentLimits, getNullableActivePowerLimits, getNullableApparentPowerLimits, getNullableCurrentLimits, getOperationalLimitsGroup, getOperationalLimitsGroups, getSelectedOperationalLimitsGroup, getSelectedOperationalLimitsGroupId, newActivePowerLimits, newApparentPowerLimits, newCurrentLimits, newOperationalLimitsGroup, removeOperationalLimitsGroup, setSelectedOperationalLimitsGroup
Methods inherited from interface com.powsybl.iidm.network.Identifiable
addAlias, addAlias, addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getNameOrId, getNetwork, getOptionalName, getParentNetwork, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, removeProperty, setFictitious, setName, setProperty
Methods inherited from interface com.powsybl.iidm.network.Injection
getTerminal
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Method Details
-
isPaired
boolean isPaired() -
getP0
double getP0()Get the constant active power in MW.Depends on the working variant.
- See Also:
-
setP0
Set the constant active power in MW.Depends on the working variant.
- See Also:
-
getQ0
double getQ0()Get the constant reactive power in MW.Depends on the working variant.
- See Also:
-
setQ0
Set the constant reactive power in MW.Depends on the working variant.
- See Also:
-
getR
double getR()Get the series resistance in Ω. -
setR
Set the series resistance in Ω. -
getX
double getX()Get the series reactance in Ω. -
setX
Set the series reactance in Ω. -
getG
double getG()Get the shunt conductance in S. -
setG
Set the shunt conductance in S. -
getB
double getB()Get the shunt susceptance in S. -
setB
Set the shunt susceptance in S. -
getGeneration
-
getPairingKey
String getPairingKey()Get the pairing key corresponding to this dangling line in the case where the line is a boundary, return null otherwise. -
getBoundary
Boundary getBoundary() -
getTieLine
-
getType
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<DanglingLine>
- Returns:
- the identifiable type
-