Interface BatteryAdder

    • Method Detail

      • setP0

        BatteryAdder setP0​(double p0)
        Set the constant active power in MW.

        Depends on the working variant.

        See Also:
        VariantManager
      • setQ0

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

        Depends on the working variant.

        See Also:
        VariantManager
      • setMinP

        BatteryAdder setMinP​(double minP)
        Set the minimal active power in MW.
      • setMaxP

        BatteryAdder setMaxP​(double maxP)
        Set the maximal active power in MW.
      • add

        Battery add()
        Build the Battery object. This are the checks that are performed before creating the object : - p0 is not equal to Double.NaN -> p0 is set - q0 is not equal to Double.NaN -> q0 is set - minP is not equal to Double.NaN -> minP is set - maxP is not equal to Double.NaN -> maxP is set - minP is less than maxP - minP <= p0 <= maxP
        Returns:
        Battery