public class BatteryAdderImpl extends Object implements BatteryAdder
Constructor and Description |
---|
BatteryAdderImpl(com.powsybl.iidm.network.impl.VoltageLevelExt voltageLevel) |
Modifier and Type | Method and Description |
---|---|
BatteryImpl |
add()
Build the Battery object.
|
protected com.powsybl.iidm.network.impl.TerminalExt |
checkAndGetTerminal() |
protected String |
checkAndGetUniqueId() |
String |
getMessageHeader() |
protected String |
getName() |
protected com.powsybl.iidm.network.impl.NetworkImpl |
getNetwork() |
protected String |
getTypeDescription() |
protected boolean |
isFictitious() |
T |
setBus(String bus) |
T |
setConnectableBus(String connectableBus) |
T |
setEnsureIdUnicity(boolean ensureIdUnicity) |
T |
setFictitious(boolean fictitious) |
T |
setId(String id) |
BatteryAdderImpl |
setMaxP(double maxP)
Set the maximal active power in MW.
|
BatteryAdderImpl |
setMinP(double minP)
Set the minimal active power in MW.
|
T |
setName(String name) |
T |
setNode(int node) |
BatteryAdderImpl |
setP0(double p0)
Set the constant active power in MW.
|
BatteryAdderImpl |
setQ0(double q0)
Set the constant reactive power in MVar.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setBus, setConnectableBus, setNode
setEnsureIdUnicity, setFictitious, setId, setName
public BatteryAdderImpl(com.powsybl.iidm.network.impl.VoltageLevelExt voltageLevel)
protected com.powsybl.iidm.network.impl.NetworkImpl getNetwork()
protected String getTypeDescription()
public BatteryAdderImpl setP0(double p0)
Depends on the working variant.
setP0
in interface BatteryAdder
VariantManager
public BatteryAdderImpl setQ0(double q0)
Depends on the working variant.
setQ0
in interface BatteryAdder
VariantManager
public BatteryAdderImpl setMinP(double minP)
setMinP
in interface BatteryAdder
public BatteryAdderImpl setMaxP(double maxP)
setMaxP
in interface BatteryAdder
public BatteryImpl add()
add
in interface BatteryAdder
Battery
public T setNode(int node)
public T setBus(String bus)
public T setConnectableBus(String connectableBus)
protected com.powsybl.iidm.network.impl.TerminalExt checkAndGetTerminal()
public T setId(String id)
public T setEnsureIdUnicity(boolean ensureIdUnicity)
public T setName(String name)
public T setFictitious(boolean fictitious)
protected String checkAndGetUniqueId()
protected String getName()
protected boolean isFictitious()
public String getMessageHeader()
getMessageHeader
in interface Validable
Copyright © 2020. All rights reserved.