Package com.powsybl.iidm.network
Interface Battery
- All Superinterfaces:
Connectable<Battery>
,Extendable<Battery>
,Identifiable<Battery>
,Injection<Battery>
,ReactiveLimitsHolder
- All Known Implementing Classes:
BatteryImpl
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 <ghiles.abdellah at rte-france.com>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getMaxP()
Get the maximal active power in MW.double
getMinP()
Get the minimal active power in MW.default double
getP0()
Deprecated.default double
getQ0()
Deprecated.UsegetTargetQ()
instead.double
Get the target active power in MW.double
Get the target reactive power in MVar.default IdentifiableType
getType()
Get identifiable type.setMaxP
(double maxP) Set the maximal active power in MW.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.setTargetP
(double targetP) Set the target active power in MW.setTargetQ
(double targetQ) Set the target reactive power in MVar.Methods inherited from interface com.powsybl.iidm.network.Connectable
connect, connect, disconnect, disconnect, 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, getNameOrId, getNetwork, getOptionalName, getParentNetwork, 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 Details
-
getP0
Deprecated.UsegetTargetP()
instead. -
getTargetP
double getTargetP()Get the target active power in MW.Depends on the working variant.
- See Also:
-
setP0
Deprecated.UsesetTargetP(double)
instead. -
setTargetP
Set the target active power in MW.Depends on the working variant.
- See Also:
-
getQ0
Deprecated.UsegetTargetQ()
instead. -
getTargetQ
double getTargetQ()Get the target reactive power in MVar.Depends on the working variant.
- See Also:
-
setQ0
Deprecated.UsesetTargetP(double)
instead. -
setTargetQ
Set the target reactive power in MVar.Depends on the working variant.
- See Also:
-
getMinP
double getMinP()Get the minimal active power in MW. -
setMinP
Set the minimal active power in MW. -
getMaxP
double getMaxP()Get the maximal active power in MW. -
setMaxP
Set the maximal active power in MW. -
getType
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<Battery>
- Returns:
- the identifiable type
-
getTargetP()
instead.