public class TapControlImpl extends BranchFlowControlImpl implements TapControl
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.math3.complex.Complex |
COMPENSATE_Z_EDEFAULT
The default value of the '
Compensate Z ' attribute. |
protected org.apache.commons.math3.complex.Complex |
compensateZ
The cached value of the '
Compensate Z ' attribute. |
protected static BusBranchControlType |
TAP_CONTROL_TYPE_EDEFAULT
The default value of the '
Tap Control Type ' attribute. |
protected static LimitType |
TAP_LIMIT_EDEFAULT
The default value of the '
Tap Limit ' attribute. |
protected static double |
TAP_STEP_SIZE_EDEFAULT
The default value of the '
Tap Step Size ' attribute. |
protected static int |
TAP_STEPS_EDEFAULT
The default value of the '
Tap Steps ' attribute. |
protected BusBranchControlType |
tapControlType
The cached value of the '
Tap Control Type ' attribute. |
protected int |
tapSteps
The cached value of the '
Tap Steps ' attribute. |
protected double |
tapStepSize
The cached value of the '
Tap Step Size ' attribute. |
protected static java.lang.String |
VC_BUS_ID_EDEFAULT
The default value of the '
Vc Bus Id ' attribute. |
protected static boolean |
VC_GEN_PV_BUS_EDEFAULT
The default value of the '
Vc Gen PV Bus ' attribute. |
protected BaseAclfBus<?,?> |
vcBus
The cached value of the '
Vc Bus ' reference. |
protected java.lang.String |
vcBusId
The cached value of the '
Vc Bus Id ' attribute. |
protected boolean |
vcGenPVBus
The cached value of the '
Vc Gen PV Bus ' attribute. |
CONTROL_LIMIT_EDEFAULT, CONTROL_ON_FROM_SIDE_EDEFAULT, CONTROL_SPEC_EDEFAULT, controlLimit, controlOnFromSide, controlSpec, FLOW_FROM2_TO_EDEFAULT, flowFrom2To, METERED_ON_FROM_SIDE_EDEFAULT, meteredOnFromSide, parentBranch
ADJ_CONTROL_TYPE_EDEFAULT, adjControlType, ADJUST_STATUS_EDEFAULT, adjustStatus, CONTROL_MODE_EDEFAULT, controlMode, DESIRED_CONTROL_RANGE_EDEFAULT, desiredControlRange
desc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfo
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
TapControlImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkData(DataCheckConfiguration config) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
org.apache.commons.math3.complex.Complex |
getCompensateZ() |
double |
getMvarFlowCalculated(Unit.UnitType unit,
double baseKva) |
double |
getMvarSpecified() |
double |
getMvarSpecified(Unit.UnitType unit,
double baseKva) |
BusBranchControlType |
getTapControlType() |
int |
getTapSteps() |
double |
getTapStepSize() |
LimitType |
getTurnRatioLimit() |
BaseAclfBus<?,?> |
getVcBus() |
java.lang.String |
getVcBusId() |
double |
getVSpecified() |
double |
getVSpecified(Unit.UnitType unit) |
boolean |
isVcBusOnFromSide() |
boolean |
isVcGenPVBus() |
<T> T |
jsonCopy() |
boolean |
needAdjust(double tolerance) |
boolean |
performAdjust(double accFactor) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setCompensateZ(org.apache.commons.math3.complex.Complex newCompensateZ) |
void |
setMvarSpecified(double q) |
void |
setMvarSpecified(double q,
Unit.UnitType unit,
double baseKva) |
void |
setTapControlType(BusBranchControlType newTapControlType) |
void |
setTapSteps(int newTapSteps) |
void |
setTapStepSize(double newTapStepSize) |
void |
setTurnRatioLimit(LimitType limit) |
void |
setVcBus(BaseAclfBus<?,?> newVcBus) |
void |
setVcBusId(java.lang.String newVcBusId) |
void |
setVcBusOnFromSide(boolean b) |
void |
setVcGenPVBus(boolean newVcGenPVBus) |
void |
setVSpecified(double v) |
void |
setVSpecified(double v,
Unit.UnitType unit) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
getControlLimit, getControlSpec, getParentBranch, isControlOnFromSide, isFlowFrom2To, isMeteredOnFromSide, setControlLimit, setControlOnFromSide, setControlSpec, setFlowFrom2To, setMeteredOnFromSide, setParentBranch
getAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getControlLimit, getControlSpec, getParentBranch, isControlOnFromSide, isFlowFrom2To, isMeteredOnFromSide, setControlLimit, setControlOnFromSide, setControlSpec, setFlowFrom2To, setMeteredOnFromSide, setParentBranch
getAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final BusBranchControlType TAP_CONTROL_TYPE_EDEFAULT
Tap Control Type
' attribute.
getTapControlType()
protected BusBranchControlType tapControlType
Tap Control Type
' attribute.
getTapControlType()
protected static final LimitType TAP_LIMIT_EDEFAULT
Tap Limit
' attribute.
getTurnRatioLimit()
protected static final double TAP_STEP_SIZE_EDEFAULT
Tap Step Size
' attribute.
getTapStepSize()
,
Constant Field Valuesprotected double tapStepSize
Tap Step Size
' attribute.
getTapStepSize()
protected static final int TAP_STEPS_EDEFAULT
Tap Steps
' attribute.
getTapSteps()
,
Constant Field Valuesprotected int tapSteps
Tap Steps
' attribute.
getTapSteps()
protected static final org.apache.commons.math3.complex.Complex COMPENSATE_Z_EDEFAULT
Compensate Z
' attribute.
getCompensateZ()
protected org.apache.commons.math3.complex.Complex compensateZ
Compensate Z
' attribute.
getCompensateZ()
protected static final boolean VC_GEN_PV_BUS_EDEFAULT
Vc Gen PV Bus
' attribute.
isVcGenPVBus()
,
Constant Field Valuesprotected boolean vcGenPVBus
Vc Gen PV Bus
' attribute.
isVcGenPVBus()
protected static final java.lang.String VC_BUS_ID_EDEFAULT
Vc Bus Id
' attribute.
getVcBusId()
,
Constant Field Valuesprotected java.lang.String vcBusId
Vc Bus Id
' attribute.
getVcBusId()
protected BaseAclfBus<?,?> vcBus
Vc Bus
' reference.
getVcBus()
public boolean checkData(DataCheckConfiguration config)
checkData
in interface NameTag
checkData
in class NameTagImpl
config
- data check configuration
public BusBranchControlType getTapControlType()
getTapControlType
in interface TapControl
BusBranchControlType
,
TapControl.setTapControlType(BusBranchControlType)
,
AclfAdjustPackage.getTapControl_TapControlType()
public void setTapControlType(BusBranchControlType newTapControlType)
setTapControlType
in interface TapControl
newTapControlType
- the new value of the 'Tap Control Type' attribute.BusBranchControlType
,
TapControl.getTapControlType()
public boolean isVcBusOnFromSide()
isVcBusOnFromSide
in interface TapControl
public void setVcBusOnFromSide(boolean b)
setVcBusOnFromSide
in interface TapControl
b
- boolean value
public LimitType getTurnRatioLimit()
getTurnRatioLimit
in interface TapControl
public double getVSpecified()
getVSpecified
in interface TapControl
public void setTurnRatioLimit(LimitType limit)
setTurnRatioLimit
in interface TapControl
public void setVSpecified(double v)
setVSpecified
in interface TapControl
v
- votage specified
public double getTapStepSize()
getTapStepSize
in interface TapControl
TapControl.setTapStepSize(double)
,
AclfAdjustPackage.getTapControl_TapStepSize()
public void setTapStepSize(double newTapStepSize)
setTapStepSize
in interface TapControl
newTapStepSize
- the new value of the 'Tap Step Size' attribute.TapControl.getTapStepSize()
public int getTapSteps()
getTapSteps
in interface TapControl
TapControl.setTapSteps(int)
,
AclfAdjustPackage.getTapControl_TapSteps()
public void setTapSteps(int newTapSteps)
setTapSteps
in interface TapControl
newTapSteps
- the new value of the 'Tap Steps' attribute.TapControl.getTapSteps()
public org.apache.commons.math3.complex.Complex getCompensateZ()
getCompensateZ
in interface TapControl
TapControl.setCompensateZ(Complex)
,
AclfAdjustPackage.getTapControl_CompensateZ()
public void setCompensateZ(org.apache.commons.math3.complex.Complex newCompensateZ)
setCompensateZ
in interface TapControl
newCompensateZ
- the new value of the 'Compensate Z' attribute.TapControl.getCompensateZ()
public boolean isVcGenPVBus()
isVcGenPVBus
in interface TapControl
TapControl.setVcGenPVBus(boolean)
,
AclfAdjustPackage.getTapControl_VcGenPVBus()
public void setVcGenPVBus(boolean newVcGenPVBus)
setVcGenPVBus
in interface TapControl
newVcGenPVBus
- the new value of the 'Vc Gen PV Bus' attribute.TapControl.isVcGenPVBus()
public java.lang.String getVcBusId()
getVcBusId
in interface TapControl
TapControl.setVcBusId(String)
,
AclfAdjustPackage.getTapControl_VcBusId()
public void setVcBusId(java.lang.String newVcBusId)
setVcBusId
in interface TapControl
newVcBusId
- the new value of the 'Vc Bus Id' attribute.TapControl.getVcBusId()
public BaseAclfBus<?,?> getVcBus()
getVcBus
in interface TapControl
TapControl.setVcBus(BaseAclfBus)
,
AclfAdjustPackage.getTapControl_VcBus()
public void setVcBus(BaseAclfBus<?,?> newVcBus)
setVcBus
in interface TapControl
newVcBus
- the new value of the 'Vc Bus' reference.TapControl.getVcBus()
public boolean performAdjust(double accFactor)
performAdjust
in interface IAclfAdjustment
performAdjust
in class BaseBusBranchControlImpl
accFactor
- acceleration factor for the adjustment, default value 1.0.
public double getVSpecified(Unit.UnitType unit)
getVSpecified
in interface TapControl
unit
- voltage unit
public double getMvarSpecified()
getMvarSpecified
in interface TapControl
public double getMvarSpecified(Unit.UnitType unit, double baseKva)
getMvarSpecified
in interface TapControl
unit
- mvar unitbaseKva
- base kva for mvar unit conversion
public boolean needAdjust(double tolerance)
needAdjust
in interface IAclfAdjustment
needAdjust
in class BaseBusBranchControlImpl
tolerance
- Error tolerance for deciding adj/control action. In general, if certain value of the
adj/control device is less than the tolerance, there is no need for further adj/control
action.
public double getMvarFlowCalculated(Unit.UnitType unit, double baseKva)
getMvarFlowCalculated
in interface TapControl
unit
- mvar flow unitbaseKva
- base kva for mvar unit conversion
public void setVSpecified(double v, Unit.UnitType unit)
setVSpecified
in interface TapControl
v
- voltage specifiedunit
- voltage unit
public void setMvarSpecified(double q)
setMvarSpecified
in interface TapControl
q
- mvar specified
public void setMvarSpecified(double q, Unit.UnitType unit, double baseKva)
setMvarSpecified
in interface TapControl
q
- mvar specifiedunit
- mvar specified unitbaseKva
- base kva for unit conversion
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BranchFlowControlImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BranchFlowControlImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BranchFlowControlImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BranchFlowControlImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BranchFlowControlImpl
public <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
in class NameTagImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class BranchFlowControlImpl
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class BranchFlowControlImpl
java.io.IOException
public java.lang.String toString()
toString
in class BranchFlowControlImpl