public class RemoteQControlGroupImpl extends RemoteQBusImpl implements RemoteQControlGroup
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 BaseAclfBus<?,?> |
primaryBus
The cached value of the '
Primary Bus ' reference. |
protected org.eclipse.emf.common.util.EList<SwitchedShunt> |
switchedShuntList
The cached value of the '
Switched Shunt List ' reference list. |
ACC_FACTOR_EDEFAULT, accFactor, dQ_dv, DQ_DV_EDEFAULT, FLOW_FROM2_TO_EDEFAULT, flowFrom2To, MVAR_ON_FROM_SIDE_EDEFAULT, MVAR_SPECIFIED_EDEFAULT, mvarOnFromSide, mvarSpecified, REMOTE_BUS_BRANCH_ID_EDEFAULT, REMOTE_QCONTROL_TYPE_EDEFAULT, remoteBranch, remoteBus, remoteBusBranchId, remoteQControlType
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
Constructor and Description |
---|
RemoteQControlGroupImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
calDiscreteB(double bOriginal) |
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) |
protected double |
getAdjustedQorB(BaseAclfBus<?,?> bus)
Get the adjusted Q value for the bus, which is the parent bus Capacitor Q
for SwitchedShunt and StaticVarCompensator
|
double |
getBActual()
Set the BActual for all active switched shunts in the group
|
double |
getBInit() |
LimitType |
getBLimit(boolean reCalculate) |
LimitType |
getBLimit(Unit.UnitType unit) |
LimitType |
getDesiredControlRange() |
BaseAclfBus<?,?> |
getPrimaryBus() |
double |
getQ() |
LimitType |
getQLimit(Unit.UnitType unit) |
double |
getRemoteControlPercentage()
Get the total remote control percentage of all switched shunts in the group
|
org.eclipse.emf.common.util.EList<SwitchedShunt> |
getSwitchedShuntList() |
double |
getVSpecified() |
boolean |
init() |
boolean |
needAdjust(double tolerance) |
boolean |
performAdjust(double accFactor) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
protected void |
setAdjustedQorB(double b,
BaseAclfBus<?,?> bus)
Set the adjusted B value to the bus, which is the parent bus Capacitor B
for SwitchedShunt and StaticVarCompensator
|
void |
setBActual(double b) |
void |
setPrimaryBus(BaseAclfBus<?,?> newPrimaryBus) |
void |
setVSpecified(double value) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
checkData, getAccFactor, getDQ_dq, getDQ_dv, getMvarFlowCalculated, getMvarSpecified, getMvarSpecified, getRemoteBranch, getRemoteBus, getRemoteBusBranchId, getRemoteQControlType, isFlowFrom2To, isMvarOnFromSide, jsonCopy, needAdjustImpl, performAdjustImpl, setAccFactor, setDQ_dq, setDQ_dv, setFlowFrom2To, setMvarOnFromSide, setMvarSpecified, setMvarSpecified, setRemoteBranch, setRemoteBus, setRemoteBusBranchId, setRemoteQControlType
getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified
changeToGenPQBus, changeToGenPVBus, getParentBus, setParentBus
getAdjControlType, getControlMode, 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
getAccFactor, getDQ_dq, getDQ_dv, getMvarFlowCalculated, getMvarSpecified, getMvarSpecified, getRemoteBranch, getRemoteBus, getRemoteBusBranchId, getRemoteQControlType, isFlowFrom2To, isMvarOnFromSide, setAccFactor, setDQ_dq, setDQ_dv, setFlowFrom2To, setMvarOnFromSide, setMvarSpecified, setMvarSpecified, setRemoteBranch, setRemoteBus, setRemoteBusBranchId, setRemoteQControlType
getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified
changeToGenPQBus, changeToGenPVBus, getParentBus, setParentBus
getAdjControlType, getControlMode, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected BaseAclfBus<?,?> primaryBus
Primary Bus
' reference.
getPrimaryBus()
protected org.eclipse.emf.common.util.EList<SwitchedShunt> switchedShuntList
Switched Shunt List
' reference list.
getSwitchedShuntList()
public boolean init()
init
in interface RemoteQControlGroup
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class RemoteQBusImpl
public BaseAclfBus<?,?> getPrimaryBus()
getPrimaryBus
in interface RemoteQControlGroup
RemoteQControlGroup.setPrimaryBus(BaseAclfBus)
,
AclfAdjustPackage.getRemoteQControlGroup_PrimaryBus()
public void setPrimaryBus(BaseAclfBus<?,?> newPrimaryBus)
setPrimaryBus
in interface RemoteQControlGroup
newPrimaryBus
- the new value of the 'Primary Bus' reference.RemoteQControlGroup.getPrimaryBus()
public org.eclipse.emf.common.util.EList<SwitchedShunt> getSwitchedShuntList()
getSwitchedShuntList
in interface RemoteQControlGroup
AclfAdjustPackage.getRemoteQControlGroup_SwitchedShuntList()
public double getVSpecified()
getVSpecified
in interface PVBusLimit
getVSpecified
in class PVBusLimitImpl
public LimitType getDesiredControlRange()
getDesiredControlRange
in interface BaseBusBranchControl
getDesiredControlRange
in class BaseBusBranchControlImpl
BaseBusBranchControl.setDesiredControlRange(LimitType)
,
AclfAdjustPackage.getBaseBusBranchControl_DesiredControlRange()
public void setVSpecified(double value)
PVBusLimitImpl
setVSpecified
in interface PVBusLimit
setVSpecified
in class PVBusLimitImpl
public double getBInit()
getBInit
in interface RemoteQControlGroup
public double getBActual()
getBActual
in interface RemoteQControlGroup
public void setBActual(double b)
setBActual
in interface RemoteQControlGroup
public double getRemoteControlPercentage()
getRemoteControlPercentage
in interface RemoteQControlGroup
public LimitType getBLimit(boolean reCalculate)
getBLimit
in interface IShuntQFunc
public LimitType getBLimit(Unit.UnitType unit)
getBLimit
in interface IShuntQFunc
public LimitType getQLimit(Unit.UnitType unit)
getQLimit
in interface PVBusLimit
getQLimit
in class PVBusLimitImpl
public double calDiscreteB(double bOriginal)
calDiscreteB
in interface IShuntQFunc
public double getQ()
getQ
in interface IShuntQFunc
public boolean needAdjust(double tolerance)
RemoteQBusImpl
needAdjust
in interface IAclfAdjustment
needAdjust
in class RemoteQBusImpl
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 double getAdjustedQorB(BaseAclfBus<?,?> bus)
getAdjustedQorB
in class RemoteQBusImpl
bus
- the bus to get the adjusted Q valuepublic boolean performAdjust(double accFactor)
RemoteQBusImpl
performAdjust
in interface IAclfAdjustment
performAdjust
in class RemoteQBusImpl
accFactor
- acceleration factor for the adjustment, default value 1.0.
protected void setAdjustedQorB(double b, BaseAclfBus<?,?> bus)
setAdjustedQorB
in class RemoteQBusImpl
q
- the adjusted Q valuebus
- the bus to set the adjusted Q valuepublic java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class RemoteQBusImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class RemoteQBusImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class RemoteQBusImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class RemoteQBusImpl
public java.lang.String toString()
toString
in class RemoteQBusImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class RemoteQBusImpl
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class RemoteQBusImpl
java.io.IOException