public class AclfFunction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<AclfBranch,AclfBranchRating> |
branchRatingAptr
BranchRating adapter function BranchRatingAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfCapacitorBus> |
capacitorBusAptr
Capacitor bus adapter function CapacitorBusAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfGenBusAdapter> |
genBusAptr
Gen bus adapter function GenBusAdapter = f(AclfBus)
|
static java.util.function.Function<AclfBranch,AclfLine> |
lineAptr
Line branch adapter function LineBranchAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfLoadBusAdapter> |
loadBusAptr
Load bus adapter function LoadBusAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfPQGenBus> |
pqBusAptr
PQBus bus adapter function PQBusAdapter = f(AclfBus)
|
static java.util.function.Function<AclfBranch,AclfPSXformer> |
psXfrAptr
PsXfr branch adapter function PSXfrBranchAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfPVGenBus> |
pvBusAptr
PVGen bus adapter function PVBusAdapter = f(AclfBus)
|
static java.util.function.Function<BaseAclfBus<?,?>,AclfSwingBus> |
swingBusAptr
Swing bus adapter function SwingBusAdapter = f(AclfBus)
|
static java.util.function.Function<AclfBranch,AclfXformer> |
xfrAptr
Xfr branch adapter function XfrBranchAdapter = f(AclfBus)
|
| Constructor and Description |
|---|
AclfFunction() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contain(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
Check if the branchId is contained in the OutageBranch branchList
|
static java.util.List<java.lang.String> |
findBranchEquivOutagePath(Branch branch)
recursively find equivalent outage branch path.
|
static java.util.List<java.lang.String> |
findBranchEquivOutagePath(Branch branch,
Bus bus)
recursively find equivalent outage branch path.
|
static java.util.List<java.lang.String> |
getBusIdList(java.util.List<BaseAclfBus<?,?>> busList) |
static java.util.List<AclfBranch> |
getConnectedBranches(java.lang.String busId,
java.util.List<AclfBranch> branchList)
In the branchList, find branch set which are connected to the bus.
|
static java.util.List<AclfBranch> |
getConnectedBranchesIncludePath(java.lang.String busId,
java.util.List<AclfBranch> branchList)
In the branchList, find branch set which are connected to the bus or equiv outage path of the branch in the set
is connected to the bus.
|
static java.lang.String |
getEquivBranchId(java.lang.String branchId,
Network<? extends Bus,? extends Branch> net)
get equivalent branch Id after the net is consolidated.
|
static java.lang.String |
getEquivBusId(java.lang.String busId,
Network<? extends Bus,? extends Branch> net)
get equivalent bus Id after the net is consolidated
|
static boolean |
isCloseOutageBranch(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
Check if the branchId is contained in the CLOSE OutageBranch branchList
|
static boolean |
isOpenOutageBranch(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
Check if the branchId is contained in the OPEN OutageBranch branchList
|
public static java.util.function.Function<BaseAclfBus<?,?>,AclfSwingBus> swingBusAptr
public static java.util.function.Function<BaseAclfBus<?,?>,AclfPVGenBus> pvBusAptr
public static java.util.function.Function<BaseAclfBus<?,?>,AclfPQGenBus> pqBusAptr
public static java.util.function.Function<BaseAclfBus<?,?>,AclfCapacitorBus> capacitorBusAptr
public static java.util.function.Function<BaseAclfBus<?,?>,AclfLoadBusAdapter> loadBusAptr
public static java.util.function.Function<BaseAclfBus<?,?>,AclfGenBusAdapter> genBusAptr
public static java.util.function.Function<AclfBranch,AclfLine> lineAptr
public static java.util.function.Function<AclfBranch,AclfXformer> xfrAptr
public static java.util.function.Function<AclfBranch,AclfPSXformer> psXfrAptr
public static java.util.function.Function<AclfBranch,AclfBranchRating> branchRatingAptr
public static java.lang.String getEquivBranchId(java.lang.String branchId,
Network<? extends Bus,? extends Branch> net)
branchId - net - public static java.lang.String getEquivBusId(java.lang.String busId,
Network<? extends Bus,? extends Branch> net)
busId - net - public static java.util.List<AclfBranch> getConnectedBranches(java.lang.String busId, java.util.List<AclfBranch> branchList)
busId - branchList - public static java.util.List<AclfBranch> getConnectedBranchesIncludePath(java.lang.String busId, java.util.List<AclfBranch> branchList)
busId - branchList - public static boolean contain(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
branchId - outBranchList - public static boolean isOpenOutageBranch(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
branchId - outBranchList - public static boolean isCloseOutageBranch(java.lang.String branchId,
java.util.List<OutageBranch> outBranchList)
branchId - outBranchList - public static java.util.List<java.lang.String> getBusIdList(java.util.List<BaseAclfBus<?,?>> busList)
public static java.util.List<java.lang.String> findBranchEquivOutagePath(Branch branch, Bus bus)
refBranch - bus - public static java.util.List<java.lang.String> findBranchEquivOutagePath(Branch branch)
branch -