public class RemoteQBusImpl extends PVBusLimitImpl implements RemoteQBus
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 double |
ACC_FACTOR_EDEFAULT
The default value of the '
Acc Factor' attribute. |
protected double |
accFactor
The cached value of the '
Acc Factor' attribute. |
protected double |
dQ_dv
The cached value of the '
DQ dv' attribute. |
protected static double |
DQ_DV_EDEFAULT
The default value of the '
DQ dv' attribute. |
protected static boolean |
FLOW_FROM2_TO_EDEFAULT
The default value of the '
Flow From2 To' attribute. |
protected boolean |
flowFrom2To
The cached value of the '
Flow From2 To' attribute. |
protected static boolean |
MVAR_ON_FROM_SIDE_EDEFAULT
The default value of the '
Mvar On From Side' attribute. |
protected static double |
MVAR_SPECIFIED_EDEFAULT
The default value of the '
Mvar Specified' attribute. |
protected boolean |
mvarOnFromSide
The cached value of the '
Mvar On From Side' attribute. |
protected double |
mvarSpecified
Mvar specified for the remote bus or branch, used in the control
|
protected static java.lang.String |
REMOTE_BUS_BRANCH_ID_EDEFAULT
The default value of the '
Remote Bus Branch Id' attribute. |
protected static BusBranchControlType |
REMOTE_QCONTROL_TYPE_EDEFAULT
The default value of the '
Remote QControl Type' attribute. |
protected AclfBranch |
remoteBranch
The cached value of the '
Remote Branch' reference. |
protected BaseAclfBus<?,?> |
remoteBus
The cached value of the '
Remote Bus' reference. |
protected java.lang.String |
remoteBusBranchId
The cached value of the '
Remote Bus Branch Id' attribute. |
protected BusBranchControlType |
remoteQControlType
The cached value of the '
Remote QControl Type' attribute. |
parentBusADJ_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 |
RemoteQBusImpl() |
| 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) |
double |
getAccFactor() |
protected double |
getAdjustedQorB(BaseAclfBus<?,?> bus)
Get the adjusted Q value for the bus, which is the GenQ for the RemoteQBus
|
double |
getDQ_dq() |
double |
getDQ_dv() |
double |
getMvarFlowCalculated(AclfBranch branch,
Unit.UnitType unit) |
double |
getMvarSpecified() |
double |
getMvarSpecified(Unit.UnitType unit) |
AclfBranch |
getRemoteBranch() |
BaseAclfBus<?,?> |
getRemoteBus() |
java.lang.String |
getRemoteBusBranchId() |
BusBranchControlType |
getRemoteQControlType() |
boolean |
isFlowFrom2To() |
boolean |
isMvarOnFromSide() |
<T> T |
jsonCopy() |
boolean |
needAdjust(double tolerance) |
protected boolean |
needAdjustImpl(double tolerance,
boolean isCapBx) |
boolean |
performAdjust(double accFactor) |
protected boolean |
performAdjustImpl(double accFactor,
boolean isCapB) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setAccFactor(double newAccFactor) |
protected void |
setAdjustedQorB(double q,
BaseAclfBus<?,?> bus)
Set the adjusted Q value to the bus, which is the GenQ for the RemoteQBus
|
void |
setDQ_dq(double x) |
void |
setDQ_dv(double newDQ_dv) |
void |
setFlowFrom2To(boolean newFlowFrom2To) |
void |
setMvarOnFromSide(boolean newMvarOnFromSide) |
void |
setMvarSpecified(double newMvarSpecified) |
void |
setMvarSpecified(double q,
Unit.UnitType unit) |
void |
setRemoteBranch(AclfBranch newRemoteBranch) |
void |
setRemoteBus(BaseAclfBus<?,?> newRemoteBus) |
void |
setRemoteBusBranchId(java.lang.String newRemoteBusBranchId) |
void |
setRemoteQControlType(BusBranchControlType newRemoteQControlType) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
getQLimit, getQLimit, getVSpecified, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified, setVSpecifiedchangeToGenPQBus, changeToGenPVBus, getParentBus, setParentBusgetAdjControlType, 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, waitgetQLimit, getQLimit, getVSpecified, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified, setVSpecifiedchangeToGenPQBus, changeToGenPVBus, getParentBus, setParentBusgetAdjControlType, 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 REMOTE_QCONTROL_TYPE_EDEFAULT
Remote QControl Type' attribute.
getRemoteQControlType()protected BusBranchControlType remoteQControlType
Remote QControl Type' attribute.
getRemoteQControlType()protected static final boolean FLOW_FROM2_TO_EDEFAULT
Flow From2 To' attribute.
isFlowFrom2To(),
Constant Field Valuesprotected boolean flowFrom2To
Flow From2 To' attribute.
isFlowFrom2To()protected static final boolean MVAR_ON_FROM_SIDE_EDEFAULT
Mvar On From Side' attribute.
isMvarOnFromSide(),
Constant Field Valuesprotected boolean mvarOnFromSide
Mvar On From Side' attribute.
isMvarOnFromSide()protected static final double DQ_DV_EDEFAULT
DQ dv' attribute.
getDQ_dv(),
Constant Field Valuesprotected double dQ_dv
DQ dv' attribute.
getDQ_dv()protected static final double ACC_FACTOR_EDEFAULT
Acc Factor' attribute.
getAccFactor(),
Constant Field Valuesprotected double accFactor
Acc Factor' attribute.
getAccFactor()protected static final double MVAR_SPECIFIED_EDEFAULT
Mvar Specified' attribute.
getMvarSpecified(),
Constant Field Valuesprotected double mvarSpecified
protected static final java.lang.String REMOTE_BUS_BRANCH_ID_EDEFAULT
Remote Bus Branch Id' attribute.
getRemoteBusBranchId(),
Constant Field Valuesprotected java.lang.String remoteBusBranchId
Remote Bus Branch Id' attribute.
getRemoteBusBranchId()protected BaseAclfBus<?,?> remoteBus
Remote Bus' reference.
getRemoteBus()protected AclfBranch remoteBranch
Remote Branch' reference.
getRemoteBranch()public boolean checkData(DataCheckConfiguration config)
checkData in interface NameTagcheckData in class PVBusLimitImplconfig - data check configuration
public BusBranchControlType getRemoteQControlType()
getRemoteQControlType in interface RemoteQBusBusBranchControlType,
RemoteQBus.setRemoteQControlType(BusBranchControlType),
AclfAdjustPackage.getRemoteQBus_RemoteQControlType()public void setRemoteQControlType(BusBranchControlType newRemoteQControlType)
setRemoteQControlType in interface RemoteQBusnewRemoteQControlType - the new value of the 'Remote QControl Type' attribute.BusBranchControlType,
RemoteQBus.getRemoteQControlType()public boolean isFlowFrom2To()
isFlowFrom2To in interface RemoteQBusRemoteQBus.setFlowFrom2To(boolean),
AclfAdjustPackage.getRemoteQBus_FlowFrom2To()public void setFlowFrom2To(boolean newFlowFrom2To)
setFlowFrom2To in interface RemoteQBusnewFlowFrom2To - the new value of the 'Flow From2 To' attribute.RemoteQBus.isFlowFrom2To()public boolean isMvarOnFromSide()
isMvarOnFromSide in interface RemoteQBusRemoteQBus.setMvarOnFromSide(boolean),
AclfAdjustPackage.getRemoteQBus_MvarOnFromSide()public void setMvarOnFromSide(boolean newMvarOnFromSide)
setMvarOnFromSide in interface RemoteQBusnewMvarOnFromSide - the new value of the 'Mvar On From Side' attribute.RemoteQBus.isMvarOnFromSide()public double getDQ_dv()
getDQ_dv in interface RemoteQBusRemoteQBus.setDQ_dv(double),
AclfAdjustPackage.getRemoteQBus_DQ_dv()public void setDQ_dv(double newDQ_dv)
setDQ_dv in interface RemoteQBusnewDQ_dv - the new value of the 'DQ dv' attribute.RemoteQBus.getDQ_dv()public BaseAclfBus<?,?> getRemoteBus()
getRemoteBus in interface RemoteQBusRemoteQBus.setRemoteBus(BaseAclfBus),
AclfAdjustPackage.getRemoteQBus_RemoteBus()public void setRemoteBus(BaseAclfBus<?,?> newRemoteBus)
setRemoteBus in interface RemoteQBusnewRemoteBus - the new value of the 'Remote Bus' reference.RemoteQBus.getRemoteBus()public AclfBranch getRemoteBranch()
getRemoteBranch in interface RemoteQBusRemoteQBus.setRemoteBranch(AclfBranch),
AclfAdjustPackage.getRemoteQBus_RemoteBranch()public void setRemoteBranch(AclfBranch newRemoteBranch)
setRemoteBranch in interface RemoteQBusnewRemoteBranch - the new value of the 'Remote Branch' reference.RemoteQBus.getRemoteBranch()public double getAccFactor()
getAccFactor in interface RemoteQBusRemoteQBus.setAccFactor(double),
AclfAdjustPackage.getRemoteQBus_AccFactor()public void setAccFactor(double newAccFactor)
setAccFactor in interface RemoteQBusnewAccFactor - the new value of the 'Acc Factor' attribute.RemoteQBus.getAccFactor()public double getMvarSpecified()
getMvarSpecified in interface RemoteQBusRemoteQBus.setMvarSpecified(double),
AclfAdjustPackage.getRemoteQBus_MvarSpecified()public void setMvarSpecified(double newMvarSpecified)
setMvarSpecified in interface RemoteQBusnewMvarSpecified - the new value of the 'Mvar Specified' attribute.RemoteQBus.getMvarSpecified()public java.lang.String getRemoteBusBranchId()
getRemoteBusBranchId in interface RemoteQBusRemoteQBus.setRemoteBusBranchId(String),
AclfAdjustPackage.getRemoteQBus_RemoteBusBranchId()public void setRemoteBusBranchId(java.lang.String newRemoteBusBranchId)
setRemoteBusBranchId in interface RemoteQBusnewRemoteBusBranchId - the new value of the 'Remote Bus Branch Id' attribute.RemoteQBus.getRemoteBusBranchId()public boolean needAdjust(double tolerance)
needAdjust in interface IAclfAdjustmentneedAdjust in class PVBusLimitImpltolerance - 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.
protected boolean needAdjustImpl(double tolerance,
boolean isCapBx)
protected double getAdjustedQorB(BaseAclfBus<?,?> bus)
bus - the bus to get the adjusted Q valuepublic double getMvarFlowCalculated(AclfBranch branch, Unit.UnitType unit)
getMvarFlowCalculated in interface RemoteQBusbranch - branch objectunit - mvar flow unit
public boolean performAdjust(double accFactor)
performAdjust in interface IAclfAdjustmentperformAdjust in class PVBusLimitImplaccFactor - acceleration factor for the adjustment, default value 1.0.
protected boolean performAdjustImpl(double accFactor,
boolean isCapB)
protected void setAdjustedQorB(double q,
BaseAclfBus<?,?> bus)
q - the adjusted Q valuebus - the bus to set the adjusted Q valuepublic double getMvarSpecified(Unit.UnitType unit)
getMvarSpecified in interface RemoteQBusunit - mvar specified unit
public void setMvarSpecified(double q,
Unit.UnitType unit)
setMvarSpecified in interface RemoteQBusq - mvar specified valueunit - mvar specified unit
public double getDQ_dq()
getDQ_dq in interface RemoteQBuspublic void setDQ_dq(double x)
setDQ_dq in interface RemoteQBusx - dQ_dq value
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class PVBusLimitImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class AclfBusControlImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class AclfBusControlImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class AclfBusControlImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class AclfBusControlImplpublic <T> T jsonCopy()
jsonCopy in interface NameTagjsonCopy in class PVBusLimitImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class PVBusLimitImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class PVBusLimitImpljava.io.IOExceptionpublic java.lang.String toString()
toString in class PVBusLimitImpl