public class BatteryAdderAdapter extends Object implements BatteryAdder
Modifier and Type | Method and Description |
---|---|
Battery |
add()
Build the Battery object.
|
protected void |
checkAndSetUniqueId() |
protected I |
getDelegate() |
protected String |
getId() |
protected com.powsybl.iidm.mergingview.MergingViewIndex |
getIndex() |
protected boolean |
isEnsureIdUnicity() |
I |
setBus(String bus) |
I |
setConnectableBus(String connectableBus) |
I |
setEnsureIdUnicity(boolean ensureIdUnicity) |
I |
setFictitious(boolean fictitious) |
I |
setId(String id) |
BatteryAdder |
setMaxP(double maxP)
Set the maximal active power in MW.
|
BatteryAdder |
setMinP(double minP)
Set the minimal active power in MW.
|
I |
setName(String name) |
I |
setNode(int node) |
BatteryAdder |
setP0(double p0)
Set the constant active power in MW.
|
BatteryAdder |
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 Battery add()
BatteryAdder
add
in interface BatteryAdder
Battery
public BatteryAdder setP0(double p0)
BatteryAdder
Depends on the working variant.
setP0
in interface BatteryAdder
VariantManager
public BatteryAdder setQ0(double q0)
BatteryAdder
Depends on the working variant.
setQ0
in interface BatteryAdder
VariantManager
public BatteryAdder setMinP(double minP)
BatteryAdder
setMinP
in interface BatteryAdder
public BatteryAdder setMaxP(double maxP)
BatteryAdder
setMaxP
in interface BatteryAdder
public I setNode(int node)
setNode
in interface InjectionAdder<I extends InjectionAdder<I>>
public I setBus(String bus)
setBus
in interface InjectionAdder<I extends InjectionAdder<I>>
public I setConnectableBus(String connectableBus)
setConnectableBus
in interface InjectionAdder<I extends InjectionAdder<I>>
protected String getId()
public I setId(String id)
setId
in interface IdentifiableAdder<I extends IdentifiableAdder<I>>
protected boolean isEnsureIdUnicity()
public I setEnsureIdUnicity(boolean ensureIdUnicity)
setEnsureIdUnicity
in interface IdentifiableAdder<I extends IdentifiableAdder<I>>
public I setName(String name)
setName
in interface IdentifiableAdder<I extends IdentifiableAdder<I>>
public I setFictitious(boolean fictitious)
setFictitious
in interface IdentifiableAdder<I extends IdentifiableAdder<I>>
protected void checkAndSetUniqueId()
protected I getDelegate()
protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()
Copyright © 2020. All rights reserved.