public class SwitchedShuntImpl extends RemoteQBusImpl implements SwitchedShunt
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 double |
bActual
The cached value of the '
BActual ' attribute. |
protected static double |
BACTUAL_EDEFAULT
The default value of the '
BActual ' attribute. |
protected double |
bInit
The cached value of the '
BInit ' attribute. |
protected static double |
BINIT_EDEFAULT
The default value of the '
BInit ' attribute. |
protected static java.lang.String |
REMOTE_CONTROL_GROUP_ID_EDEFAULT
The default value of the '
Remote Control Group Id ' attribute. |
protected static double |
REMOTE_CONTROL_PERCENTAGE_EDEFAULT
The default value of the '
Remote Control Percentage ' attribute. |
protected java.lang.String |
remoteControlGroupId
the remote control group id for this switched shunt
|
protected double |
remoteControlPercentage
The cached value of the '
Remote Control Percentage ' attribute. |
protected org.eclipse.emf.common.util.EList<ShuntCompensator> |
shuntCompensatorList
The cached value of the '
Shunt Compensator List ' containment 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
Modifier | Constructor and Description |
---|---|
protected |
SwitchedShuntImpl() |
Modifier and Type | Method and Description |
---|---|
double |
calDiscreteB(double bOriginal)
Calculate the discrete B value based on the shunt compensator banks.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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() |
double |
getBInit() |
LimitType |
getBLimit(boolean reClacualte) |
LimitType |
getBLimit(Unit.UnitType unit) |
double |
getQ() |
java.lang.String |
getRemoteControlGroupId()
get the remote control group id for this switched shunt
|
double |
getRemoteControlPercentage() |
org.eclipse.emf.common.util.EList<ShuntCompensator> |
getShuntCompensatorList() |
double |
getVSpecified() |
<T> T |
jsonCopy() |
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 newBActual) |
void |
setBInit(double newBInit) |
void |
setBLimit(LimitType newQLimit) |
void |
setBLimit(LimitType limit,
Unit.UnitType unit) |
void |
setRemoteControlGroupId(java.lang.String groupId)
set the remote control group id for this switched shunt
|
void |
setRemoteControlPercentage(double newRemoteControlPercentage) |
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, needAdjustImpl, performAdjustImpl, setAccFactor, setDQ_dq, setDQ_dv, setFlowFrom2To, setMvarOnFromSide, setMvarSpecified, setMvarSpecified, setRemoteBranch, setRemoteBus, setRemoteBusBranchId, setRemoteQControlType
getQLimit, getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, 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, 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, getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecified
changeToGenPQBus, changeToGenPVBus, getParentBus, setParentBus
getAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, 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 double BINIT_EDEFAULT
BInit
' attribute.
getBInit()
,
Constant Field Valuesprotected double bInit
BInit
' attribute.
getBInit()
protected static final double REMOTE_CONTROL_PERCENTAGE_EDEFAULT
Remote Control Percentage
' attribute.
protected double remoteControlPercentage
Remote Control Percentage
' attribute.
getRemoteControlPercentage()
protected static final double BACTUAL_EDEFAULT
BActual
' attribute.
getBActual()
,
Constant Field Valuesprotected double bActual
BActual
' attribute.
getBActual()
protected static final java.lang.String REMOTE_CONTROL_GROUP_ID_EDEFAULT
Remote Control Group Id
' attribute.
getRemoteControlGroupId()
,
Constant Field Valuesprotected java.lang.String remoteControlGroupId
protected org.eclipse.emf.common.util.EList<ShuntCompensator> shuntCompensatorList
Shunt Compensator List
' containment reference list.
getShuntCompensatorList()
public LimitType getBLimit(boolean reClacualte)
getBLimit
in interface IShuntQFunc
public void setBLimit(LimitType newQLimit)
setBLimit
in interface SwitchedShunt
public LimitType getBLimit(Unit.UnitType unit)
getBLimit
in interface IShuntQFunc
public void setBLimit(LimitType limit, Unit.UnitType unit)
setBLimit
in interface SwitchedShunt
public double getBInit()
getBInit
in interface SwitchedShunt
SwitchedShunt.setBInit(double)
,
AclfAdjustPackage.getSwitchedShunt_BInit()
public double getQ()
getQ
in interface IShuntQFunc
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void setBInit(double newBInit)
setBInit
in interface SwitchedShunt
newBInit
- the new value of the 'BInit' attribute.SwitchedShunt.getBInit()
public double getRemoteControlPercentage()
getRemoteControlPercentage
in interface SwitchedShunt
SwitchedShunt.setRemoteControlPercentage(double)
,
AclfAdjustPackage.getSwitchedShunt_RemoteControlPercentage()
public void setRemoteControlPercentage(double newRemoteControlPercentage)
setRemoteControlPercentage
in interface SwitchedShunt
public boolean needAdjust(double tolerance)
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)
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 double calDiscreteB(double bOriginal)
calDiscreteB
in interface IShuntQFunc
bOriginal
- the original B value to be adjustedpublic double getBActual()
getBActual
in interface SwitchedShunt
SwitchedShunt.setBActual(double)
,
AclfAdjustPackage.getSwitchedShunt_BActual()
public void setBActual(double newBActual)
setBActual
in interface SwitchedShunt
newBActual
- the new value of the 'BActual' attribute.SwitchedShunt.getBActual()
public org.eclipse.emf.common.util.EList<ShuntCompensator> getShuntCompensatorList()
getShuntCompensatorList
in interface SwitchedShunt
AclfAdjustPackage.getSwitchedShunt_ShuntCompensatorList()
public void setVSpecified(double value)
PVBusLimitImpl
setVSpecified
in interface PVBusLimit
setVSpecified
in class PVBusLimitImpl
public double getVSpecified()
PVBusLimitImpl
getVSpecified
in interface PVBusLimit
getVSpecified
in class PVBusLimitImpl
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class RemoteQBusImpl
public 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 <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
in class RemoteQBusImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
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
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class RemoteQBusImpl
java.io.IOException
public void setRemoteControlGroupId(java.lang.String groupId)
SwitchedShunt
setRemoteControlGroupId
in interface SwitchedShunt
public java.lang.String getRemoteControlGroupId()
SwitchedShunt
getRemoteControlGroupId
in interface SwitchedShunt