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 Detail

      • 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