Class PowerTuple
java.lang.Object
io.openems.edge.ess.core.power.solver.PowerTuple
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the Active-Power value.int
Get the Reactive-Power value.void
Set a value.toString()
-
Constructor Details
-
PowerTuple
public PowerTuple()
-
-
Method Details
-
setValue
Set a value.- Parameters:
pwr
- thePwr
value
- the value
-
getActivePower
public int getActivePower()Get the Active-Power value.- Returns:
- value for
Pwr.ACTIVE
.
-
getReactivePower
public int getReactivePower()Get the Reactive-Power value.- Returns:
- value for
Pwr.REACTIVE
.
-
toString
-