public final class Networks extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dumpVariantId(Path workingDir,
Network network) |
static void |
dumpVariantId(Path workingDir,
String variantId) |
static Terminal |
getEquivalentTerminal(VoltageLevel voltageLevel,
int node)
Return a terminal for the specified node.
|
static Map<String,String> |
getExecutionTags(Network network) |
static Map<String,Set<Integer>> |
getNodesByBus(VoltageLevel voltageLevel)
Return the list of nodes (N/B topology) for each bus of a the Bus view
If a node is not associated to a bus, it is not included in any list.
|
static boolean |
isBusValid(int branchCount) |
static void |
printBalanceSummary(String title,
Network network,
org.slf4j.Logger logger)
Deprecated.
Use
printBalanceSummary(String, Network, Writer) instead. |
static void |
printBalanceSummary(String title,
Network network,
Writer writer) |
static void |
printGeneratorsSetpointDiff(Network network,
org.slf4j.Logger logger) |
static void |
runScript(Network network,
Reader reader,
Writer out) |
public static boolean isBusValid(int branchCount)
public static void dumpVariantId(Path workingDir, String variantId) throws IOException
IOException
public static void dumpVariantId(Path workingDir, Network network) throws IOException
IOException
@Deprecated public static void printBalanceSummary(String title, Network network, org.slf4j.Logger logger) throws IOException
printBalanceSummary(String, Network, Writer)
instead.IOException
public static void printBalanceSummary(String title, Network network, Writer writer) throws IOException
IOException
public static void printGeneratorsSetpointDiff(Network network, org.slf4j.Logger logger)
public static Map<String,Set<Integer>> getNodesByBus(VoltageLevel voltageLevel)
voltageLevel
- The voltage level to traversepublic static Terminal getEquivalentTerminal(VoltageLevel voltageLevel, int node)
voltageLevel
- The voltage level to traversenode
- The starting nodeCopyright © 2020. All rights reserved.