public class SENetworkImpl extends BaseAclfNetworkImpl<SEBus,SEBranch> implements SENetwork
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 java.util.HashMap<java.lang.String,SEMeasRecord> |
lookupTable |
protected static int |
NO_PMEASURE_EDEFAULT
The default value of the '
No PMeasure ' attribute. |
protected static int |
NO_QMEASURE_EDEFAULT
The default value of the '
No QMeasure ' attribute. |
protected int |
noPMeasure
The cached value of the '
No PMeasure ' attribute. |
protected int |
noQMeasure
The cached value of the '
No QMeasure ' attribute. |
ACLF_NET_MODEL_TYPE_EDEFAULT, aclfNetAdjust, aclfNetModelType, CONTRIBUTE_GEN_LOAD_MODEL_EDEFAULT, contributeGenLoadModel, DEFAULT_VOLTAGE_LIMIT_EDEFAULT, defaultVoltageLimit, LF_CONVERGED_EDEFAULT, LF_DATA_LOADED_EDEFAULT, lfConverged, lfDataLoaded, NETWORK_TYPE_EDEFAULT, networkType, SENSITIVITY_CALCULATED_EDEFAULT, sensitivityCalculated, specialBranchList, XFR_ZADJUST_SIDE_EDEFAULT, xfrZAdjustSide, xfrZTable, ZERO_ZBRANCH_THRESHOLD_EDEFAULT, zeroZBranchThreshold
ALLOW_GROUND_BRANCH_EDEFAULT, allowGroundBranch, AREA_MAP_EDEFAULT, areaMap, BASE_KVA_EDEFAULT, baseKva, branchList, branchLookupTable, BUS_NUMBER_ARRANGED_EDEFAULT, busList, busLookupTable, busNumberArranged, BYPASS_DATA_CHECK_EDEFAULT, bypassDataCheck, childNetWrapperList, DATA_CHECKED_EDEFAULT, dataChecked, EXTRA_INFO_EDEFAULT, extraInfo, frequency, FREQUENCY_EDEFAULT, ORIGINAL_DATA_FORMAT_EDEFAULT, originalDataFormat, OWNER_MAP_EDEFAULT, ownerMap, REF_BUS_ID_SET_EDEFAULT, REF_BUS_TYPE_EDEFAULT, refBusIdSet, refBusType, SUBSTATION_MAP_EDEFAULT, substationMap, tieLineList, TIME_STAMP_EDEFAULT, timeStamp, ZONE_MAP_EDEFAULT, zoneMap
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 |
SENetworkImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(SEMeasRecord baseRecord) |
double |
calMaxResidual() |
double |
calQERate(SEErrorThreshold threshold) |
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[] |
formPArray() |
ISparseEqnDouble |
formPMatrix() |
double[] |
formQArray() |
ISparseEqnDouble |
formQMatrix() |
java.util.HashMap<java.lang.String,SEMeasRecord> |
getLookupTable() |
int |
getNoPMeasure() |
int |
getNoQMeasure() |
SEMeasRecord |
getRecord(MeasureType type,
java.lang.Long id) |
<T> T |
jsonCopy() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setNoPMeasure(int newNoPMeasure) |
void |
setNoQMeasure(int newNoQMeasure) |
void |
setResidual() |
java.lang.String |
toString() |
void |
updateBusVoltAng(double[] ang) |
void |
updateBusVoltMag(double[] mag) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
add3WXfr, add3WXfr, addGroundBranch, addHvdcLine2T, addHvdcLine2T, adjustXfrZ, allocateContributeGenQ, areaOutputPower, basicSetAclfNetAdjust, calculateHvdc, calExternalPowerIntoNet, calLoadDFactor, calLoadDFactor, checkData, eInverseRemove, formB11Matrix, formB11Matrix, formB1Matrix, formB1Matrix, formJMatrix, formJMatrix, formJMatrix, formYMatrix, formYMatrix, get3WXfr, get3WXfr, getAclfNetAdjust, getAclfNetModelType, getBranchList, getBusList, getDefaultVoltageLimit, getHvdcLine2T, getNetworkType, getSpecialBranch, getSpecialBranchList, getXfrZAdjustSide, getXfrZTable, getXfrZTableEntry, getZeroZBranchThreshold, has3WXfr, has3WXfr, hasBranchMavRatingViolation, hasFunctionLoad, hasPQBusLimit, hasPSXfr, hasPSXfrPControl, hasPVBusLimit, hasRemoteQBus, hasStaticVarCompensator, hasSwingBus, hasSwitchedShuntAdjustment, hasTapControl, initBusVoltage, initContributeGenLoad, isContributeGenLoadModel, isLfConverged, isLfDataLoaded, isSensitivityCalculated, maxMismatch, maxMismatch, maxMismatch, needDiscreteAdjust, needLimitAdjust, needLimitBackoffAdjust, needPowerAdjust, needVoltageAdjust, neighborAreas, neighborZones, net2String, noBusInArea, powerAreaExport, powerZoneExport, remove3WXfr, setAclfNetAdjust, setAclfNetModelType, setContributeGenLoadModel, setDefaultVoltageLimit, setLfConverged, setLfDataLoaded, setNetworkType, setSensitivityCalculated, setXfrZAdjustSide, setZeroZBranchThreshold, smallestLoad, totalGeneration, totalLoad, totalLoad, totalLoss
accept, addArea, addBranch, addBranch, addBranch, addBranch2Cache, addBranch2Cache, addBranch2Cache, addBus, addBus2Cache, addOwner, addSubstation, addTieLine, addZone, arrangeBusNumber, cachedBranches2Net, cachedBuses2Net, eInverseAdd, formAdjacencyMatrix, getArea, getArea, getAreaMap, getBaseKva, getBaseMva, getBranch, getBranch, getBranch, getBranches, getBranches, getBus, getBus, getChildNetWrapper, getChildNetWrapperList, getExtraInfo, getFrequency, getNoActiveBranch, getNoActiveBranch, getNoActiveBus, getNoActiveBus, getNoBranch, getNoBranch, getNoBus, getNoBus, getOriginalDataFormat, getOwner, getOwner, getOwnerMap, getRefBusId, getRefBusIdSet, getRefBusType, getSubstation, getSubstationMap, getSubstationMap, getTieLineList, getTimeStamp, getZone, getZone, getZoneMap, hasBranch, hasBranch, hasBus, hasChildNet, hzCopy, isAllowGroundBranch, isBusNumberArranged, isBypassDataCheck, isDataChecked, isOnlineModel, isRefBus, rebuildLookupTable, removeBranch, removeBranch, removeBranch, removeBus, removeBus, removeTieLine, replaceBus, setAllowGroundBranch, setBaseKva, setBusNumberArranged, setBypassDataCheck, setDataChecked, setExtraInfo, setFrequency, setOriginalDataFormat, setRefBusId, setRefBusIdSet, setRefBusType, setTimeStamp, setToEmpty, setVisitedStatus, updateBranchId
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, 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
adjustXfrZ, allocateContributeGenQ, calLoadDFactor, calLoadDFactor, getAclfNetAdjust, getAclfNetModelType, getDefaultVoltageLimit, getNetworkType, getSpecialBranch, getSpecialBranchList, getXfrZAdjustSide, getXfrZTable, getXfrZTableEntry, getZeroZBranchThreshold, hasSwingBus, initBusVoltage, initContributeGenLoad, isContributeGenLoadModel, isLfConverged, isLfDataLoaded, isSensitivityCalculated, setAclfNetAdjust, setAclfNetModelType, setContributeGenLoadModel, setDefaultVoltageLimit, setLfConverged, setLfDataLoaded, setNetworkType, setSensitivityCalculated, setXfrZAdjustSide, setZeroZBranchThreshold
accept, addArea, addBranch, addBranch, addBranch, addBranch2Cache, addBranch2Cache, addBranch2Cache, addBus, addBus2Cache, addGroundBranch, addOwner, addSubstation, addTieLine, addZone, arrangeBusNumber, cachedBranches2Net, cachedBuses2Net, formAdjacencyMatrix, getArea, getArea, getAreaMap, getBaseKva, getBaseMva, getBranch, getBranch, getBranch, getBranches, getBranches, getBranchList, getBus, getBus, getBusList, getChildNetWrapperList, getExtraInfo, getFrequency, getNoActiveBranch, getNoActiveBranch, getNoActiveBus, getNoActiveBus, getNoBranch, getNoBranch, getNoBus, getNoBus, getOriginalDataFormat, getOwner, getOwner, getOwnerMap, getRefBusId, getRefBusIdSet, getRefBusType, getSubstation, getSubstationMap, getSubstationMap, getTieLineList, getTimeStamp, getZone, getZone, getZoneMap, hasBranch, hasBranch, hasBus, hzCopy, isAllowGroundBranch, isBusNumberArranged, isBypassDataCheck, isDataChecked, isOnlineModel, isRefBus, net2String, rebuildLookupTable, removeBranch, removeBranch, removeBranch, removeBus, removeBus, removeTieLine, replaceBus, setAllowGroundBranch, setBaseKva, setBusNumberArranged, setBypassDataCheck, setDataChecked, setExtraInfo, setFrequency, setOriginalDataFormat, setRefBusId, setRefBusIdSet, setRefBusType, setTimeStamp, setToEmpty, setVisitedStatus, updateBranchId
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
getChildNetWrapper, hasChildNet
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
calExternalPowerIntoNet, hasBranchMavRatingViolation, maxMismatch, maxMismatch, maxMismatch, smallestLoad, totalGeneration, totalLoad, totalLoad, totalLoss
hasFunctionLoad, hasPQBusLimit, hasPSXfrPControl, hasPVBusLimit, hasRemoteQBus, hasStaticVarCompensator, hasSwitchedShuntAdjustment, hasTapControl, needDiscreteAdjust, needLimitAdjust, needLimitBackoffAdjust, needPowerAdjust, needVoltageAdjust
add3WXfr, add3WXfr, get3WXfr, get3WXfr, has3WXfr, has3WXfr, remove3WXfr
addHvdcLine2T, addHvdcLine2T, calculateHvdc, getHvdcLine2T, hasPSXfr
areaOutputPower, neighborAreas, neighborZones, powerAreaExport, powerZoneExport
formB11Matrix, formB11Matrix, formB1Matrix, formB1Matrix, formJMatrix, formJMatrix, formJMatrix, formYMatrix, formYMatrix
protected static final int NO_PMEASURE_EDEFAULT
No PMeasure
' attribute.
getNoPMeasure()
,
Constant Field Valuesprotected int noPMeasure
No PMeasure
' attribute.
getNoPMeasure()
protected static final int NO_QMEASURE_EDEFAULT
No QMeasure
' attribute.
getNoQMeasure()
,
Constant Field Valuesprotected int noQMeasure
No QMeasure
' attribute.
getNoQMeasure()
protected java.util.HashMap<java.lang.String,SEMeasRecord> lookupTable
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public int getNoPMeasure()
getNoPMeasure
in interface SENetwork
SENetwork.setNoPMeasure(int)
,
SEPackage.getSENetwork_NoPMeasure()
public void setNoPMeasure(int newNoPMeasure)
setNoPMeasure
in interface SENetwork
newNoPMeasure
- the new value of the 'No PMeasure' attribute.SENetwork.getNoPMeasure()
public int getNoQMeasure()
getNoQMeasure
in interface SENetwork
SENetwork.setNoQMeasure(int)
,
SEPackage.getSENetwork_NoQMeasure()
public void setNoQMeasure(int newNoQMeasure)
setNoQMeasure
in interface SENetwork
newNoQMeasure
- the new value of the 'No QMeasure' attribute.SENetwork.getNoQMeasure()
public java.util.HashMap<java.lang.String,SEMeasRecord> getLookupTable()
getLookupTable
in interface SENetwork
public void addRecord(SEMeasRecord baseRecord)
public SEMeasRecord getRecord(MeasureType type, java.lang.Long id)
public double calMaxResidual()
calMaxResidual
in interface SENetwork
public double calQERate(SEErrorThreshold threshold)
public ISparseEqnDouble formPMatrix() throws InterpssException
formPMatrix
in interface SENetwork
InterpssException
public ISparseEqnDouble formQMatrix() throws InterpssException
formQMatrix
in interface SENetwork
InterpssException
public double[] formPArray()
formPArray
in interface SENetwork
public double[] formQArray()
formQArray
in interface SENetwork
public void setResidual()
setResidual
in interface SENetwork
public void updateBusVoltMag(double[] mag)
updateBusVoltMag
in interface SENetwork
public void updateBusVoltAng(double[] ang)
updateBusVoltAng
in interface SENetwork
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public java.lang.String toString()
toString
in class BaseAclfNetworkImpl<SEBus,SEBranch>
public <T> T jsonCopy()
NetworkImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class BaseAclfNetworkImpl<SEBus,SEBranch>
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 BaseAclfNetworkImpl<SEBus,SEBranch>
java.io.IOException