Class ApparentPowerConstraintUtil
java.lang.Object
io.openems.edge.ess.core.power.data.ApparentPowerConstraintUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<Constraint>
generateConstraints
(Coefficients coefficients, String essId, Phase phase, double apparentPower) Generate Constraints for ApparentPower.
-
Method Details
-
generateConstraints
public static List<Constraint> generateConstraints(Coefficients coefficients, String essId, Phase phase, double apparentPower) throws OpenemsException Generate Constraints for ApparentPower.- Parameters:
coefficients
- theCoefficients
essId
- the Id of theManagedSymmetricEss
phase
- thePhase
apparentPower
- the apparent power in [VA]- Returns:
- a list of
Constraint
s - Throws:
OpenemsException
- on error
-