Package com.powsybl.iidm.reducer
Class NominalVoltageNetworkPredicate
java.lang.Object
com.powsybl.iidm.reducer.NominalVoltageNetworkPredicate
- All Implemented Interfaces:
NetworkPredicate
- Author:
- Mathieu Bague <mathieu.bague at rte-france.com>
-
Constructor Summary
ConstructorDescriptionNominalVoltageNetworkPredicate
(double minNominalVoltage, double maxNominalVoltage) -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(Substation substation) Return true if the givenSubstation
should be kept in the network, false otherwiseboolean
test
(VoltageLevel voltageLevel) Return true if the givenVoltageLevel
should be kept in the network, false otherwise
-
Constructor Details
-
NominalVoltageNetworkPredicate
public NominalVoltageNetworkPredicate(double minNominalVoltage, double maxNominalVoltage)
-
-
Method Details
-
test
Description copied from interface:NetworkPredicate
Return true if the givenSubstation
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-
test
Description copied from interface:NetworkPredicate
Return true if the givenVoltageLevel
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-