public class TapChanger extends IdentifiedObject
Modifier and Type | Field and Description |
---|---|
int |
highStep
Attribute "highStep"
Comment from profile:
Highest possible tap step position, advance from neutral
|
java.lang.String |
idRegulatingControl
The id of the attribute "regulatingControl"
This id is mainly used to resolve links after parsing an instance
|
java.lang.String |
idSvTapStep
The id of the attribute "svTapStep"
This id is mainly used to resolve links after parsing an instance
|
int |
lowStep
Attribute "lowStep"
Comment from profile:
Lowest possible tap step position, retard from neutral
|
int |
neutralStep
Attribute "neutralStep"
Comment from profile:
The neutralStep value cannot be higher than the highStep value or lower than the lowStep value.
|
float |
neutralU
Attribute "neutralU"
Comment from profile:
Voltage at which the winding operates at the neutral tap setting.
|
RegulatingControl |
regulatingControl |
float |
stepVoltageIncrement
Attribute "stepVoltageIncrement"
Comment from profile:
This is required for RatioTapChanger.
|
SvTapStep |
svTapStep
Attribute "svTapStep"
Comment from profile:
The tap step state associated with the tap changer.
|
aliasName, description, name
addedToUnresolved, fromBoundary, id, subset
Modifier | Constructor and Description |
---|---|
protected |
TapChanger()
Constructor of the class TapChanger
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearAssociations(Subset subset)
Utility to clear the associations of this class belonging to a
specific subset
|
void |
clearContent(Subset subset)
Utility to "clear" the content of a class when a subset is invalidated
|
TapChanger |
clone()
Utility returning a copy of the "base" of this instance
This utility does not copy the associations with other instances
|
void |
copyBase(TapChanger otherTapChanger)
Utility to copy the "base" of an other instance of the same class
This utility does not copy the associations with other instances from
the instance to copy
|
static TapChanger |
create(java.lang.String id)
Factory of the class
|
int |
getHighStep()
Utility to return the "highStep" value
|
int |
getLowStep()
Utility to return the "lowStep" value
|
int |
getNeutralStep()
Utility to return the "neutralStep" value
|
float |
getNeutralU()
Utility to return the "neutralU" value
|
RegulatingControl |
getRegulatingControl()
Utility to return the "regulatingControl"
|
float |
getStepVoltageIncrement()
Utility to return the "stepVoltageIncrement" value
|
SvTapStep |
getSvTapStep()
Utility to return the "svTapStep"
|
boolean |
highStepIsSet()
Utility to test if the value of "highStep" has been set
|
boolean |
lowStepIsSet()
Utility to test if the value of "lowStep" has been set
|
ConsistencyCheck |
modelConsistency()
Utility to check whether this class is consistent in a "merged" context
|
ConsistencyCheck |
modelConsistency(Subset subset)
Utility to check whether this class is consistent according to a subset
|
boolean |
neutralStepIsSet()
Utility to test if the value of "neutralStep" has been set
|
boolean |
neutralUIsSet()
Utility to test if the value of "neutralU" has been set
|
void |
readAttribute(java.lang.String class_name,
java.lang.String attr_name,
java.lang.String value,
CIMModel model)
Utility to read an attribute
This function is called by the CIMModel
|
void |
readResource(java.lang.String class_name,
java.lang.String resource_name,
java.lang.String id,
CIMModel model)
Utility to read a reference to a resource
This function is called by the CIMModel
|
boolean |
regulatingControlIsSet()
Utility to test if the value of "regulatingControl" has been set
|
void |
resolveLinks(CIMModel model,
CIMModel boundaryModel)
Utility to resolve the links at the end of parsing
|
void |
setHighStep(int highStepValue)
Utility to set the "highStep" value
|
void |
setLowStep(int lowStepValue)
Utility to set the "lowStep" value
|
void |
setNeutralStep(int neutralStepValue)
Utility to set the "neutralStep" value
|
void |
setNeutralU(float neutralUValue)
Utility to set the "neutralU" value
|
void |
setRegulatingControl(RegulatingControl regulatingControlValue,
boolean setInverse)
Utility to set the "regulatingControlValue"
|
void |
setStepVoltageIncrement(float stepVoltageIncrementValue)
Utility to set the "stepVoltageIncrement" value
|
void |
setSvTapStep(SvTapStep svTapStepValue,
boolean setInverse)
Utility to set the "svTapStepValue"
|
boolean |
stepVoltageIncrementIsSet()
Utility to test if the value of "stepVoltageIncrement" has been set
|
boolean |
svTapStepIsSet()
Utility to test if the value of "svTapStep" has been set
|
void |
write(javax.xml.stream.XMLStreamWriter xmlsw,
boolean writeID)
Utility to write the content into the CIM XML format
|
void |
write(javax.xml.stream.XMLStreamWriter xmlsw,
Subset subset,
boolean writeID)
Utility to write the content this class into the CIM/XML format according
to a subset
|
aliasNameIsSet, copyBase, descriptionIsSet, getAliasName, getDescription, getName, nameIsSet, setAliasName, setDescription, setName
addToUnresolved, copyBase, getId, getSubset, isAddedToUnresolved, isFromBoundary, removeFromUnresolved, setFromBoundary, setId
public int highStep
public float neutralU
public int neutralStep
public RegulatingControl regulatingControl
public java.lang.String idRegulatingControl
public SvTapStep svTapStep
public java.lang.String idSvTapStep
public float stepVoltageIncrement
public int lowStep
public int getHighStep()
public void setHighStep(int highStepValue)
highStepValue
- value to setpublic boolean highStepIsSet()
public float getNeutralU()
public void setNeutralU(float neutralUValue)
neutralUValue
- value to setpublic boolean neutralUIsSet()
public int getNeutralStep()
public void setNeutralStep(int neutralStepValue)
neutralStepValue
- value to setpublic boolean neutralStepIsSet()
public RegulatingControl getRegulatingControl()
public boolean regulatingControlIsSet()
public void setRegulatingControl(RegulatingControl regulatingControlValue, boolean setInverse) throws LinkageException
regulatingControlValue
- instance to setsetInverse
- boolean to specify whether to set the inverse association
or notLinkageException
public SvTapStep getSvTapStep()
public boolean svTapStepIsSet()
public void setSvTapStep(SvTapStep svTapStepValue, boolean setInverse) throws LinkageException
svTapStepValue
- instance to setsetInverse
- boolean to specify whether to set the inverse association
or notLinkageException
public float getStepVoltageIncrement()
public void setStepVoltageIncrement(float stepVoltageIncrementValue)
stepVoltageIncrementValue
- value to setpublic boolean stepVoltageIncrementIsSet()
public int getLowStep()
public void setLowStep(int lowStepValue)
lowStepValue
- value to setpublic boolean lowStepIsSet()
public static TapChanger create(java.lang.String id)
id
- id of the class TapChanger to createpublic void clearContent(Subset subset)
clearContent
in class IdentifiedObject
subset
- subset to cleanpublic void readAttribute(java.lang.String class_name, java.lang.String attr_name, java.lang.String value, CIMModel model) throws InterpretationException
readAttribute
in class IdentifiedObject
class_name
- the read name of classattr_name
- the read name of attributevalue
- the read value of the attributemodel
- the interface to the model this class belongs toInterpretationException
public void readResource(java.lang.String class_name, java.lang.String resource_name, java.lang.String id, CIMModel model) throws InterpretationException, LinkageException
readResource
in class IdentifiedObject
class_name
- the read name of classresource_name
- the read name of the associated resourceid
- the id of the associated resourcemodel
- the model this class belongs toInterpretationException
LinkageException
public void write(javax.xml.stream.XMLStreamWriter xmlsw, boolean writeID)
write
in class IdentifiedObject
writeID
- specifies whether to write the XML "id" attribute (this is used for describing concrete class)xmlsw
- XMLStreamWriter where are stored the elements to writepublic void write(javax.xml.stream.XMLStreamWriter xmlsw, Subset subset, boolean writeID)
write
in class IdentifiedObject
subset
- the subset defining the context in which to write this classwriteID
- specifies whether to write the XML "id" attribute (this is used for describing concrete class)xmlsw
- the stream in which are stored the elements to writepublic void resolveLinks(CIMModel model, CIMModel boundaryModel) throws LinkageException
resolveLinks
in class IdentifiedObject
model
- the model this class belongs toboundaryModel
- the model that gather data about the boundarySet, used
as a resource force links resolvingLinkage
- ExceptionLinkageException
public ConsistencyCheck modelConsistency(Subset subset)
modelConsistency
in class IdentifiedObject
subset
- the subset defining the context in which to check whether this class is consistentpublic ConsistencyCheck modelConsistency()
modelConsistency
in class IdentifiedObject
public void copyBase(TapChanger otherTapChanger)
otherTapChanger
- the instance to copyprotected void clearAssociations(Subset subset)
clearAssociations
in class IdentifiedObject
subset
- the subset from which to clear the associations of this classpublic TapChanger clone()
clone
in class IdentifiedObject