Class LineFortescueImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<Line>
-
- com.powsybl.iidm.network.impl.extensions.LineFortescueImpl
-
- All Implemented Interfaces:
Extension<Line>
,LineFortescue
public class LineFortescueImpl extends AbstractExtension<Line> implements LineFortescue
- Author:
- Geoffroy Jamgotchian
, Jean-Baptiste Heyberger
-
-
Field Summary
-
Fields inherited from interface com.powsybl.iidm.network.extensions.LineFortescue
NAME
-
-
Constructor Summary
Constructors Constructor Description LineFortescueImpl(Line line, double rz, double xz, boolean openPhaseA, boolean openPhaseB, boolean openPhaseC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getRz()
The zero sequence resistance of the line.double
getXz()
The zero sequence reactance of the line.boolean
isOpenPhaseA()
boolean
isOpenPhaseB()
boolean
isOpenPhaseC()
void
setOpenPhaseA(boolean openPhaseA)
void
setOpenPhaseB(boolean openPhaseB)
void
setOpenPhaseC(boolean openPhaseC)
void
setRz(double rz)
void
setXz(double xz)
-
Methods inherited from class com.powsybl.commons.extensions.AbstractExtension
getExtendable, setExtendable
-
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.Extension
getExtendable, setExtendable
-
Methods inherited from interface com.powsybl.iidm.network.extensions.LineFortescue
getName
-
-
-
-
Constructor Detail
-
LineFortescueImpl
public LineFortescueImpl(Line line, double rz, double xz, boolean openPhaseA, boolean openPhaseB, boolean openPhaseC)
-
-
Method Detail
-
getRz
public double getRz()
Description copied from interface:LineFortescue
The zero sequence resistance of the line.- Specified by:
getRz
in interfaceLineFortescue
-
setRz
public void setRz(double rz)
- Specified by:
setRz
in interfaceLineFortescue
-
getXz
public double getXz()
Description copied from interface:LineFortescue
The zero sequence reactance of the line.- Specified by:
getXz
in interfaceLineFortescue
-
setXz
public void setXz(double xz)
- Specified by:
setXz
in interfaceLineFortescue
-
isOpenPhaseA
public boolean isOpenPhaseA()
- Specified by:
isOpenPhaseA
in interfaceLineFortescue
-
setOpenPhaseA
public void setOpenPhaseA(boolean openPhaseA)
- Specified by:
setOpenPhaseA
in interfaceLineFortescue
-
isOpenPhaseB
public boolean isOpenPhaseB()
- Specified by:
isOpenPhaseB
in interfaceLineFortescue
-
setOpenPhaseB
public void setOpenPhaseB(boolean openPhaseB)
- Specified by:
setOpenPhaseB
in interfaceLineFortescue
-
isOpenPhaseC
public boolean isOpenPhaseC()
- Specified by:
isOpenPhaseC
in interfaceLineFortescue
-
setOpenPhaseC
public void setOpenPhaseC(boolean openPhaseC)
- Specified by:
setOpenPhaseC
in interfaceLineFortescue
-
-