Class CalculatePowerExtrema
java.lang.Object
io.openems.edge.ess.core.power.solver.CalculatePowerExtrema
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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
- theCoefficients
allConstraints
- all activeConstraint
sessId
- the ID of theManagedSymmetricEss
phase
- thePhase
pwr
- thePwr
goal
- theGoalType
- Returns:
- the extrema value; or 0 on error
-