Class PowerTuple
- java.lang.Object
-
- io.openems.edge.ess.core.power.solver.PowerTuple
-
public class PowerTuple extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PowerTuple()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActivePower()
Get the Active-Power value.int
getReactivePower()
Get the Reactive-Power value.void
setValue(Pwr pwr, int value)
Set a value.java.lang.String
toString()
-
-
-
Method Detail
-
setValue
public void setValue(Pwr pwr, int value)
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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-