public class TwoWindingsTransformerAdapter extends java.lang.Object implements TwoWindingsTransformer
Branch.Overload, Branch.Side
Modifier and Type | Method and Description |
---|---|
<E extends Extension<I>> |
addExtension(java.lang.Class<? super E> type,
E extension)
Add en extension to this extendable object.
|
boolean |
checkPermanentLimit(Branch.Side side) |
boolean |
checkPermanentLimit(Branch.Side side,
float limitReduction) |
boolean |
checkPermanentLimit1() |
boolean |
checkPermanentLimit1(float limitReduction) |
boolean |
checkPermanentLimit2() |
boolean |
checkPermanentLimit2(float limitReduction) |
Branch.Overload |
checkTemporaryLimits(Branch.Side side) |
Branch.Overload |
checkTemporaryLimits(Branch.Side side,
float limitReduction) |
Branch.Overload |
checkTemporaryLimits1() |
Branch.Overload |
checkTemporaryLimits1(float limitReduction) |
Branch.Overload |
checkTemporaryLimits2() |
Branch.Overload |
checkTemporaryLimits2(float limitReduction) |
double |
getB()
Get the nominal magnetizing susceptance specified in S at the secondary
voltage side.
|
CurrentLimits |
getCurrentLimits(Branch.Side side) |
CurrentLimits |
getCurrentLimits1() |
CurrentLimits |
getCurrentLimits2() |
protected I |
getDelegate() |
<E extends Extension<I>> |
getExtension(java.lang.Class<? super E> type)
Get an extension based on its class type.
|
<E extends Extension<I>> |
getExtensionByName(java.lang.String name)
Get an extension based on its name.
|
<E extends Extension<I>> |
getExtensions()
Get all extensions associated with this extendable object..
|
double |
getG()
Get the nominal magnetizing conductance specified in S at the secondary
voltage side.
|
java.lang.String |
getId()
Get the unique identifier of the object.
|
protected com.powsybl.iidm.mergingview.MergingViewIndex |
getIndex() |
java.lang.String |
getName()
Get an the (optional) name of the object.
|
MergingView |
getNetwork()
Get the network associated to the object.
|
int |
getOverloadDuration() |
PhaseTapChanger |
getPhaseTapChanger()
Get the phase tap changer.
|
java.lang.String |
getProperty(java.lang.String key)
Get property associated to specified key.
|
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Get property associated to specified key, with default value.
|
java.util.Set<java.lang.String> |
getPropertyNames()
Get properties key values.
|
double |
getR()
Get the nominal series resistance specified in Ω at the secondary
voltage side.
|
double |
getRatedU1()
Get the primary winding rated voltage in kV.
|
double |
getRatedU2()
Get the secondary winding rated voltage in kV.
|
RatioTapChanger |
getRatioTapChanger()
Get the ratio tap changer.
|
Branch.Side |
getSide(Terminal terminal) |
Substation |
getSubstation()
Get the substation to which the transformer belongs.
|
Terminal |
getTerminal(Branch.Side side) |
Terminal |
getTerminal(java.lang.String voltageLevelId) |
Terminal |
getTerminal1()
Get the first terminal.
|
Terminal |
getTerminal2()
Get the second terminal.
|
java.util.List<? extends Terminal> |
getTerminals() |
ConnectableType |
getType()
Get the connectable type.
|
double |
getX()
Get the nominal series reactance specified in Ω at the secondary
voltage side.
|
boolean |
hasProperty()
Check that this object has some properties.
|
boolean |
hasProperty(java.lang.String key)
Check that this object has property with specified name.
|
boolean |
isOverloaded() |
boolean |
isOverloaded(float limitReduction) |
CurrentLimitsAdder |
newCurrentLimits1() |
CurrentLimitsAdder |
newCurrentLimits2() |
PhaseTapChangerAdder |
newPhaseTapChanger()
Get a builder to create and associate a phase tap changer to the
transformer.
|
RatioTapChangerAdder |
newRatioTapChanger()
Get a builder to create and associate a ratio tap changer to the
transformer.
|
void |
remove()
Remove the equipment.
|
<E extends Extension<I>> |
removeExtension(java.lang.Class<E> type)
Remove an extension based on its class type.
|
TwoWindingsTransformer |
setB(double b)
Set the nominal magnetizing susceptance specified in S at the secondary
voltage side.
|
TwoWindingsTransformer |
setG(double g)
Set the nominal magnetizing conductance specified in S at the secondary
voltage side.
|
java.lang.String |
setProperty(java.lang.String key,
java.lang.String value)
Set property value associated to specified key.
|
TwoWindingsTransformer |
setR(double r)
Set the nominal series resistance specified in Ω at the secondary
voltage side.
|
TwoWindingsTransformer |
setRatedU1(double ratedU1)
Set the secondary winding rated voltage in kV.
|
TwoWindingsTransformer |
setRatedU2(double ratedU2)
Set the secondary winding rated voltage in kV.
|
TwoWindingsTransformer |
setX(double x)
Set the nominal series reactance specified in Ω at the secondary
voltage side.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermanentLimit, checkPermanentLimit, checkPermanentLimit1, checkPermanentLimit1, checkPermanentLimit2, checkPermanentLimit2, checkTemporaryLimits, checkTemporaryLimits, checkTemporaryLimits1, checkTemporaryLimits1, checkTemporaryLimits2, checkTemporaryLimits2, getCurrentLimits, getCurrentLimits1, getCurrentLimits2, getOverloadDuration, getSide, getTerminal, getTerminal, getTerminal1, getTerminal2, isOverloaded, isOverloaded, newCurrentLimits1, newCurrentLimits2
getTerminals, getType, remove
getId, getName, getNetwork, getProperties, getProperty, getProperty, getPropertyNames, hasProperty, hasProperty, setProperty
addExtension, getExtension, getExtensionByName, getExtensions, removeExtension
public PhaseTapChanger getPhaseTapChanger()
PhaseTapChangerHolder
Could return null
if the transfomer is not associated to
a phase tap changer.
getPhaseTapChanger
in interface PhaseTapChangerHolder
public RatioTapChanger getRatioTapChanger()
RatioTapChangerHolder
Could return null
if the leg is not associated to a ratio
tap changer.
getRatioTapChanger
in interface RatioTapChangerHolder
public RatioTapChangerAdder newRatioTapChanger()
RatioTapChangerHolder
newRatioTapChanger
in interface RatioTapChangerHolder
public PhaseTapChangerAdder newPhaseTapChanger()
PhaseTapChangerHolder
newPhaseTapChanger
in interface PhaseTapChangerHolder
public Substation getSubstation()
TwoWindingsTransformer
getSubstation
in interface TwoWindingsTransformer
public double getR()
TwoWindingsTransformer
getR
in interface TwoWindingsTransformer
public TwoWindingsTransformer setR(double r)
TwoWindingsTransformer
setR
in interface TwoWindingsTransformer
public double getX()
TwoWindingsTransformer
getX
in interface TwoWindingsTransformer
public TwoWindingsTransformer setX(double x)
TwoWindingsTransformer
setX
in interface TwoWindingsTransformer
public double getG()
TwoWindingsTransformer
getG
in interface TwoWindingsTransformer
public TwoWindingsTransformer setG(double g)
TwoWindingsTransformer
setG
in interface TwoWindingsTransformer
public double getB()
TwoWindingsTransformer
getB
in interface TwoWindingsTransformer
public TwoWindingsTransformer setB(double b)
TwoWindingsTransformer
setB
in interface TwoWindingsTransformer
public double getRatedU1()
TwoWindingsTransformer
getRatedU1
in interface TwoWindingsTransformer
public TwoWindingsTransformer setRatedU1(double ratedU1)
TwoWindingsTransformer
setRatedU1
in interface TwoWindingsTransformer
public double getRatedU2()
TwoWindingsTransformer
getRatedU2
in interface TwoWindingsTransformer
public TwoWindingsTransformer setRatedU2(double ratedU2)
TwoWindingsTransformer
setRatedU2
in interface TwoWindingsTransformer
public Terminal getTerminal1()
Branch
getTerminal1
in interface Branch<I extends Branch<I>>
public Terminal getTerminal2()
Branch
getTerminal2
in interface Branch<I extends Branch<I>>
public Terminal getTerminal(Branch.Side side)
getTerminal
in interface Branch<I extends Branch<I>>
public Terminal getTerminal(java.lang.String voltageLevelId)
getTerminal
in interface Branch<I extends Branch<I>>
public Branch.Side getSide(Terminal terminal)
public java.util.List<? extends Terminal> getTerminals()
getTerminals
in interface Connectable<I extends Branch<I>>
public CurrentLimits getCurrentLimits(Branch.Side side)
getCurrentLimits
in interface Branch<I extends Branch<I>>
public CurrentLimits getCurrentLimits1()
getCurrentLimits1
in interface Branch<I extends Branch<I>>
public CurrentLimitsAdder newCurrentLimits1()
newCurrentLimits1
in interface Branch<I extends Branch<I>>
public CurrentLimits getCurrentLimits2()
getCurrentLimits2
in interface Branch<I extends Branch<I>>
public CurrentLimitsAdder newCurrentLimits2()
newCurrentLimits2
in interface Branch<I extends Branch<I>>
public boolean isOverloaded()
isOverloaded
in interface Branch<I extends Branch<I>>
public boolean isOverloaded(float limitReduction)
isOverloaded
in interface Branch<I extends Branch<I>>
public int getOverloadDuration()
getOverloadDuration
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit(Branch.Side side, float limitReduction)
checkPermanentLimit
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit(Branch.Side side)
checkPermanentLimit
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit1(float limitReduction)
checkPermanentLimit1
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit1()
checkPermanentLimit1
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit2(float limitReduction)
checkPermanentLimit2
in interface Branch<I extends Branch<I>>
public boolean checkPermanentLimit2()
checkPermanentLimit2
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits(Branch.Side side, float limitReduction)
checkTemporaryLimits
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits(Branch.Side side)
checkTemporaryLimits
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits1(float limitReduction)
checkTemporaryLimits1
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits1()
checkTemporaryLimits1
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits2(float limitReduction)
checkTemporaryLimits2
in interface Branch<I extends Branch<I>>
public Branch.Overload checkTemporaryLimits2()
checkTemporaryLimits2
in interface Branch<I extends Branch<I>>
public ConnectableType getType()
Connectable
getType
in interface Connectable<I extends Branch<I>>
public void remove()
Connectable
remove
in interface Connectable<I extends Branch<I>>
public MergingView getNetwork()
Identifiable
getNetwork
in interface Identifiable<I extends Identifiable<I>>
public java.lang.String getId()
Identifiable
getId
in interface Identifiable<I extends Identifiable<I>>
public java.lang.String getName()
Identifiable
getName
in interface Identifiable<I extends Identifiable<I>>
public boolean hasProperty()
Identifiable
hasProperty
in interface Identifiable<I extends Identifiable<I>>
public boolean hasProperty(java.lang.String key)
Identifiable
hasProperty
in interface Identifiable<I extends Identifiable<I>>
public java.lang.String getProperty(java.lang.String key)
Identifiable
getProperty
in interface Identifiable<I extends Identifiable<I>>
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
Identifiable
getProperty
in interface Identifiable<I extends Identifiable<I>>
public java.lang.String setProperty(java.lang.String key, java.lang.String value)
Identifiable
setProperty
in interface Identifiable<I extends Identifiable<I>>
public java.util.Set<java.lang.String> getPropertyNames()
Identifiable
getPropertyNames
in interface Identifiable<I extends Identifiable<I>>
public <E extends Extension<I>> void addExtension(java.lang.Class<? super E> type, E extension)
Extendable
addExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typeextension
- the extensionpublic <E extends Extension<I>> E getExtension(java.lang.Class<? super E> type)
Extendable
getExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typepublic <E extends Extension<I>> E getExtensionByName(java.lang.String name)
Extendable
getExtensionByName
in interface Extendable<I extends Identifiable<I>>
name
- the extension namepublic <E extends Extension<I>> boolean removeExtension(java.lang.Class<E> type)
Extendable
removeExtension
in interface Extendable<I extends Identifiable<I>>
E
- the extension typetype
- the extension class typepublic <E extends Extension<I>> java.util.Collection<E> getExtensions()
Extendable
getExtensions
in interface Extendable<I extends Identifiable<I>>
protected I getDelegate()
protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()
Copyright © 2020. All rights reserved.