Interface Load

All Superinterfaces:
Connectable<Load>, Extendable<Load>, Identifiable<Load>, Injection<Load>

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 <geoffroy.jamgotchian at rte-france.com>
See Also:
  • Method Details

    • getLoadType

      LoadType getLoadType()
    • setLoadType

      Load setLoadType(LoadType loadType)
    • getP0

      double getP0()
      Get the constant active power in MW.

      Depends on the working variant.

      See Also:
    • setP0

      Load setP0(double p0)
      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

      Load setQ0(double q0)
      Set the constant reactive power in MVar.

      Depends on the working variant.

      See Also:
    • getType

      default IdentifiableType getType()
      Description copied from interface: Identifiable
      Get identifiable type.
      Specified by:
      getType in interface Identifiable<Load>
      Returns:
      the identifiable type
    • getModel

      Optional<LoadModel> getModel()