Package com.powsybl.iidm.network.impl
Class AbstractHvdcConverterStationAdder<T extends AbstractHvdcConverterStationAdder<T>>
java.lang.Object
com.powsybl.iidm.network.impl.AbstractHvdcConverterStationAdder<T>
- All Implemented Interfaces:
Validable
public abstract class AbstractHvdcConverterStationAdder<T extends AbstractHvdcConverterStationAdder<T>>
extends Object
- Author:
- Mathieu Bague <mathieu.bague at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.powsybl.iidm.network.impl.TerminalExt
protected String
protected String
checkAndGetUniqueId
(Predicate<String> containsId) protected static Ref<com.powsybl.iidm.network.impl.NetworkImpl>
computeNetworkRef
(com.powsybl.iidm.network.impl.NetworkImpl network, com.powsybl.iidm.network.impl.VoltageLevelExt... voltageLevels) Compute theRef
<NetworkImpl
> to use for a new element from its voltage levels.float
protected String
getName()
protected com.powsybl.iidm.network.impl.NetworkImpl
protected abstract String
protected abstract Ref<? extends VariantManagerHolder>
protected com.powsybl.iidm.network.impl.VoltageLevelExt
protected boolean
setConnectableBus
(String connectableBus) setEnsureIdUnicity
(boolean ensureIdUnicity) setFictitious
(boolean fictitious) setLossFactor
(float lossFactor) setNode
(int node) protected void
validate()
-
Method Details
-
getNetwork
protected com.powsybl.iidm.network.impl.NetworkImpl getNetwork() -
getVoltageLevel
protected com.powsybl.iidm.network.impl.VoltageLevelExt getVoltageLevel() -
getLossFactor
public float getLossFactor() -
setLossFactor
-
validate
protected void validate() -
setNode
-
setBus
-
setConnectableBus
-
getVariantManagerHolder
-
checkAndGetTerminal
protected com.powsybl.iidm.network.impl.TerminalExt checkAndGetTerminal() -
getTypeDescription
-
setId
-
setEnsureIdUnicity
-
setName
-
setFictitious
-
checkAndGetUniqueId
-
checkAndGetUniqueId
-
getName
-
isFictitious
protected boolean isFictitious() -
getMessageHeader
- Specified by:
getMessageHeader
in interfaceValidable
-
computeNetworkRef
protected static Ref<com.powsybl.iidm.network.impl.NetworkImpl> computeNetworkRef(com.powsybl.iidm.network.impl.NetworkImpl network, com.powsybl.iidm.network.impl.VoltageLevelExt... voltageLevels) Compute theRef
<NetworkImpl
> to use for a new element from its voltage levels.- Parameters:
network
- the root network in which the element will be addedvoltageLevels
- the list of the voltage levels of the element- Returns:
- the networkRef to use
-