Package com.powsybl.iidm.network
Interface Load
- All Superinterfaces:
Connectable<Load>
,Extendable<Load>
,Identifiable<Load>
,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 <geoffroy.jamgotchian at rte-france.com>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
double
getP0()
Get the constant active power in MW.double
getQ0()
Get the constant reactive power in MVar.default IdentifiableType
getType()
Get identifiable type.setLoadType
(LoadType loadType) setP0
(double p0) Set the constant active power in MW.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, 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
-
Method Details
-
getLoadType
LoadType getLoadType() -
setLoadType
-
getP0
double getP0()Get the constant active power in MW.Depends on the working variant.
- See Also:
-
setP0
Set the constant active power in MW.Depends on the working variant.
- See Also:
-
getQ0
double getQ0()Get the constant reactive power in MVar.Depends on the working variant.
- See Also:
-
setQ0
Set the constant reactive power in MVar.Depends on the working variant.
- See Also:
-
getType
Description copied from interface:Identifiable
Get identifiable type.- Specified by:
getType
in interfaceIdentifiable<Load>
- Returns:
- the identifiable type
-
getModel
-