public class GeneratingUnit extends Equipment
Modifier and Type | Field and Description |
---|---|
java.util.List<SynchronousMachine> |
contains_SynchronousMachines
Attribute "contains_SynchronousMachines"
Comment from profile:
A synchronous machine may operate as a generator and as such becomes a member of a generating unit
|
java.util.List<ControlAreaGeneratingUnit> |
controlAreaGeneratingUnit
Attribute "controlAreaGeneratingUnit"
Comment from profile:
ControlArea specifications for this generating unit.
|
float |
governorSCD
Attribute "governorSCD"
Comment from profile:
Governor Speed Changer Droop.
|
float |
maximumAllowableSpinningReserve
Attribute "maximumAllowableSpinningReserve"
Comment from profile:
Maximum allowable spinning reserve.
|
float |
maxOperatingP
Attribute "maxOperatingP"
Comment from profile:
This is the maximum operating active power limit the dispatcher can enter for this unit
|
float |
minOperatingP
Attribute "minOperatingP"
Comment from profile:
This is the minimum operating active power limit the dispatcher can enter for this unit.
|
float |
nominalP
Attribute "nominalP"
Comment from profile:
The nominal power of the generating unit.
|
float |
normalPF
Attribute "normalPF"
Comment from profile:
|
float |
startupCost
Attribute "startupCost"
Comment from profile:
The initial startup cost incurred for each start of the GeneratingUnit.This is for Short Circuit only.
|
float |
variableCost
Attribute "variableCost"
Comment from profile:
The variable cost component of production per unit of ActivePower.This is for Short Circuit only.
|
equivalent, idMemberOf_EquipmentContainer, memberOf_EquipmentContainer
aliasName, description, name
addedToUnresolved, fromBoundary, id, subset
Modifier | Constructor and Description |
---|---|
protected |
GeneratingUnit()
Constructor of the class GeneratingUnit
|
Modifier and Type | Method and Description |
---|---|
void |
addContains_SynchronousMachines(SynchronousMachine contains_SynchronousMachinesValue,
boolean setInverse)
Utility to add a value within the "contains_SynchronousMachines" ArrayList of
"SynchronousMachine"
|
void |
addControlAreaGeneratingUnit(ControlAreaGeneratingUnit controlAreaGeneratingUnitValue,
boolean setInverse)
Utility to add a value within the "controlAreaGeneratingUnit" ArrayList of
"ControlAreaGeneratingUnit"
|
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
|
GeneratingUnit |
clone()
Utility returning a copy of the "base" of this instance
This utility does not copy the associations with other instances
|
boolean |
contains_SynchronousMachinesIsSet()
Utility to test if the value of "contains_SynchronousMachines" has been set
|
boolean |
controlAreaGeneratingUnitIsSet()
Utility to test if the value of "controlAreaGeneratingUnit" has been set
|
void |
copyBase(GeneratingUnit otherGeneratingUnit)
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 GeneratingUnit |
create(java.lang.String id)
Factory of the class
|
java.util.List<SynchronousMachine> |
getContains_SynchronousMachines()
Utility to return the "contains_SynchronousMachines" List of
"SynchronousMachine" enum
|
java.util.List<ControlAreaGeneratingUnit> |
getControlAreaGeneratingUnit()
Utility to return the "controlAreaGeneratingUnit" List of
"ControlAreaGeneratingUnit" enum
|
float |
getGovernorSCD()
Utility to return the "governorSCD" value
|
float |
getMaximumAllowableSpinningReserve()
Utility to return the "maximumAllowableSpinningReserve" value
|
float |
getMaxOperatingP()
Utility to return the "maxOperatingP" value
|
float |
getMinOperatingP()
Utility to return the "minOperatingP" value
|
float |
getNominalP()
Utility to return the "nominalP" value
|
float |
getNormalPF()
Utility to return the "normalPF" value
|
float |
getStartupCost()
Utility to return the "startupCost" value
|
float |
getVariableCost()
Utility to return the "variableCost" value
|
boolean |
governorSCDIsSet()
Utility to test if the value of "governorSCD" has been set
|
boolean |
maximumAllowableSpinningReserveIsSet()
Utility to test if the value of "maximumAllowableSpinningReserve" has been set
|
boolean |
maxOperatingPIsSet()
Utility to test if the value of "maxOperatingP" has been set
|
boolean |
minOperatingPIsSet()
Utility to test if the value of "minOperatingP" 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 |
nominalPIsSet()
Utility to test if the value of "nominalP" has been set
|
boolean |
normalPFIsSet()
Utility to test if the value of "normalPF" 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 |
setGovernorSCD(float governorSCDValue)
Utility to set the "governorSCD" value
|
void |
setMaximumAllowableSpinningReserve(float maximumAllowableSpinningReserveValue)
Utility to set the "maximumAllowableSpinningReserve" value
|
void |
setMaxOperatingP(float maxOperatingPValue)
Utility to set the "maxOperatingP" value
|
void |
setMinOperatingP(float minOperatingPValue)
Utility to set the "minOperatingP" value
|
void |
setNominalP(float nominalPValue)
Utility to set the "nominalP" value
|
void |
setNormalPF(float normalPFValue)
Utility to set the "normalPF" value
|
void |
setStartupCost(float startupCostValue)
Utility to set the "startupCost" value
|
void |
setVariableCost(float variableCostValue)
Utility to set the "variableCost" value
|
boolean |
startupCostIsSet()
Utility to test if the value of "startupCost" has been set
|
boolean |
variableCostIsSet()
Utility to test if the value of "variableCost" 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
|
copyBase, equivalentIsSet, getMemberOf_EquipmentContainer, isEquivalent, memberOf_EquipmentContainerIsSet, setEquivalent, setMemberOf_EquipmentContainer
aliasNameIsSet, copyBase, descriptionIsSet, getAliasName, getDescription, getName, nameIsSet, setAliasName, setDescription, setName
addToUnresolved, copyBase, getId, getSubset, isAddedToUnresolved, isFromBoundary, removeFromUnresolved, setFromBoundary, setId
public java.util.List<ControlAreaGeneratingUnit> controlAreaGeneratingUnit
public float variableCost
public float normalPF
public float governorSCD
public float nominalP
public float startupCost
public float maximumAllowableSpinningReserve
public float minOperatingP
public float maxOperatingP
public java.util.List<SynchronousMachine> contains_SynchronousMachines
protected GeneratingUnit()
public java.util.List<ControlAreaGeneratingUnit> getControlAreaGeneratingUnit()
public void addControlAreaGeneratingUnit(ControlAreaGeneratingUnit controlAreaGeneratingUnitValue, boolean setInverse) throws LinkageException
controlAreaGeneratingUnitValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean controlAreaGeneratingUnitIsSet()
public float getVariableCost()
public void setVariableCost(float variableCostValue)
variableCostValue
- value to setpublic boolean variableCostIsSet()
public float getNormalPF()
public void setNormalPF(float normalPFValue)
normalPFValue
- value to setpublic boolean normalPFIsSet()
public float getGovernorSCD()
public void setGovernorSCD(float governorSCDValue)
governorSCDValue
- value to setpublic boolean governorSCDIsSet()
public float getNominalP()
public void setNominalP(float nominalPValue)
nominalPValue
- value to setpublic boolean nominalPIsSet()
public float getStartupCost()
public void setStartupCost(float startupCostValue)
startupCostValue
- value to setpublic boolean startupCostIsSet()
public float getMaximumAllowableSpinningReserve()
public void setMaximumAllowableSpinningReserve(float maximumAllowableSpinningReserveValue)
maximumAllowableSpinningReserveValue
- value to setpublic boolean maximumAllowableSpinningReserveIsSet()
public float getMinOperatingP()
public void setMinOperatingP(float minOperatingPValue)
minOperatingPValue
- value to setpublic boolean minOperatingPIsSet()
public float getMaxOperatingP()
public void setMaxOperatingP(float maxOperatingPValue)
maxOperatingPValue
- value to setpublic boolean maxOperatingPIsSet()
public java.util.List<SynchronousMachine> getContains_SynchronousMachines()
public void addContains_SynchronousMachines(SynchronousMachine contains_SynchronousMachinesValue, boolean setInverse) throws LinkageException
contains_SynchronousMachinesValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean contains_SynchronousMachinesIsSet()
public static GeneratingUnit create(java.lang.String id)
id
- id of the class GeneratingUnit to createpublic void clearContent(Subset subset)
clearContent
in class Equipment
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 Equipment
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 Equipment
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)
public void write(javax.xml.stream.XMLStreamWriter xmlsw, Subset subset, boolean writeID)
public void resolveLinks(CIMModel model, CIMModel boundaryModel) throws LinkageException
resolveLinks
in class Equipment
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 Equipment
subset
- the subset defining the context in which to check whether this class is consistentpublic ConsistencyCheck modelConsistency()
modelConsistency
in class Equipment
public void copyBase(GeneratingUnit otherGeneratingUnit)
otherGeneratingUnit
- the instance to copyprotected void clearAssociations(Subset subset)
clearAssociations
in class Equipment
subset
- the subset from which to clear the associations of this classpublic GeneratingUnit clone()