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.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 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, remoteQControlTypeparentBusADJ_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 |
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, setRemoteQControlTypegetQLimit, getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, 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, 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, waitgetAccFactor, 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, setRemoteQControlTypegetQLimit, getQLimit, getVSpecified, hasLimitBackoff, setQLimit, setQLimit, setVSpecifiedchangeToGenPQBus, changeToGenPVBus, getParentBus, setParentBusgetAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRangecheckData, checkData, 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 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 IShuntQFuncpublic void setBLimit(LimitType newQLimit)
setBLimit in interface SwitchedShuntpublic LimitType getBLimit(Unit.UnitType unit)
getBLimit in interface IShuntQFuncpublic void setBLimit(LimitType limit, Unit.UnitType unit)
setBLimit in interface SwitchedShuntpublic double getBInit()
getBInit in interface SwitchedShuntSwitchedShunt.setBInit(double),
AclfAdjustPackage.getSwitchedShunt_BInit()public double getQ()
getQ in interface IShuntQFuncpublic 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.BasicEObjectImplpublic void setBInit(double newBInit)
setBInit in interface SwitchedShuntnewBInit - the new value of the 'BInit' attribute.SwitchedShunt.getBInit()public double getRemoteControlPercentage()
getRemoteControlPercentage in interface SwitchedShuntSwitchedShunt.setRemoteControlPercentage(double),
AclfAdjustPackage.getSwitchedShunt_RemoteControlPercentage()public void setRemoteControlPercentage(double newRemoteControlPercentage)
setRemoteControlPercentage in interface SwitchedShuntpublic boolean needAdjust(double tolerance)
needAdjust in interface IAclfAdjustmentneedAdjust in class RemoteQBusImpltolerance - 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 RemoteQBusImplbus - the bus to get the adjusted Q valuepublic boolean performAdjust(double accFactor)
performAdjust in interface IAclfAdjustmentperformAdjust in class RemoteQBusImplaccFactor - acceleration factor for the adjustment, default value 1.0.
protected void setAdjustedQorB(double b,
BaseAclfBus<?,?> bus)
setAdjustedQorB in class RemoteQBusImplq - the adjusted Q valuebus - the bus to set the adjusted Q valuepublic double calDiscreteB(double bOriginal)
calDiscreteB in interface IShuntQFuncbOriginal - the original B value to be adjustedpublic double getBActual()
getBActual in interface SwitchedShuntSwitchedShunt.setBActual(double),
AclfAdjustPackage.getSwitchedShunt_BActual()public void setBActual(double newBActual)
setBActual in interface SwitchedShuntnewBActual - the new value of the 'BActual' attribute.SwitchedShunt.getBActual()public org.eclipse.emf.common.util.EList<ShuntCompensator> getShuntCompensatorList()
getShuntCompensatorList in interface SwitchedShuntAclfAdjustPackage.getSwitchedShunt_ShuntCompensatorList()public void setVSpecified(double value)
PVBusLimitImplsetVSpecified in interface PVBusLimitsetVSpecified in class PVBusLimitImplpublic double getVSpecified()
PVBusLimitImplgetVSpecified in interface PVBusLimitgetVSpecified in class PVBusLimitImplprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class RemoteQBusImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class RemoteQBusImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class RemoteQBusImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class RemoteQBusImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class RemoteQBusImplpublic java.lang.String toString()
toString in class RemoteQBusImplpublic <T> T jsonCopy()
jsonCopy in interface NameTagjsonCopy in class RemoteQBusImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class RemoteQBusImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class RemoteQBusImpljava.io.IOExceptionpublic void setRemoteControlGroupId(java.lang.String groupId)
SwitchedShuntsetRemoteControlGroupId in interface SwitchedShuntpublic java.lang.String getRemoteControlGroupId()
SwitchedShuntgetRemoteControlGroupId in interface SwitchedShunt