Class CalculatePowerExtrema

java.lang.Object
io.openems.edge.ess.core.power.solver.CalculatePowerExtrema

public class CalculatePowerExtrema extends Object
  • Constructor Details

    • CalculatePowerExtrema

      public CalculatePowerExtrema()
  • Method Details

    • from

      public static double from(Coefficients coefficients, List<Constraint> allConstraints, String essId, Phase phase, Pwr pwr, org.apache.commons.math3.optim.nonlinear.scalar.GoalType goal)
      Calculates the extrema under the current constraints for the given parameters.
      Parameters:
      coefficients - the Coefficients
      allConstraints - all active Constraints
      essId - the ID of the ManagedSymmetricEss
      phase - the Phase
      pwr - the Pwr
      goal - the GoalType
      Returns:
      the extrema value; or 0 on error