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.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 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, zeroZBranchThresholdALLOW_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, zoneMapdesc, 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 |
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, totalLossaccept, 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, updateBranchIdcheckData, 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, 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, waitadjustXfrZ, 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, setZeroZBranchThresholdaccept, 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, updateBranchIdcheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfogetChildNetWrapper, hasChildNeteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivercalExternalPowerIntoNet, hasBranchMavRatingViolation, maxMismatch, maxMismatch, maxMismatch, smallestLoad, totalGeneration, totalLoad, totalLoad, totalLosshasFunctionLoad, hasPQBusLimit, hasPSXfrPControl, hasPVBusLimit, hasRemoteQBus, hasStaticVarCompensator, hasSwitchedShuntAdjustment, hasTapControl, needDiscreteAdjust, needLimitAdjust, needLimitBackoffAdjust, needPowerAdjust, needVoltageAdjustadd3WXfr, add3WXfr, get3WXfr, get3WXfr, has3WXfr, has3WXfr, remove3WXfraddHvdcLine2T, addHvdcLine2T, calculateHvdc, getHvdcLine2T, hasPSXfrareaOutputPower, neighborAreas, neighborZones, powerAreaExport, powerZoneExportformB11Matrix, formB11Matrix, formB1Matrix, formB1Matrix, formJMatrix, formJMatrix, formJMatrix, formYMatrix, formYMatrixprotected 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 SENetworkSENetwork.setNoPMeasure(int),
SEPackage.getSENetwork_NoPMeasure()public void setNoPMeasure(int newNoPMeasure)
setNoPMeasure in interface SENetworknewNoPMeasure - the new value of the 'No PMeasure' attribute.SENetwork.getNoPMeasure()public int getNoQMeasure()
getNoQMeasure in interface SENetworkSENetwork.setNoQMeasure(int),
SEPackage.getSENetwork_NoQMeasure()public void setNoQMeasure(int newNoQMeasure)
setNoQMeasure in interface SENetworknewNoQMeasure - the new value of the 'No QMeasure' attribute.SENetwork.getNoQMeasure()public java.util.HashMap<java.lang.String,SEMeasRecord> getLookupTable()
getLookupTable in interface SENetworkpublic void addRecord(SEMeasRecord baseRecord)
public SEMeasRecord getRecord(MeasureType type, java.lang.Long id)
public double calMaxResidual()
calMaxResidual in interface SENetworkpublic double calQERate(SEErrorThreshold threshold)
public ISparseEqnDouble formPMatrix() throws InterpssException
formPMatrix in interface SENetworkInterpssExceptionpublic ISparseEqnDouble formQMatrix() throws InterpssException
formQMatrix in interface SENetworkInterpssExceptionpublic double[] formPArray()
formPArray in interface SENetworkpublic double[] formQArray()
formQArray in interface SENetworkpublic void setResidual()
setResidual in interface SENetworkpublic void updateBusVoltMag(double[] mag)
updateBusVoltMag in interface SENetworkpublic void updateBusVoltAng(double[] ang)
updateBusVoltAng in interface SENetworkpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class BaseAclfNetworkImpl<SEBus,SEBranch>public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class BaseAclfNetworkImpl<SEBus,SEBranch>public void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class BaseAclfNetworkImpl<SEBus,SEBranch>public boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class BaseAclfNetworkImpl<SEBus,SEBranch>public java.lang.String toString()
toString in class BaseAclfNetworkImpl<SEBus,SEBranch>public <T> T jsonCopy()
NetworkImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class BaseAclfNetworkImpl<SEBus,SEBranch>java.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class BaseAclfNetworkImpl<SEBus,SEBranch>java.io.IOException