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.EPropertiesHolderImplorg.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, parentBranchADJ_CONTROL_TYPE_EDEFAULT, adjControlType, ADJUST_STATUS_EDEFAULT, adjustStatus, CONTROL_MODE_EDEFAULT, controlMode, DESIRED_CONTROL_RANGE_EDEFAULT, desiredControlRangedesc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfoeAdapters, 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, setParentBranchgetAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRangecheckData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetControlLimit, getControlSpec, getParentBranch, isControlOnFromSide, isFlowFrom2To, isMeteredOnFromSide, setControlLimit, setControlOnFromSide, setControlSpec, setFlowFrom2To, setMeteredOnFromSide, setParentBranchgetAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRangecheckData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 NameTagcheckData in class NameTagImplconfig - data check configuration
public BusBranchControlType getTapControlType()
getTapControlType in interface TapControlBusBranchControlType,
TapControl.setTapControlType(BusBranchControlType),
AclfAdjustPackage.getTapControl_TapControlType()public void setTapControlType(BusBranchControlType newTapControlType)
setTapControlType in interface TapControlnewTapControlType - the new value of the 'Tap Control Type' attribute.BusBranchControlType,
TapControl.getTapControlType()public boolean isVcBusOnFromSide()
isVcBusOnFromSide in interface TapControlpublic void setVcBusOnFromSide(boolean b)
setVcBusOnFromSide in interface TapControlb - boolean value
public LimitType getTurnRatioLimit()
getTurnRatioLimit in interface TapControlpublic double getVSpecified()
getVSpecified in interface TapControlpublic void setTurnRatioLimit(LimitType limit)
setTurnRatioLimit in interface TapControlpublic void setVSpecified(double v)
setVSpecified in interface TapControlv - votage specified
public double getTapStepSize()
getTapStepSize in interface TapControlTapControl.setTapStepSize(double),
AclfAdjustPackage.getTapControl_TapStepSize()public void setTapStepSize(double newTapStepSize)
setTapStepSize in interface TapControlnewTapStepSize - the new value of the 'Tap Step Size' attribute.TapControl.getTapStepSize()public int getTapSteps()
getTapSteps in interface TapControlTapControl.setTapSteps(int),
AclfAdjustPackage.getTapControl_TapSteps()public void setTapSteps(int newTapSteps)
setTapSteps in interface TapControlnewTapSteps - the new value of the 'Tap Steps' attribute.TapControl.getTapSteps()public org.apache.commons.math3.complex.Complex getCompensateZ()
getCompensateZ in interface TapControlTapControl.setCompensateZ(Complex),
AclfAdjustPackage.getTapControl_CompensateZ()public void setCompensateZ(org.apache.commons.math3.complex.Complex newCompensateZ)
setCompensateZ in interface TapControlnewCompensateZ - the new value of the 'Compensate Z' attribute.TapControl.getCompensateZ()public boolean isVcGenPVBus()
isVcGenPVBus in interface TapControlTapControl.setVcGenPVBus(boolean),
AclfAdjustPackage.getTapControl_VcGenPVBus()public void setVcGenPVBus(boolean newVcGenPVBus)
setVcGenPVBus in interface TapControlnewVcGenPVBus - the new value of the 'Vc Gen PV Bus' attribute.TapControl.isVcGenPVBus()public java.lang.String getVcBusId()
getVcBusId in interface TapControlTapControl.setVcBusId(String),
AclfAdjustPackage.getTapControl_VcBusId()public void setVcBusId(java.lang.String newVcBusId)
setVcBusId in interface TapControlnewVcBusId - the new value of the 'Vc Bus Id' attribute.TapControl.getVcBusId()public BaseAclfBus<?,?> getVcBus()
getVcBus in interface TapControlTapControl.setVcBus(BaseAclfBus),
AclfAdjustPackage.getTapControl_VcBus()public void setVcBus(BaseAclfBus<?,?> newVcBus)
setVcBus in interface TapControlnewVcBus - the new value of the 'Vc Bus' reference.TapControl.getVcBus()public boolean performAdjust(double accFactor)
performAdjust in interface IAclfAdjustmentperformAdjust in class BaseBusBranchControlImplaccFactor - acceleration factor for the adjustment, default value 1.0.
public double getVSpecified(Unit.UnitType unit)
getVSpecified in interface TapControlunit - voltage unit
public double getMvarSpecified()
getMvarSpecified in interface TapControlpublic double getMvarSpecified(Unit.UnitType unit, double baseKva)
getMvarSpecified in interface TapControlunit - mvar unitbaseKva - base kva for mvar unit conversion
public boolean needAdjust(double tolerance)
needAdjust in interface IAclfAdjustmentneedAdjust in class BaseBusBranchControlImpltolerance - 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 TapControlunit - mvar flow unitbaseKva - base kva for mvar unit conversion
public void setVSpecified(double v,
Unit.UnitType unit)
setVSpecified in interface TapControlv - voltage specifiedunit - voltage unit
public void setMvarSpecified(double q)
setMvarSpecified in interface TapControlq - mvar specified
public void setMvarSpecified(double q,
Unit.UnitType unit,
double baseKva)
setMvarSpecified in interface TapControlq - mvar specifiedunit - mvar specified unitbaseKva - base kva for unit conversion
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class BranchFlowControlImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class BranchFlowControlImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class BranchFlowControlImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class BranchFlowControlImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class BranchFlowControlImplpublic <T> T jsonCopy()
jsonCopy in interface NameTagjsonCopy in class NameTagImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class BranchFlowControlImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class BranchFlowControlImpljava.io.IOExceptionpublic java.lang.String toString()
toString in class BranchFlowControlImpl