Package com.powsybl.iidm.network
Interface Battery
-
- All Superinterfaces:
Connectable<Battery>
,Extendable<Battery>
,Identifiable<Battery>
,Injection<Battery>
,ReactiveLimitsHolder
- All Known Implementing Classes:
BatteryAdapter
,BatteryImpl
public interface Battery extends Injection<Battery>, ReactiveLimitsHolder
A battery system.Characteristics
Attribute Type Unit Required Defaut value Description Id String - yes - Unique identifier of the battery Name String - yes - Human-readable name of the battery P0 double MW yes - The constant active power Q0 double MVar yes - The constant reactive power MinP double MW yes - The minimum active power MaxP double MW yes - The maximum active power To create a battery, see
BatteryAdder
- Author:
- Ghiles Abdellah
- See Also:
BatteryAdder
,MinMaxReactiveLimits
,ReactiveCapabilityCurve
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description double
getMaxP()
Get the maximal active power in MW.double
getMinP()
Get the minimal active power in MW.default double
getP0()
Deprecated.UsegetTargetP()
instead.default double
getQ0()
Deprecated.UsegetTargetQ()
instead.double
getTargetP()
Get the target active power in MW.double
getTargetQ()
Get the target reactive power in MVar.default IdentifiableType
getType()
Get identifiable type.Battery
setMaxP(double maxP)
Set the maximal active power in MW.Battery
setMinP(double minP)
Set the minimal active power in MW.default Battery
setP0(double p0)
Deprecated.UsesetTargetP(double)
instead.default Battery
setQ0(double q0)
Deprecated.UsesetTargetP(double)
instead.Battery
setTargetP(double targetP)
Set the target active power in MW.Battery
setTargetQ(double targetQ)
Set the target reactive power in MVar.-
Methods inherited from interface com.powsybl.iidm.network.Connectable
getTerminals, remove
-
Methods inherited from interface com.powsybl.commons.extensions.Extendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
-
Methods inherited from interface com.powsybl.iidm.network.Identifiable
addAlias, addAlias, addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getName, getNameOrId, getNetwork, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, removeProperty, setFictitious, setName, setProperty
-
Methods inherited from interface com.powsybl.iidm.network.Injection
getTerminal
-
Methods inherited from interface com.powsybl.iidm.network.ReactiveLimitsHolder
getReactiveLimits, getReactiveLimits, newMinMaxReactiveLimits, newReactiveCapabilityCurve
-
-
-
-
Method Detail
-
getP0
@Deprecated(since="4.9.0") default double getP0()
Deprecated.UsegetTargetP()
instead.
-
getTargetP
double getTargetP()
Get the target active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
setP0
@Deprecated(since="4.9.0") default Battery setP0(double p0)
Deprecated.UsesetTargetP(double)
instead.
-
setTargetP
Battery setTargetP(double targetP)
Set the target active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
getQ0
@Deprecated(since="4.9.0") default double getQ0()
Deprecated.UsegetTargetQ()
instead.
-
getTargetQ
double getTargetQ()
Get the target reactive power in MVar.Depends on the working variant.
- See Also:
VariantManager
-
setQ0
@Deprecated(since="4.9.0") default Battery setQ0(double q0)
Deprecated.UsesetTargetP(double)
instead.
-
setTargetQ
Battery setTargetQ(double targetQ)
Set the target reactive power in MVar.Depends on the working variant.
- See Also:
VariantManager
-
getMinP
double getMinP()
Get the minimal active power in MW.
-
setMinP
Battery setMinP(double minP)
Set the minimal active power in MW.
-
getMaxP
double getMaxP()
Get the maximal active power in MW.
-
setMaxP
Battery setMaxP(double maxP)
Set the maximal active power in MW.
-
getType
default IdentifiableType getType()
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<Battery>
- Returns:
- the identifiable type
-
-