Package io.openems.edge.ess.power.api
Class Coefficients
java.lang.Object
io.openems.edge.ess.power.api.Coefficients
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAll()
int
void
initialize
(boolean symmetricMode, Set<String> essIds) Initialize the Coefficients for the linear equation system.
-
Constructor Details
-
Coefficients
public Coefficients()
-
-
Method Details
-
initialize
Initialize the Coefficients for the linear equation system.- Parameters:
symmetricMode
- if activated, Coefficients are only added for Sum of all Phases. Otherwise Coefficients for Sum and each Phase are added.essIds
- Set of ESS-Ids
-
of
- Parameters:
essId
- the Ess-IDphase
- thePhase
pwr
- thePwr
- Returns:
- the
Coefficient
- Throws:
OpenemsException
- on error
-
getAll
-
getNoOfCoefficients
public int getNoOfCoefficients()
-