Package io.openems.edge.ess.mr.gridcon
Class WeightingHelper
java.lang.Object
io.openems.edge.ess.mr.gridcon.WeightingHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getStringControlMode
(Battery battery1, Battery battery2, Battery battery3) static Float[]
getWeighting
(float activePower, Battery b1, Battery b2, Battery b3) Calculates the weighting for Gridcon depending on connected batteries and given active power.
-
Constructor Details
-
WeightingHelper
public WeightingHelper()
-
-
Method Details
-
getWeighting
Calculates the weighting for Gridcon depending on connected batteries and given active power.- Parameters:
activePower
-b1
-b2
-b3
-- Returns:
-
getStringControlMode
-