Package io.openems.edge.evcs.api
Interface Evcs
- All Superinterfaces:
OpenemsComponent
- All Known Subinterfaces:
EvcsClusterPeakShaving
,EvcsGoeChargerHome
,EvcsKebaKeContact
,EvcsOcppAbl
,EvcsOcppIesKeywattSingle
,ManagedEvcs
,MeasuringEvcs
,MetaEvcs
,SimulatorEvcs
,SocEvcs
- All Known Implementing Classes:
AbstractManagedEvcsComponent
,AbstractManagedOcppEvcsComponent
,DummyManagedEvcs
,EvcsAlpitronicHyperchargerImpl
,EvcsClusterPeakShavingImpl
,EvcsDezonyImpl
,EvcsGoeChargerHomeImpl
,EvcsHardyBarthImpl
,EvcsKebaKeContactImpl
,EvcsOcppAblImpl
,EvcsOcppIesKeywattSingleImpl
,EvcsSpelsbergSmartImpl
,EvcsWebastoNextImpl
,EvcsWebastoUniteImpl
,SimulatorEvcsImpl
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setActiveConsumptionEnergy
(long value) Internal method to set the 'nextValue' onEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
Channel.default void
_setActiveConsumptionEnergy
(Long value) Internal method to set the 'nextValue' onEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
Channel.default void
_setChargePower
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGE_POWER
Channel.default void
_setChargePower
(Integer value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGE_POWER
Channel.default void
_setChargingstationCommunicationFailed
(boolean value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGINGSTATION_COMMUNICATION_FAILED
Channel.default void
_setChargingType
(ChargingType value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGING_TYPE
Channel.default void
_setEnergySession
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.ENERGY_SESSION
Channel.default void
_setEnergySession
(Integer value) Internal method to set the 'nextValue' onEvcs.ChannelId.ENERGY_SESSION
Channel.default void
_setFixedMaximumHardwarePower
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
Channel.default void
Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
Channel.default void
_setFixedMinimumHardwarePower
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
Channel.default void
Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
Channel.default void
_setMaximumPower
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.MAXIMUM_POWER
Channel.default void
_setMaximumPower
(Integer value) Internal method to set the 'nextValue' onEvcs.ChannelId.MAXIMUM_POWER
Channel.default void
_setMinimumPower
(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.MINIMUM_POWER
Channel.default void
_setMinimumPower
(Integer value) Internal method to set the 'nextValue' onEvcs.ChannelId.MINIMUM_POWER
Channel.default void
_setPhases
(Phases value) Internal method to set the 'nextValue' onEvcs.ChannelId.PHASES
Channel.default void
_setPhases
(Integer value) Internal method to set the 'nextValue' onEvcs.ChannelId.PHASES
Channel.default void
_setStatus
(Status value) Internal method to set the 'nextValue' onEvcs.ChannelId.STATUS
Channel.static void
Adds onSetNextValue listeners for minimum and maximum hardware power.Gets the Active Consumption Energy in [Wh_Σ].default LongReadChannel
Gets the Channel forEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
.Gets the Charge Power in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.CHARGE_POWER
.Gets the Failed state channel for a failed communication to the EVCS.default StateChannel
Gets the Channel forEvcs.ChannelId.CHARGINGSTATION_COMMUNICATION_FAILED
.default ChargingType
Gets the Type of charging.default Channel
<ChargingType> Gets the Channel forEvcs.ChannelId.CHARGING_TYPE
.Gets the Energy that was charged during the current or last Session in [Wh].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.ENERGY_SESSION
.Gets the fixed maximum power valid by the hardware in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
.Gets the fixed minimum power valid by the hardware in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
.Gets the Maximum Power valid by the hardware in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.MAXIMUM_HARDWARE_POWER
.Gets the Maximum Power valid by software in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.MAXIMUM_POWER
.Gets the Minimum Power valid by the hardware in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.MINIMUM_HARDWARE_POWER
.Gets the Minimum Power valid by software in [W].default IntegerReadChannel
Gets the Channel forEvcs.ChannelId.MINIMUM_POWER
.static ModbusSlaveNatureTable
getModbusSlaveNatureTable
(AccessMode accessMode) Used for Modbus/TCP Api Controller.default Phases
Gets the current Phases definition.default int
Gets the Count of phases, the EV is charging with.default EnumReadChannel
Gets the Channel forEvcs.ChannelId.PHASES
.default Status
Gets the Status of the EVCS charging station.Gets the Channel forEvcs.ChannelId.STATUS
.Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Field Details
-
DEFAULT_MAXIMUM_HARDWARE_POWER
-
DEFAULT_MINIMUM_HARDWARE_POWER
-
DEFAULT_MAXIMUM_HARDWARE_CURRENT
-
DEFAULT_MINIMUM_HARDWARE_CURRENT
-
DEFAULT_VOLTAGE
-
DEFAULT_POWER_RECISION
static final int DEFAULT_POWER_RECISION- See Also:
-
-
Method Details
-
getStatusChannel
Gets the Channel forEvcs.ChannelId.STATUS
.- Returns:
- the Channel
-
getStatus
Gets the Status of the EVCS charging station. SeeEvcs.ChannelId.STATUS
.- Returns:
- the Channel
Value
-
_setStatus
Internal method to set the 'nextValue' onEvcs.ChannelId.STATUS
Channel.- Parameters:
value
- the next value
-
getChargePowerChannel
Gets the Channel forEvcs.ChannelId.CHARGE_POWER
.- Returns:
- the Channel
-
getChargePower
Gets the Charge Power in [W]. SeeEvcs.ChannelId.CHARGE_POWER
.- Returns:
- the Channel
Value
-
_setChargePower
Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGE_POWER
Channel.- Parameters:
value
- the next value
-
_setChargePower
default void _setChargePower(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGE_POWER
Channel.- Parameters:
value
- the next value
-
getChargingTypeChannel
Gets the Channel forEvcs.ChannelId.CHARGING_TYPE
.- Returns:
- the Channel
-
getChargingType
Gets the Type of charging. SeeEvcs.ChannelId.CHARGING_TYPE
.- Returns:
- the Channel
Value
-
_setChargingType
Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGING_TYPE
Channel.- Parameters:
value
- the next value
-
getPhasesChannel
Gets the Channel forEvcs.ChannelId.PHASES
.- Returns:
- the Channel
-
getPhases
Gets the current Phases definition. SeeEvcs.ChannelId.PHASES
.- Returns:
- the Channel
Value
-
getPhasesAsInt
default int getPhasesAsInt()Gets the Count of phases, the EV is charging with. SeeEvcs.ChannelId.PHASES
.- Returns:
- the Channel
Value
-
_setPhases
Internal method to set the 'nextValue' onEvcs.ChannelId.PHASES
Channel.- Parameters:
value
- the next value
-
_setPhases
Internal method to set the 'nextValue' onEvcs.ChannelId.PHASES
Channel.- Parameters:
value
- the next value
-
getFixedMinimumHardwarePowerChannel
Gets the Channel forEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
.- Returns:
- the Channel
-
getFixedMinimumHardwarePower
Gets the fixed minimum power valid by the hardware in [W]. SeeEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
.- Returns:
- the Channel
Value
-
_setFixedMinimumHardwarePower
Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
Channel.- Parameters:
value
- the next value
-
_setFixedMinimumHardwarePower
default void _setFixedMinimumHardwarePower(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MINIMUM_HARDWARE_POWER
Channel.- Parameters:
value
- the next value
-
getFixedMaximumHardwarePowerChannel
Gets the Channel forEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
.- Returns:
- the Channel
-
getFixedMaximumHardwarePower
Gets the fixed maximum power valid by the hardware in [W]. SeeEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
.- Returns:
- the Channel
Value
-
_setFixedMaximumHardwarePower
Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
Channel.- Parameters:
value
- the next value
-
_setFixedMaximumHardwarePower
default void _setFixedMaximumHardwarePower(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.FIXED_MAXIMUM_HARDWARE_POWER
Channel.- Parameters:
value
- the next value
-
getMaximumHardwarePowerChannel
Gets the Channel forEvcs.ChannelId.MAXIMUM_HARDWARE_POWER
.- Returns:
- the Channel
-
getMaximumHardwarePower
Gets the Maximum Power valid by the hardware in [W]. SeeEvcs.ChannelId.MAXIMUM_HARDWARE_POWER
.- Returns:
- the Channel
Value
-
getMinimumHardwarePowerChannel
Gets the Channel forEvcs.ChannelId.MINIMUM_HARDWARE_POWER
.- Returns:
- the Channel
-
getMinimumHardwarePower
Gets the Minimum Power valid by the hardware in [W]. SeeEvcs.ChannelId.MINIMUM_HARDWARE_POWER
.- Returns:
- the Channel
Value
-
getMaximumPowerChannel
Gets the Channel forEvcs.ChannelId.MAXIMUM_POWER
.- Returns:
- the Channel
-
getMaximumPower
Gets the Maximum Power valid by software in [W]. SeeEvcs.ChannelId.MAXIMUM_POWER
.- Returns:
- the Channel
Value
-
_setMaximumPower
Internal method to set the 'nextValue' onEvcs.ChannelId.MAXIMUM_POWER
Channel.- Parameters:
value
- the next value
-
_setMaximumPower
default void _setMaximumPower(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.MAXIMUM_POWER
Channel.- Parameters:
value
- the next value
-
getMinimumPowerChannel
Gets the Channel forEvcs.ChannelId.MINIMUM_POWER
.- Returns:
- the Channel
-
getMinimumPower
Gets the Minimum Power valid by software in [W]. SeeEvcs.ChannelId.MINIMUM_POWER
.- Returns:
- the Channel
Value
-
_setMinimumPower
Internal method to set the 'nextValue' onEvcs.ChannelId.MINIMUM_POWER
Channel.- Parameters:
value
- the next value
-
_setMinimumPower
default void _setMinimumPower(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.MINIMUM_POWER
Channel.- Parameters:
value
- the next value
-
getEnergySessionChannel
Gets the Channel forEvcs.ChannelId.ENERGY_SESSION
.- Returns:
- the Channel
-
getEnergySession
Gets the Energy that was charged during the current or last Session in [Wh]. SeeEvcs.ChannelId.ENERGY_SESSION
.- Returns:
- the Channel
Value
-
_setEnergySession
Internal method to set the 'nextValue' onEvcs.ChannelId.ENERGY_SESSION
Channel.- Parameters:
value
- the next value
-
_setEnergySession
default void _setEnergySession(int value) Internal method to set the 'nextValue' onEvcs.ChannelId.ENERGY_SESSION
Channel.- Parameters:
value
- the next value
-
getActiveConsumptionEnergyChannel
Gets the Channel forEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
.- Returns:
- the Channel
-
getActiveConsumptionEnergy
Gets the Active Consumption Energy in [Wh_Σ]. This relates to negative ACTIVE_POWER. SeeEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
.- Returns:
- the Channel
Value
-
_setActiveConsumptionEnergy
Internal method to set the 'nextValue' onEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
Channel.- Parameters:
value
- the next value
-
_setActiveConsumptionEnergy
default void _setActiveConsumptionEnergy(long value) Internal method to set the 'nextValue' onEvcs.ChannelId.ACTIVE_CONSUMPTION_ENERGY
Channel.- Parameters:
value
- the next value
-
getChargingstationCommunicationFailedChannel
Gets the Channel forEvcs.ChannelId.CHARGINGSTATION_COMMUNICATION_FAILED
.- Returns:
- the Channel
-
getChargingstationCommunicationFailed
Gets the Failed state channel for a failed communication to the EVCS. SeeEvcs.ChannelId.CHARGINGSTATION_COMMUNICATION_FAILED
.- Returns:
- the Channel
Value
-
_setChargingstationCommunicationFailed
default void _setChargingstationCommunicationFailed(boolean value) Internal method to set the 'nextValue' onEvcs.ChannelId.CHARGINGSTATION_COMMUNICATION_FAILED
Channel.- Parameters:
value
- the next value
-
addCalculatePowerLimitListeners
Adds onSetNextValue listeners for minimum and maximum hardware power.Since the minimum and maximum power strongly depends on the connected vehicle, this automatically adjusts it to the currently used phases.
- Parameters:
evcs
- evcs
-
getModbusSlaveNatureTable
Used for Modbus/TCP Api Controller. Provides a Modbus table for the Channels of this Component.- Parameters:
accessMode
- filters the Modbus-Records that should be shown- Returns:
- the
ModbusSlaveNatureTable
-