Package io.openems.edge.app.evcs
Class EvcsProps
java.lang.Object
io.openems.edge.app.evcs.EvcsProps
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends OpenemsApp & ComponentManagerSupplier>
AppDef<T, Nameable, Type.Parameter.BundleProvider> clusterMaxHardwarePower
(Nameable acceptProperty) Creates aAppDef
for theEvcsCluster.Property.MAX_HARDWARE_POWER_LIMIT_PER_PHASE
.static <T extends OpenemsApp & ComponentManagerSupplier & ComponentUtilSupplier>
AppDef<T, Nameable, Type.Parameter.BundleProvider> clusterMaxHardwarePowerSingleCp
(Nameable acceptProperty, Nameable evcsIdProperty) Creates aAppDef
for theEvcsCluster.Property.MAX_HARDWARE_POWER_LIMIT_PER_PHASE
for a single charge point.static List
<OpenemsComponent> getEvcsComponents
(ComponentUtil componentUtil) Gets the currently installed evcs components.numberOfChargePoints
(int maxValue) Creates aAppDef
for selecting the number of charge points.
-
Field Details
-
NUMBER_OF_PHASES
public static final int NUMBER_OF_PHASES- See Also:
-
-
Method Details
-
numberOfChargePoints
public static AppDef<OpenemsApp,Nameable, numberOfChargePointsType.Parameter.BundleProvider> (int maxValue) Creates aAppDef
for selecting the number of charge points.- Parameters:
maxValue
- the max number of charge points- Returns:
- the
AppDef
-
clusterMaxHardwarePower
public static <T extends OpenemsApp & ComponentManagerSupplier> AppDef<T,Nameable, clusterMaxHardwarePowerType.Parameter.BundleProvider> (Nameable acceptProperty) Creates aAppDef
for theEvcsCluster.Property.MAX_HARDWARE_POWER_LIMIT_PER_PHASE
.- Type Parameters:
T
- the type of theOpenemsApp
- Parameters:
acceptProperty
- the property of the accept field- Returns:
- the
AppDef
-
clusterMaxHardwarePowerSingleCp
public static <T extends OpenemsApp & ComponentManagerSupplier & ComponentUtilSupplier> AppDef<T,Nameable, clusterMaxHardwarePowerSingleCpType.Parameter.BundleProvider> (Nameable acceptProperty, Nameable evcsIdProperty) Creates aAppDef
for theEvcsCluster.Property.MAX_HARDWARE_POWER_LIMIT_PER_PHASE
for a single charge point.- Type Parameters:
T
- the type of theOpenemsApp
- Parameters:
acceptProperty
- the property of the accept fieldevcsIdProperty
- the property of the evcs id- Returns:
- the
AppDef
-
getEvcsComponents
Gets the currently installed evcs components.Note: only checks if the component id starts with evcs it does not check the type of the component.
- Parameters:
componentUtil
- theComponentUtil
- Returns:
- a list of the components
-