public class AclfNetHelper extends NetworkRefImpl<BaseAclfNetwork<?,?>>
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.EScannableAdapterListnetworkdesc, 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| Constructor and Description |
|---|
AclfNetHelper(BaseAclfNetwork<?,?> net)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
assignSwingBusTurnOffIslandBus()
1) Assign swing bus to those islands with generators;
2) If there is no generator in an island, turn-off all buses in the island
|
java.util.Set<java.lang.String> |
calConnectedSubArea(java.lang.String swingRefBusId)
Calculate all buses in the Network, which are connected to the Swing/RefBus
|
java.util.List<java.lang.String> |
calIslandBuses()
Check reference bus, each island as least has to have a Ref bus for Loadflow calculation
|
java.util.List<java.lang.String> |
calIslandBuses(java.util.function.Predicate<Branch> branchOpenPre)
Check reference bus, each island as least has to have a Ref bus for Loadflow calculation
|
Vector_xy |
calIslandingBusGenLoadSum(java.util.List<java.lang.String> islandBusIds)
for the islanding buses, calculate gen/load sum for the contingency analysis.
|
boolean |
checkSwingRefBus()
Check if buses in the Network are connected to a Swing/RefBus
|
boolean |
checkSwingRefBus(java.util.function.Predicate<Branch> branchOpenPre)
Check if buses in the Network are connected to a Swing/RefBus
|
void |
findPreContNetworkIslanding(java.util.List<java.lang.String> deadBusIdList)
check islanding of the current aclfNet object.
|
java.lang.String |
getSwingBusId()
get Swing bus Id in the AclfNet
|
boolean |
isIslandingBusSameSubstation(java.util.List<java.lang.String> islandBusIds)
for the islanding buses, check if there are in the same substation.
|
boolean |
violation(CAViolationType type,
double voltageUpperLimitPU,
double voltageLowerLimitPU,
java.util.List<java.lang.String> msg)
Check AclfNet violation
|
eGet, eIsSet, eSet, eStaticClass, eUnset, getNetwork, readData, setNetwork, writeDatacheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo, toStringeAdapters, 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, 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, waitcheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic AclfNetHelper(BaseAclfNetwork<?,?> net)
net - public void findPreContNetworkIslanding(java.util.List<java.lang.String> deadBusIdList)
deadBusIdList - stores island bus id listpublic boolean violation(CAViolationType type, double voltageUpperLimitPU, double voltageLowerLimitPU, java.util.List<java.lang.String> msg)
type - voltageUpperLimitPU - voltageLowerLimitPU - msg - public java.util.List<java.lang.String> calIslandBuses()
public java.util.List<java.lang.String> calIslandBuses(java.util.function.Predicate<Branch> branchOpenPre)
branchOpenPre - public boolean isIslandingBusSameSubstation(java.util.List<java.lang.String> islandBusIds)
islandBusIds - islanding bus id listpublic Vector_xy calIslandingBusGenLoadSum(java.util.List<java.lang.String> islandBusIds)
islandBusIds - islanding bus id listpublic java.util.Set<java.lang.String> calConnectedSubArea(java.lang.String swingRefBusId)
public boolean checkSwingRefBus()
public boolean checkSwingRefBus(java.util.function.Predicate<Branch> branchOpenPre)
branchOpenPre - branch predicate to test if the branch is open for the connection test.public boolean assignSwingBusTurnOffIslandBus()
public java.lang.String getSwingBusId()
throws InterpssException
InterpssException