Package com.powsybl.iidm.network
Interface Load
-
- All Superinterfaces:
Connectable<Load>
,Extendable<Load>
,Identifiable<Load>
,Injection<Load>
- All Known Implementing Classes:
LoadAdapter
public interface Load extends Injection<Load>
A constant power load (fixed p0 and q0).p0 and q0 are given at the nominal voltage of the voltage level to which the load is connected (l.getTerminal().getVoltageLevel().getNominalV()).
Characteristics
Attribute Type Unit Required Defaut value Description Id String - yes - Unique identifier of the load Name String - yes - Human-readable name of the load LoadType LoadType - no UNDEFINED The type of load P0 double MW yes - The active power setpoint Q0 double MVar yes - The reactive power setpoint To create a load, see
LoadAdder
- Author:
- Geoffroy Jamgotchian
- See Also:
LoadAdder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LoadType
getLoadType()
Optional<LoadModel>
getModel()
double
getP0()
Get the constant active power in MW.double
getQ0()
Get the constant reactive power in MVar.default IdentifiableType
getType()
Get identifiable type.Load
setLoadType(LoadType loadType)
Load
setP0(double p0)
Set the constant active power in MW.Load
setQ0(double q0)
Set the constant 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
-
-
-
-
Method Detail
-
getLoadType
LoadType getLoadType()
-
getP0
double getP0()
Get the constant active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
setP0
Load setP0(double p0)
Set the constant active power in MW.Depends on the working variant.
- See Also:
VariantManager
-
getQ0
double getQ0()
Get the constant reactive power in MVar.Depends on the working variant.
- See Also:
VariantManager
-
setQ0
Load setQ0(double q0)
Set the constant reactive power in MVar.Depends on the working variant.
- See Also:
VariantManager
-
getType
default IdentifiableType getType()
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<Load>
- Returns:
- the identifiable type
-
-