Package io.openems.edge.app.peakshaving
Class PeakShavingProps
java.lang.Object
io.openems.edge.app.peakshaving.PeakShavingProps
-
Method Summary
Modifier and TypeMethodDescriptionCreates aAppDef
for peak shaving power.Creates aAppDef
for peak shaving power per phase.static <A extends OpenemsApp,
PA extends Type.Parameter.BundleProvider, P extends Nameable & Type<P, A, PA>>
AppDef<A, P, PA> peakShavingRechargePowerGroup
(P peakShavingPowerProp, P rechargePowerProp) Creates aAppDef
which groups thepeakShavingPower()
and therechargePower()
to validate if any of them changes their values.Creates aAppDef
for peak shaving recharge power.Creates aAppDef
for peak shaving recharge power per phase.
-
Method Details
-
peakShavingPower
Creates aAppDef
for peak shaving power.- Returns:
- the
AppDef
-
peakShavingPowerPerPhase
Creates aAppDef
for peak shaving power per phase.- Returns:
- the
AppDef
-
rechargePower
Creates aAppDef
for peak shaving recharge power.- Returns:
- the
AppDef
-
rechargePowerPerPhase
Creates aAppDef
for peak shaving recharge power per phase.- Returns:
- the
AppDef
-
peakShavingRechargePowerGroup
public static <A extends OpenemsApp,PA extends Type.Parameter.BundleProvider, AppDef<A,P extends Nameable & Type<P, A, PA>> P, peakShavingRechargePowerGroupPA> (P peakShavingPowerProp, P rechargePowerProp) Creates aAppDef
which groups thepeakShavingPower()
and therechargePower()
to validate if any of them changes their values.- Type Parameters:
A
- theOpenemsApp
typePA
- the type of the parameterP
- the property type- Parameters:
peakShavingPowerProp
- thepeakShavingPower()
rechargePowerProp
- therechargePower()
- Returns:
- the
AppDef
-