Package com.powsybl.iidm.network
Interface DanglingLine
-
- All Superinterfaces:
Connectable<DanglingLine>
,Extendable<DanglingLine>
,FlowsLimitsHolder
,Identifiable<DanglingLine>
,Injection<DanglingLine>
- All Known Implementing Classes:
DanglingLineAdapter
public interface DanglingLine extends Injection<DanglingLine>, FlowsLimitsHolder
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).
r, x, g, b have to be consistent with the declared length of the dangling line.
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 UcteXnodeCode String - no - The dangling line's UCTE Xnode code To create a dangling line, see
DanglingLineAdder
- Author:
- Geoffroy Jamgotchian
, Anne Tilloy - See Also:
DanglingLineAdder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DanglingLine.Generation
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description double
getB()
Get the shunt susceptance in S.default Boundary
getBoundary()
double
getG()
Get the shunt conductance in S.default DanglingLine.Generation
getGeneration()
double
getP0()
Get the constant active power in MW.double
getQ0()
Get the constant reactive power in MW.double
getR()
Get the series resistance in Ω.default IdentifiableType
getType()
Get identifiable type.String
getUcteXnodeCode()
Get the UCTE Xnode code corresponding to this dangling line in the case where the line is a boundary, return null otherwise.double
getX()
Get the series reactance in Ω.DanglingLine
setB(double b)
Set the shunt susceptance in S.DanglingLine
setG(double g)
Set the shunt conductance in S.DanglingLine
setP0(double p0)
Set the constant active power in MW.DanglingLine
setQ0(double q0)
Set the constant reactive power in MW.DanglingLine
setR(double r)
Set the series resistance in Ω.DanglingLine
setX(double x)
Set the series reactance in Ω.-
Methods inherited from interface com.powsybl.iidm.network.Connectable
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
getActivePowerLimits, getApparentPowerLimits, getCurrentLimits, getNullableActivePowerLimits, getNullableApparentPowerLimits, getNullableCurrentLimits, getOperationalLimits, newActivePowerLimits, newApparentPowerLimits, newCurrentLimits
-
Methods inherited from interface com.powsybl.iidm.network.Identifiable
addAlias, addAlias, addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getName, getNameOrId, getNetwork, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, removeProperty, setFictitious, setName, setProperty
-
Methods inherited from interface com.powsybl.iidm.network.Injection
getTerminal
-
-
-
-
Method Detail
-
getP0
double getP0()
Get the constant active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
setP0
DanglingLine setP0(double p0)
Set the constant active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
getQ0
double getQ0()
Get the constant reactive power in MW.Depends on the working variant.
- See Also:
VariantManager
-
setQ0
DanglingLine setQ0(double q0)
Set the constant reactive power in MW.Depends on the working variant.
- See Also:
VariantManager
-
getR
double getR()
Get the series resistance in Ω.
-
setR
DanglingLine setR(double r)
Set the series resistance in Ω.
-
getX
double getX()
Get the series reactance in Ω.
-
setX
DanglingLine setX(double x)
Set the series reactance in Ω.
-
getG
double getG()
Get the shunt conductance in S.
-
setG
DanglingLine setG(double g)
Set the shunt conductance in S.
-
getB
double getB()
Get the shunt susceptance in S.
-
setB
DanglingLine setB(double b)
Set the shunt susceptance in S.
-
getGeneration
default DanglingLine.Generation getGeneration()
-
getUcteXnodeCode
String getUcteXnodeCode()
Get the UCTE Xnode code corresponding to this dangling line in the case where the line is a boundary, return null otherwise.
-
getBoundary
default Boundary getBoundary()
-
getType
default IdentifiableType getType()
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<DanglingLine>
- Returns:
- the identifiable type
-
-