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.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 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. |
parentBus
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 |
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, setVSpecified
changeToGenPQBus, changeToGenPVBus, getParentBus, setParentBus
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
getQLimit, getQLimit, getVSpecified, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified, setVSpecified
changeToGenPQBus, changeToGenPVBus, getParentBus, setParentBus
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 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 NameTag
checkData
in class PVBusLimitImpl
config
- data check configuration
public BusBranchControlType getRemoteQControlType()
getRemoteQControlType
in interface RemoteQBus
BusBranchControlType
,
RemoteQBus.setRemoteQControlType(BusBranchControlType)
,
AclfAdjustPackage.getRemoteQBus_RemoteQControlType()
public void setRemoteQControlType(BusBranchControlType newRemoteQControlType)
setRemoteQControlType
in interface RemoteQBus
newRemoteQControlType
- the new value of the 'Remote QControl Type' attribute.BusBranchControlType
,
RemoteQBus.getRemoteQControlType()
public boolean isFlowFrom2To()
isFlowFrom2To
in interface RemoteQBus
RemoteQBus.setFlowFrom2To(boolean)
,
AclfAdjustPackage.getRemoteQBus_FlowFrom2To()
public void setFlowFrom2To(boolean newFlowFrom2To)
setFlowFrom2To
in interface RemoteQBus
newFlowFrom2To
- the new value of the 'Flow From2 To' attribute.RemoteQBus.isFlowFrom2To()
public boolean isMvarOnFromSide()
isMvarOnFromSide
in interface RemoteQBus
RemoteQBus.setMvarOnFromSide(boolean)
,
AclfAdjustPackage.getRemoteQBus_MvarOnFromSide()
public void setMvarOnFromSide(boolean newMvarOnFromSide)
setMvarOnFromSide
in interface RemoteQBus
newMvarOnFromSide
- the new value of the 'Mvar On From Side' attribute.RemoteQBus.isMvarOnFromSide()
public double getDQ_dv()
getDQ_dv
in interface RemoteQBus
RemoteQBus.setDQ_dv(double)
,
AclfAdjustPackage.getRemoteQBus_DQ_dv()
public void setDQ_dv(double newDQ_dv)
setDQ_dv
in interface RemoteQBus
newDQ_dv
- the new value of the 'DQ dv' attribute.RemoteQBus.getDQ_dv()
public BaseAclfBus<?,?> getRemoteBus()
getRemoteBus
in interface RemoteQBus
RemoteQBus.setRemoteBus(BaseAclfBus)
,
AclfAdjustPackage.getRemoteQBus_RemoteBus()
public void setRemoteBus(BaseAclfBus<?,?> newRemoteBus)
setRemoteBus
in interface RemoteQBus
newRemoteBus
- the new value of the 'Remote Bus' reference.RemoteQBus.getRemoteBus()
public AclfBranch getRemoteBranch()
getRemoteBranch
in interface RemoteQBus
RemoteQBus.setRemoteBranch(AclfBranch)
,
AclfAdjustPackage.getRemoteQBus_RemoteBranch()
public void setRemoteBranch(AclfBranch newRemoteBranch)
setRemoteBranch
in interface RemoteQBus
newRemoteBranch
- the new value of the 'Remote Branch' reference.RemoteQBus.getRemoteBranch()
public double getAccFactor()
getAccFactor
in interface RemoteQBus
RemoteQBus.setAccFactor(double)
,
AclfAdjustPackage.getRemoteQBus_AccFactor()
public void setAccFactor(double newAccFactor)
setAccFactor
in interface RemoteQBus
newAccFactor
- the new value of the 'Acc Factor' attribute.RemoteQBus.getAccFactor()
public double getMvarSpecified()
getMvarSpecified
in interface RemoteQBus
RemoteQBus.setMvarSpecified(double)
,
AclfAdjustPackage.getRemoteQBus_MvarSpecified()
public void setMvarSpecified(double newMvarSpecified)
setMvarSpecified
in interface RemoteQBus
newMvarSpecified
- the new value of the 'Mvar Specified' attribute.RemoteQBus.getMvarSpecified()
public java.lang.String getRemoteBusBranchId()
getRemoteBusBranchId
in interface RemoteQBus
RemoteQBus.setRemoteBusBranchId(String)
,
AclfAdjustPackage.getRemoteQBus_RemoteBusBranchId()
public void setRemoteBusBranchId(java.lang.String newRemoteBusBranchId)
setRemoteBusBranchId
in interface RemoteQBus
newRemoteBusBranchId
- the new value of the 'Remote Bus Branch Id' attribute.RemoteQBus.getRemoteBusBranchId()
public boolean needAdjust(double tolerance)
needAdjust
in interface IAclfAdjustment
needAdjust
in class PVBusLimitImpl
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.
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 RemoteQBus
branch
- branch objectunit
- mvar flow unit
public boolean performAdjust(double accFactor)
performAdjust
in interface IAclfAdjustment
performAdjust
in class PVBusLimitImpl
accFactor
- 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 RemoteQBus
unit
- mvar specified unit
public void setMvarSpecified(double q, Unit.UnitType unit)
setMvarSpecified
in interface RemoteQBus
q
- mvar specified valueunit
- mvar specified unit
public double getDQ_dq()
getDQ_dq
in interface RemoteQBus
public void setDQ_dq(double x)
setDQ_dq
in interface RemoteQBus
x
- dQ_dq value
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class PVBusLimitImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class AclfBusControlImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class AclfBusControlImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class AclfBusControlImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class AclfBusControlImpl
public <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
in class PVBusLimitImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class PVBusLimitImpl
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 PVBusLimitImpl
java.io.IOException
public java.lang.String toString()
toString
in class PVBusLimitImpl