public class LoadResponseCharacteristic extends IdentifiedObject
Modifier and Type | Field and Description |
---|---|
java.util.List<EnergyConsumer> |
energyConsumer
Attribute "energyConsumer"
Comment from profile:
The set of loads that have the response characteristics.
|
boolean |
exponentModel
Attribute "exponentModel"
Comment from profile:
Indicates the exponential voltage dependency model (pVoltateExponent and qVoltageExponent) is to be used.
|
float |
pConstantCurrent
Attribute "pConstantCurrent"
Comment from profile:
Portion of active power load modeled as constant current.
|
float |
pConstantImpedance
Attribute "pConstantImpedance"
Comment from profile:
Portion of active power load modeled as constant impedance.
|
float |
pConstantPower
Attribute "pConstantPower"
Comment from profile:
Portion of active power load modeled as constant power.
|
float |
pVoltageExponent
Attribute "pVoltageExponent"
Comment from profile:
Exponent of per unit voltage effecting real power.
|
float |
qConstantCurrent
Attribute "qConstantCurrent"
Comment from profile:
Portion of reactive power load modeled as constant current.
|
float |
qConstantImpedance
Attribute "qConstantImpedance"
Comment from profile:
Portion of reactive power load modeled as constant impedance.
|
float |
qConstantPower
Attribute "qConstantPower"
Comment from profile:
Portion of reactive power load modeled as constant power.
|
float |
qVoltageExponent
Attribute "qVoltageExponent"
Comment from profile:
Exponent of per unit voltage effecting reactive power.
|
aliasName, description, name
addedToUnresolved, fromBoundary, id, subset
Modifier | Constructor and Description |
---|---|
protected |
LoadResponseCharacteristic()
Constructor of the class LoadResponseCharacteristic
|
Modifier and Type | Method and Description |
---|---|
void |
addEnergyConsumer(EnergyConsumer energyConsumerValue,
boolean setInverse)
Utility to add a value within the "energyConsumer" ArrayList of
"EnergyConsumer"
|
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
|
LoadResponseCharacteristic |
clone()
Utility returning a copy of the "base" of this instance
This utility does not copy the associations with other instances
|
void |
copyBase(LoadResponseCharacteristic otherLoadResponseCharacteristic)
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 LoadResponseCharacteristic |
create(java.lang.String id)
Factory of the class
|
boolean |
energyConsumerIsSet()
Utility to test if the value of "energyConsumer" has been set
|
boolean |
exponentModelIsSet()
Utility to test if the value of "exponentModel" has been set
|
java.util.List<EnergyConsumer> |
getEnergyConsumer()
Utility to return the "energyConsumer" List of
"EnergyConsumer" enum
|
float |
getPConstantCurrent()
Utility to return the "pConstantCurrent" value
|
float |
getPConstantImpedance()
Utility to return the "pConstantImpedance" value
|
float |
getPConstantPower()
Utility to return the "pConstantPower" value
|
float |
getPVoltageExponent()
Utility to return the "pVoltageExponent" value
|
float |
getQConstantCurrent()
Utility to return the "qConstantCurrent" value
|
float |
getQConstantImpedance()
Utility to return the "qConstantImpedance" value
|
float |
getQConstantPower()
Utility to return the "qConstantPower" value
|
float |
getQVoltageExponent()
Utility to return the "qVoltageExponent" value
|
boolean |
isExponentModel()
Utility to return the "exponentModel" value
|
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 |
pConstantCurrentIsSet()
Utility to test if the value of "pConstantCurrent" has been set
|
boolean |
pConstantImpedanceIsSet()
Utility to test if the value of "pConstantImpedance" has been set
|
boolean |
pConstantPowerIsSet()
Utility to test if the value of "pConstantPower" has been set
|
boolean |
pVoltageExponentIsSet()
Utility to test if the value of "pVoltageExponent" has been set
|
boolean |
qConstantCurrentIsSet()
Utility to test if the value of "qConstantCurrent" has been set
|
boolean |
qConstantImpedanceIsSet()
Utility to test if the value of "qConstantImpedance" has been set
|
boolean |
qConstantPowerIsSet()
Utility to test if the value of "qConstantPower" has been set
|
boolean |
qVoltageExponentIsSet()
Utility to test if the value of "qVoltageExponent" 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
|
void |
resolveLinks(CIMModel model,
CIMModel boundaryModel)
Utility to resolve the links at the end of parsing
|
void |
setExponentModel(boolean exponentModelValue)
Utility to set the "exponentModel" value
|
void |
setPConstantCurrent(float pConstantCurrentValue)
Utility to set the "pConstantCurrent" value
|
void |
setPConstantImpedance(float pConstantImpedanceValue)
Utility to set the "pConstantImpedance" value
|
void |
setPConstantPower(float pConstantPowerValue)
Utility to set the "pConstantPower" value
|
void |
setPVoltageExponent(float pVoltageExponentValue)
Utility to set the "pVoltageExponent" value
|
void |
setQConstantCurrent(float qConstantCurrentValue)
Utility to set the "qConstantCurrent" value
|
void |
setQConstantImpedance(float qConstantImpedanceValue)
Utility to set the "qConstantImpedance" value
|
void |
setQConstantPower(float qConstantPowerValue)
Utility to set the "qConstantPower" value
|
void |
setQVoltageExponent(float qVoltageExponentValue)
Utility to set the "qVoltageExponent" value
|
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 float pVoltageExponent
public java.util.List<EnergyConsumer> energyConsumer
public float qConstantPower
public float qConstantImpedance
public boolean exponentModel
public float pConstantImpedance
public float qVoltageExponent
public float qConstantCurrent
public float pConstantPower
public float pConstantCurrent
protected LoadResponseCharacteristic()
public float getPVoltageExponent()
public void setPVoltageExponent(float pVoltageExponentValue)
pVoltageExponentValue
- value to setpublic boolean pVoltageExponentIsSet()
public java.util.List<EnergyConsumer> getEnergyConsumer()
public void addEnergyConsumer(EnergyConsumer energyConsumerValue, boolean setInverse) throws LinkageException
energyConsumerValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean energyConsumerIsSet()
public float getQConstantPower()
public void setQConstantPower(float qConstantPowerValue)
qConstantPowerValue
- value to setpublic boolean qConstantPowerIsSet()
public float getQConstantImpedance()
public void setQConstantImpedance(float qConstantImpedanceValue)
qConstantImpedanceValue
- value to setpublic boolean qConstantImpedanceIsSet()
public boolean isExponentModel()
public void setExponentModel(boolean exponentModelValue)
exponentModelValue
- value to setpublic boolean exponentModelIsSet()
public float getPConstantImpedance()
public void setPConstantImpedance(float pConstantImpedanceValue)
pConstantImpedanceValue
- value to setpublic boolean pConstantImpedanceIsSet()
public float getQVoltageExponent()
public void setQVoltageExponent(float qVoltageExponentValue)
qVoltageExponentValue
- value to setpublic boolean qVoltageExponentIsSet()
public float getQConstantCurrent()
public void setQConstantCurrent(float qConstantCurrentValue)
qConstantCurrentValue
- value to setpublic boolean qConstantCurrentIsSet()
public float getPConstantPower()
public void setPConstantPower(float pConstantPowerValue)
pConstantPowerValue
- value to setpublic boolean pConstantPowerIsSet()
public float getPConstantCurrent()
public void setPConstantCurrent(float pConstantCurrentValue)
pConstantCurrentValue
- value to setpublic boolean pConstantCurrentIsSet()
public static LoadResponseCharacteristic create(java.lang.String id)
id
- id of the class LoadResponseCharacteristic 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(LoadResponseCharacteristic otherLoadResponseCharacteristic)
otherLoadResponseCharacteristic
- the instance to copyprotected void clearAssociations(Subset subset)
clearAssociations
in class IdentifiedObject
subset
- the subset from which to clear the associations of this classpublic LoadResponseCharacteristic clone()
clone
in class IdentifiedObject