Package com.powsybl.iidm.network.impl
Class HvdcLineAdderImpl
- java.lang.Object
-
- com.powsybl.iidm.network.impl.HvdcLineAdderImpl
-
- All Implemented Interfaces:
HvdcLineAdder
,IdentifiableAdder<HvdcLine,HvdcLineAdder>
,Validable
public class HvdcLineAdderImpl extends Object implements HvdcLineAdder
- Author:
- Geoffroy Jamgotchian
, Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description HvdcLineAdderImpl(Ref<com.powsybl.iidm.network.impl.NetworkImpl> networkRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HvdcLine
add()
protected String
checkAndGetUniqueId()
protected String
checkAndGetUniqueId(Predicate<String> containsId)
String
getMessageHeader()
protected String
getName()
protected com.powsybl.iidm.network.impl.NetworkImpl
getNetwork()
protected String
getTypeDescription()
protected boolean
isFictitious()
HvdcLineAdder
setActivePowerSetpoint(double activePowerSetpoint)
HvdcLineAdder
setConvertersMode(HvdcLine.ConvertersMode convertersMode)
HvdcLineAdder
setConverterStationId1(String converterStationId1)
HvdcLineAdder
setConverterStationId2(String converterStationId2)
T
setEnsureIdUnicity(boolean ensureIdUnicity)
T
setFictitious(boolean fictitious)
T
setId(String id)
HvdcLineAdder
setMaxP(double maxP)
T
setName(String name)
HvdcLineAdder
setNominalV(double nominalV)
HvdcLineAdder
setR(double r)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.network.IdentifiableAdder
setEnsureIdUnicity, setFictitious, setId, setName
-
-
-
-
Constructor Detail
-
HvdcLineAdderImpl
public HvdcLineAdderImpl(Ref<com.powsybl.iidm.network.impl.NetworkImpl> networkRef)
-
-
Method Detail
-
getNetwork
protected com.powsybl.iidm.network.impl.NetworkImpl getNetwork()
-
getTypeDescription
protected String getTypeDescription()
-
setR
public HvdcLineAdder setR(double r)
- Specified by:
setR
in interfaceHvdcLineAdder
-
setConvertersMode
public HvdcLineAdder setConvertersMode(HvdcLine.ConvertersMode convertersMode)
- Specified by:
setConvertersMode
in interfaceHvdcLineAdder
-
setNominalV
public HvdcLineAdder setNominalV(double nominalV)
- Specified by:
setNominalV
in interfaceHvdcLineAdder
-
setActivePowerSetpoint
public HvdcLineAdder setActivePowerSetpoint(double activePowerSetpoint)
- Specified by:
setActivePowerSetpoint
in interfaceHvdcLineAdder
-
setMaxP
public HvdcLineAdder setMaxP(double maxP)
- Specified by:
setMaxP
in interfaceHvdcLineAdder
-
setConverterStationId1
public HvdcLineAdder setConverterStationId1(String converterStationId1)
- Specified by:
setConverterStationId1
in interfaceHvdcLineAdder
-
setConverterStationId2
public HvdcLineAdder setConverterStationId2(String converterStationId2)
- Specified by:
setConverterStationId2
in interfaceHvdcLineAdder
-
add
public HvdcLine add()
- Specified by:
add
in interfaceHvdcLineAdder
- Specified by:
add
in interfaceIdentifiableAdder<HvdcLine,HvdcLineAdder>
-
setId
public T setId(String id)
-
setEnsureIdUnicity
public T setEnsureIdUnicity(boolean ensureIdUnicity)
-
setName
public T setName(String name)
-
setFictitious
public T setFictitious(boolean fictitious)
-
checkAndGetUniqueId
protected String checkAndGetUniqueId()
-
getName
protected String getName()
-
isFictitious
protected boolean isFictitious()
-
getMessageHeader
public String getMessageHeader()
- Specified by:
getMessageHeader
in interfaceValidable
-
-