Package com.powsybl.iidm.network
Interface Terminal
-
- All Known Implementing Classes:
TerminalAdapter
public interface Terminal
An equipment connection point in a substation topology.- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Terminal.BusBreakerView
A bus/breaker view of the terminal.static interface
Terminal.BusView
A bus view of the terminal.static interface
Terminal.NodeBreakerView
A node/breaker view of the terminal.static interface
Terminal.TopologyTraverser
Topology traversal handler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
connect()
Try to connect the terminal.boolean
disconnect()
Disconnect the terminal.Terminal.BusBreakerView
getBusBreakerView()
Get a view to access to bus/breaker topology informations at the terminal.Terminal.BusView
getBusView()
Get a view to access to bus topology informations at the terminal.Connectable
getConnectable()
Get the equipment that is connected to the terminal.double
getI()
Get the current in A at the terminal.Terminal.NodeBreakerView
getNodeBreakerView()
Get a view to access to node/breaker topology informations at the terminal.double
getP()
Get the active power in MW injected at the terminal.double
getQ()
Get the reactive power in MVAR injected at the terminal.VoltageLevel
getVoltageLevel()
Get the substation to which the terminal belongs.boolean
isConnected()
Test if the terminal is connected.Terminal
setP(double p)
Set the active power in MW injected at the terminal.Terminal
setQ(double q)
Set the reactive power in MVAR injected at the terminal.void
traverse(Terminal.TopologyTraverser traverser)
Traverse the full network topology graph.
-
-
-
Method Detail
-
getVoltageLevel
VoltageLevel getVoltageLevel()
Get the substation to which the terminal belongs.
-
getNodeBreakerView
Terminal.NodeBreakerView getNodeBreakerView()
Get a view to access to node/breaker topology informations at the terminal.
-
getBusBreakerView
Terminal.BusBreakerView getBusBreakerView()
Get a view to access to bus/breaker topology informations at the terminal.
-
getBusView
Terminal.BusView getBusView()
Get a view to access to bus topology informations at the terminal.
-
getConnectable
Connectable getConnectable()
Get the equipment that is connected to the terminal.
-
getP
double getP()
Get the active power in MW injected at the terminal.Depends on the working variant.
- See Also:
VariantManager
-
setP
Terminal setP(double p)
Set the active power in MW injected at the terminal.Depends on the working variant.
- See Also:
VariantManager
-
getQ
double getQ()
Get the reactive power in MVAR injected at the terminal.Depends on the working variant.
- See Also:
VariantManager
-
setQ
Terminal setQ(double q)
Set the reactive power in MVAR injected at the terminal.Depends on the working variant.
- See Also:
VariantManager
-
getI
double getI()
Get the current in A at the terminal.Depends on the working variant.
- See Also:
VariantManager
-
connect
boolean connect()
Try to connect the terminal.Depends on the working variant.
- Returns:
- true if terminal has been connected, false otherwise
- See Also:
VariantManager
-
disconnect
boolean disconnect()
Disconnect the terminal.Depends on the working variant.
- Returns:
- true if terminal has been disconnected, false otherwise
- See Also:
VariantManager
-
isConnected
boolean isConnected()
Test if the terminal is connected.- Returns:
- true if the terminal is connected, false otherwise
-
traverse
void traverse(Terminal.TopologyTraverser traverser)
Traverse the full network topology graph.- Parameters:
traverser
- traversal handler
-
-