Package io.openems.edge.goodwe.common
Interface GoodWe
- All Superinterfaces:
OpenemsComponent
- All Known Subinterfaces:
GoodWeBatteryInverter
,GoodWeEss
- All Known Implementing Classes:
AbstractGoodWe
,GoodWeBatteryInverterImpl
,GoodWeEssImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setBmsChargeMaxCurrent
(Integer value) Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
Channel.default void
_setBmsChargeMaxVoltage
(Integer value) Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
Channel.default void
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
Channel.default void
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
Channel.default void
_setGoodweType
(GoodWeType value) Internal method to set the 'nextValue' onGoodWe.ChannelId.GOODWE_TYPE
Channel.default void
_setImpossibleFeneconHomeCombination
(boolean value) Internal method to set the 'nextValue' onGoodWe.ChannelId.IMPOSSIBLE_FENECON_HOME_COMBINATION
Channel.default void
_setMaxAcExport
(Integer value) Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_EXPORT
Channel.default void
_setMaxAcImport
(Integer value) Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_IMPORT
Channel.void
addCharger
(GoodWeCharger charger) Registers a GoodWe Charger.default BatteryProtocol
Gets the battery protocol arm as enum.default EnumReadChannel
Gets the Channel forGoodWe.ChannelId.BATTERY_PROTOCOL_ARM
.Gets the BMS Charge-Max-Current in [A].default IntegerWriteChannel
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.Gets the BMS Charge-Max-Voltage in [V].default IntegerWriteChannel
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.Gets the BMS Discharge-Max-Current in [A].default IntegerWriteChannel
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.Gets the BMS Discharge-Min-Voltage in [V].default IntegerWriteChannel
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.default GoodWeType
Gets the Device Type.default Channel
<GoodWeType> Gets the Channel forGoodWe.ChannelId.GOODWE_TYPE
.default StateChannel
Gets the Channel forGoodWe.ChannelId.IMPOSSIBLE_FENECON_HOME_COMBINATION
.Gets the Max AC-Export Power in [W].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.MAX_AC_EXPORT
.Gets the Max AC-Import Power in [W].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.MAX_AC_IMPORT
.Gets the SoC to start the force charge [%].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.SOC_START_TO_FORCE_CHARGE
.Gets the SoC to stop the force charge [%].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.SOC_STOP_TO_FORCE_CHARGE
.Gets the Wbms Charge Max Current in [A].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.Gets the Wbms Discharge Max Current in [A].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.Gets the Wbms voltage in [V].default IntegerReadChannel
Gets the Channel forGoodWe.ChannelId.WBMS_VOLTAGE
.void
removeCharger
(GoodWeCharger charger) Unregisters a GoodWe Charger.default void
setBmsChargeMaxCurrent
(Integer value) Gets the BMS Charge-Max-Current in [A].default void
setBmsChargeMaxVoltage
(Integer value) Gets the BMS Charge-Max-Voltage in [V].default void
setBmsDischargeMaxCurrent
(Integer value) Gets the BMS Discharge-Max-Current in [A].default void
setBmsDischargeMinVoltage
(Integer value) Gets the BMS Discharge-Min-Voltage in [V].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
-
Method Details
-
addCharger
Registers a GoodWe Charger.- Parameters:
charger
-GoodWeCharger
charger
-
removeCharger
Unregisters a GoodWe Charger.- Parameters:
charger
-GoodWeCharger
charger
-
getGoodweTypeChannel
Gets the Channel forGoodWe.ChannelId.GOODWE_TYPE
.- Returns:
- the Channel
-
getGoodweType
Gets the Device Type. SeeGoodWe.ChannelId.GOODWE_TYPE
.- Returns:
- the Channel
Value
-
_setGoodweType
Internal method to set the 'nextValue' onGoodWe.ChannelId.GOODWE_TYPE
Channel.- Parameters:
value
- the next value
-
getBmsChargeMaxCurrentChannel
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getBmsChargeMaxCurrent
Gets the BMS Charge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
_setBmsChargeMaxCurrent
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
Channel.- Parameters:
value
- the next value
-
setBmsChargeMaxCurrent
Gets the BMS Charge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.- Parameters:
value
- the next write value- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getBmsDischargeMaxCurrentChannel
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getBmsDischargeMaxCurrent
Gets the BMS Discharge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
_setBmsDischargeMaxCurrent
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
Channel.- Parameters:
value
- the next value
-
setBmsDischargeMaxCurrent
Gets the BMS Discharge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.- Parameters:
value
- the next write value- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getBmsChargeMaxVoltageChannel
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.- Returns:
- the Channel
-
getBmsChargeMaxVoltage
Gets the BMS Charge-Max-Voltage in [V]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.- Returns:
- the Channel
Value
-
_setBmsChargeMaxVoltage
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
Channel.- Parameters:
value
- the next value
-
setBmsChargeMaxVoltage
Gets the BMS Charge-Max-Voltage in [V]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.- Parameters:
value
- the next write value- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getBmsDischargeMinVoltageChannel
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.- Returns:
- the Channel
-
getBmsDischargeMinVoltage
Gets the BMS Discharge-Min-Voltage in [V]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.- Returns:
- the Channel
Value
-
_setBmsDischargeMinVoltage
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
Channel.- Parameters:
value
- the next value
-
setBmsDischargeMinVoltage
Gets the BMS Discharge-Min-Voltage in [V]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.- Parameters:
value
- the next write value- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getWbmsChargeMaxCurrentChannel
Gets the Channel forGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getWbmsChargeMaxCurrent
Gets the Wbms Charge Max Current in [A]. SeeGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
getWbmsDischargeMaxCurrentChannel
Gets the Channel forGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getWbmsDischargeMaxCurrent
Gets the Wbms Discharge Max Current in [A]. SeeGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
getWbmsVoltageChannel
Gets the Channel forGoodWe.ChannelId.WBMS_VOLTAGE
.- Returns:
- the Channel
-
getWbmsVoltage
Gets the Wbms voltage in [V]. SeeGoodWe.ChannelId.WBMS_VOLTAGE
.- Returns:
- the Channel
Value
-
getMaxAcExportChannel
Gets the Channel forGoodWe.ChannelId.MAX_AC_EXPORT
.- Returns:
- the Channel
-
getMaxAcExport
Gets the Max AC-Export Power in [W]. Positive Values. SeeGoodWe.ChannelId.MAX_AC_EXPORT
.- Returns:
- the Channel
Value
-
_setMaxAcExport
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_EXPORT
Channel.- Parameters:
value
- the next value
-
getMaxAcImportChannel
Gets the Channel forGoodWe.ChannelId.MAX_AC_IMPORT
.- Returns:
- the Channel
-
getMaxAcImport
Gets the Max AC-Import Power in [W]. Negative Values. SeeGoodWe.ChannelId.MAX_AC_IMPORT
.- Returns:
- the Channel
Value
-
_setMaxAcImport
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_IMPORT
Channel.- Parameters:
value
- the next value
-
getBatteryProtocolArmChannel
Gets the Channel forGoodWe.ChannelId.BATTERY_PROTOCOL_ARM
.- Returns:
- the Channel
-
getBatteryProtocolArm
Gets the battery protocol arm as enum. SeeGoodWe.ChannelId.BATTERY_PROTOCOL_ARM
.- Returns:
- the Channel
Value
-
getSocStartToForceChargeChannel
Gets the Channel forGoodWe.ChannelId.SOC_START_TO_FORCE_CHARGE
.- Returns:
- the Channel
-
getSocStartToForceCharge
Gets the SoC to start the force charge [%]. SeeGoodWe.ChannelId.SOC_START_TO_FORCE_CHARGE
.- Returns:
- the Channel
Value
-
getSocStopToForceChargeChannel
Gets the Channel forGoodWe.ChannelId.SOC_STOP_TO_FORCE_CHARGE
.- Returns:
- the Channel
-
getSocStopToForceCharge
Gets the SoC to stop the force charge [%]. SeeGoodWe.ChannelId.SOC_STOP_TO_FORCE_CHARGE
.- Returns:
- the Channel
Value
-
getImpossibleFeneconHomeCombinationChannel
Gets the Channel forGoodWe.ChannelId.IMPOSSIBLE_FENECON_HOME_COMBINATION
.- Returns:
- the Channel
-
_setImpossibleFeneconHomeCombination
default void _setImpossibleFeneconHomeCombination(boolean value) Internal method to set the 'nextValue' onGoodWe.ChannelId.IMPOSSIBLE_FENECON_HOME_COMBINATION
Channel.- Parameters:
value
- the next value
-