Class TwoWindingsTransformerFortescueImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<TwoWindingsTransformer>
-
- com.powsybl.iidm.network.impl.extensions.TwoWindingsTransformerFortescueImpl
-
- All Implemented Interfaces:
Extension<TwoWindingsTransformer>
,TwoWindingsTransformerFortescue
public class TwoWindingsTransformerFortescueImpl extends AbstractExtension<TwoWindingsTransformer> implements TwoWindingsTransformerFortescue
- Author:
- Jean-Baptiste Heyberger
, Geoffroy Jamgotchian
-
-
Field Summary
-
Fields inherited from interface com.powsybl.iidm.network.extensions.TwoWindingsTransformerFortescue
NAME
-
-
Constructor Summary
Constructors Constructor Description TwoWindingsTransformerFortescueImpl(TwoWindingsTransformer twt, double rz, double xz, boolean freeFluxes, WindingConnectionType connectionType1, WindingConnectionType connectionType2, double groundingR1, double groundingX1, double groundingR2, double groundingX2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindingConnectionType
getConnectionType1()
Get the winding connection type of transformer side 1, seeWindingConnectionType
).WindingConnectionType
getConnectionType2()
Get the winding connection type of transformer side 2, seeWindingConnectionType
).double
getGroundingR1()
If the transformer side 1 is earthed, depending onWindingConnectionType
side 1, it represents the resistance part of the impedance to ground.double
getGroundingR2()
If the transformer side 2 is earthed, depending onWindingConnectionType
side 2, it represents the resistance part of the impedance to ground.double
getGroundingX1()
If the transformer side 1 is earthed, depending onWindingConnectionType
side 1, it represents the reactance part of the impedance to ground.double
getGroundingX2()
If the transformer side 2 is earthed, depending onWindingConnectionType
side 2, it represents the reactance part of the impedance to ground.double
getRz()
The zero sequence resistance of the two windings transformer.double
getXz()
The zero sequence reactance of the two windings transformer.boolean
isFreeFluxes()
Free fluxes set to true means that the magnetizing impedance Zm is infinite, i.e. fluxes are free.void
setConnectionType1(WindingConnectionType connectionType1)
void
setConnectionType2(WindingConnectionType connectionType2)
void
setFreeFluxes(boolean freeFluxes)
void
setGroundingR1(double groundingR1)
void
setGroundingR2(double groundingR2)
void
setGroundingX1(double groundingX1)
void
setGroundingX2(double groundingX2)
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.TwoWindingsTransformerFortescue
getName
-
-
-
-
Constructor Detail
-
TwoWindingsTransformerFortescueImpl
public TwoWindingsTransformerFortescueImpl(TwoWindingsTransformer twt, double rz, double xz, boolean freeFluxes, WindingConnectionType connectionType1, WindingConnectionType connectionType2, double groundingR1, double groundingX1, double groundingR2, double groundingX2)
-
-
Method Detail
-
getRz
public double getRz()
Description copied from interface:TwoWindingsTransformerFortescue
The zero sequence resistance of the two windings transformer.- Specified by:
getRz
in interfaceTwoWindingsTransformerFortescue
-
setRz
public void setRz(double rz)
- Specified by:
setRz
in interfaceTwoWindingsTransformerFortescue
-
getXz
public double getXz()
Description copied from interface:TwoWindingsTransformerFortescue
The zero sequence reactance of the two windings transformer.- Specified by:
getXz
in interfaceTwoWindingsTransformerFortescue
-
setXz
public void setXz(double xz)
- Specified by:
setXz
in interfaceTwoWindingsTransformerFortescue
-
isFreeFluxes
public boolean isFreeFluxes()
Description copied from interface:TwoWindingsTransformerFortescue
Free fluxes set to true means that the magnetizing impedance Zm is infinite, i.e. fluxes are free.- Specified by:
isFreeFluxes
in interfaceTwoWindingsTransformerFortescue
-
setFreeFluxes
public void setFreeFluxes(boolean freeFluxes)
- Specified by:
setFreeFluxes
in interfaceTwoWindingsTransformerFortescue
-
getConnectionType1
public WindingConnectionType getConnectionType1()
Description copied from interface:TwoWindingsTransformerFortescue
Get the winding connection type of transformer side 1, seeWindingConnectionType
).- Specified by:
getConnectionType1
in interfaceTwoWindingsTransformerFortescue
-
setConnectionType1
public void setConnectionType1(WindingConnectionType connectionType1)
- Specified by:
setConnectionType1
in interfaceTwoWindingsTransformerFortescue
-
getConnectionType2
public WindingConnectionType getConnectionType2()
Description copied from interface:TwoWindingsTransformerFortescue
Get the winding connection type of transformer side 2, seeWindingConnectionType
).- Specified by:
getConnectionType2
in interfaceTwoWindingsTransformerFortescue
-
setConnectionType2
public void setConnectionType2(WindingConnectionType connectionType2)
- Specified by:
setConnectionType2
in interfaceTwoWindingsTransformerFortescue
-
getGroundingR1
public double getGroundingR1()
Description copied from interface:TwoWindingsTransformerFortescue
If the transformer side 1 is earthed, depending onWindingConnectionType
side 1, it represents the resistance part of the impedance to ground.- Specified by:
getGroundingR1
in interfaceTwoWindingsTransformerFortescue
-
setGroundingR1
public void setGroundingR1(double groundingR1)
- Specified by:
setGroundingR1
in interfaceTwoWindingsTransformerFortescue
-
getGroundingR2
public double getGroundingR2()
Description copied from interface:TwoWindingsTransformerFortescue
If the transformer side 2 is earthed, depending onWindingConnectionType
side 2, it represents the resistance part of the impedance to ground.- Specified by:
getGroundingR2
in interfaceTwoWindingsTransformerFortescue
-
setGroundingR2
public void setGroundingR2(double groundingR2)
- Specified by:
setGroundingR2
in interfaceTwoWindingsTransformerFortescue
-
getGroundingX1
public double getGroundingX1()
Description copied from interface:TwoWindingsTransformerFortescue
If the transformer side 1 is earthed, depending onWindingConnectionType
side 1, it represents the reactance part of the impedance to ground.- Specified by:
getGroundingX1
in interfaceTwoWindingsTransformerFortescue
-
setGroundingX1
public void setGroundingX1(double groundingX1)
- Specified by:
setGroundingX1
in interfaceTwoWindingsTransformerFortescue
-
getGroundingX2
public double getGroundingX2()
Description copied from interface:TwoWindingsTransformerFortescue
If the transformer side 2 is earthed, depending onWindingConnectionType
side 2, it represents the reactance part of the impedance to ground.- Specified by:
getGroundingX2
in interfaceTwoWindingsTransformerFortescue
-
setGroundingX2
public void setGroundingX2(double groundingX2)
- Specified by:
setGroundingX2
in interfaceTwoWindingsTransformerFortescue
-
-