Class BalanceTypeGuesser


  • public class BalanceTypeGuesser
    extends Object
    On creation, tries to guess the balancing method used by the computation, from the differences between the computed power outputs and initial target power. This is necessary since the balancing method actually used is not known.
    Author:
    Massimo Ferraro
    • Constructor Detail

      • BalanceTypeGuesser

        public BalanceTypeGuesser()
      • BalanceTypeGuesser

        public BalanceTypeGuesser​(Network network,
                                  double threshold)
        Tries to guess the balancing method for the provided network.
        Parameters:
        threshold - : Under this threshold, a power deviation will not be seen as significant (not taken into account in the ratio computation).
    • Method Detail

      • getBalanceType

        public BalanceType getBalanceType()
        The balance type identified as most likely (leading to the smallest variance around theoretical values).
      • getSlack

        public String getSlack()
        The identified slack generator, if any.
      • getKMax

        public double getKMax()
        The balancing ratio value, assuming balancing proportional to P max.
      • getKTarget

        public double getKTarget()
        The balancing ratio value, assuming balancing proportional to target P.
      • getKHeadroom

        public double getKHeadroom()
        The balancing ratio value, assuming balancing proportional to P headroom.