Package io.openems.edge.goodwe.common
Interface GoodWe
-
- All Superinterfaces:
OpenemsComponent
- All Known Subinterfaces:
GoodWeBatteryInverter
,GoodWeEss
- All Known Implementing Classes:
AbstractGoodWe
,GoodWeBatteryInverterImpl
,GoodWeEssImpl
public interface GoodWe extends OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GoodWe.ChannelId
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
_setBmsChargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
Channel.default void
_setBmsChargeMaxVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
Channel.default void
_setBmsDischargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
Channel.default void
_setBmsDischargeMinVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
Channel.default void
_setMaxAcExport(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_EXPORT
Channel.default void
_setMaxAcImport(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_IMPORT
Channel.void
addCharger(AbstractGoodWeEtCharger charger)
Registers a GoodWe Charger.default Value<java.lang.Integer>
getBmsChargeMaxCurrent()
Gets the BMS Charge-Max-Current in [A].default IntegerWriteChannel
getBmsChargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.default Value<java.lang.Integer>
getBmsChargeMaxVoltage()
Gets the BMS Charge-Max-Voltage in [V].default IntegerWriteChannel
getBmsChargeMaxVoltageChannel()
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.default Value<java.lang.Integer>
getBmsDischargeMaxCurrent()
Gets the BMS Discharge-Max-Current in [A].default IntegerWriteChannel
getBmsDischargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.default Value<java.lang.Integer>
getBmsDischargeMinVoltage()
Gets the BMS Discharge-Min-Voltage in [V].default IntegerWriteChannel
getBmsDischargeMinVoltageChannel()
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.default GoodweType
getGoodweType()
Gets the Device Type.default Channel<GoodweType>
getGoodweTypeChannel()
Gets the Channel forGoodWe.ChannelId.GOODWE_TYPE
.default Value<java.lang.Integer>
getMaxAcExport()
Gets the Max AC-Export Power in [W].default IntegerReadChannel
getMaxAcExportChannel()
Gets the Channel forGoodWe.ChannelId.MAX_AC_EXPORT
.default Value<java.lang.Integer>
getMaxAcImport()
Gets the Max AC-Import Power in [W].default IntegerReadChannel
getMaxAcImportChannel()
Gets the Channel forGoodWe.ChannelId.MAX_AC_IMPORT
.default Value<java.lang.Integer>
getWbmsChargeMaxCurrent()
Gets the Wbms Charge Max Current in [A].default IntegerReadChannel
getWbmsChargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.default Value<java.lang.Integer>
getWbmsDischargeMaxCurrent()
Gets the Wbms Discharge Max Current in [A].default IntegerReadChannel
getWbmsDischargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.default Value<java.lang.Integer>
getWbmsVoltage()
Gets the Wbms voltage in [V].default IntegerReadChannel
getWbmsVoltageChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_VOLTAGE
.void
removeCharger(AbstractGoodWeEtCharger charger)
Unregisters a GoodWe Charger.default void
setBmsChargeMaxCurrent(java.lang.Integer value)
Gets the BMS Charge-Max-Current in [A].default void
setBmsChargeMaxVoltage(java.lang.Integer value)
Gets the BMS Charge-Max-Voltage in [V].default void
setBmsDischargeMaxCurrent(java.lang.Integer value)
Gets the BMS Discharge-Max-Current in [A].default void
setBmsDischargeMinVoltage(java.lang.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 Detail
-
addCharger
void addCharger(AbstractGoodWeEtCharger charger)
Registers a GoodWe Charger.- Parameters:
charger
- eitherGoodWeEtCharger1
orGoodWeEtCharger2
-
removeCharger
void removeCharger(AbstractGoodWeEtCharger charger)
Unregisters a GoodWe Charger.- Parameters:
charger
- eitherGoodWeEtCharger1
orGoodWeEtCharger2
-
getGoodweTypeChannel
default Channel<GoodweType> getGoodweTypeChannel()
Gets the Channel forGoodWe.ChannelId.GOODWE_TYPE
.- Returns:
- the Channel
-
getGoodweType
default GoodweType getGoodweType()
Gets the Device Type. SeeGoodWe.ChannelId.GOODWE_TYPE
.- Returns:
- the Channel
Value
-
getBmsChargeMaxCurrentChannel
default IntegerWriteChannel getBmsChargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getBmsChargeMaxCurrent
default Value<java.lang.Integer> getBmsChargeMaxCurrent()
Gets the BMS Charge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
_setBmsChargeMaxCurrent
default void _setBmsChargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_CURRENT
Channel.- Parameters:
value
- the next value
-
setBmsChargeMaxCurrent
default void setBmsChargeMaxCurrent(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
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
default IntegerWriteChannel getBmsDischargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getBmsDischargeMaxCurrent
default Value<java.lang.Integer> getBmsDischargeMaxCurrent()
Gets the BMS Discharge-Max-Current in [A]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
_setBmsDischargeMaxCurrent
default void _setBmsDischargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MAX_CURRENT
Channel.- Parameters:
value
- the next value
-
setBmsDischargeMaxCurrent
default void setBmsDischargeMaxCurrent(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
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
default IntegerWriteChannel getBmsChargeMaxVoltageChannel()
Gets the Channel forGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.- Returns:
- the Channel
-
getBmsChargeMaxVoltage
default Value<java.lang.Integer> getBmsChargeMaxVoltage()
Gets the BMS Charge-Max-Voltage in [V]. SeeGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
.- Returns:
- the Channel
Value
-
_setBmsChargeMaxVoltage
default void _setBmsChargeMaxVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_CHARGE_MAX_VOLTAGE
Channel.- Parameters:
value
- the next value
-
setBmsChargeMaxVoltage
default void setBmsChargeMaxVoltage(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
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
default IntegerWriteChannel getBmsDischargeMinVoltageChannel()
Gets the Channel forGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.- Returns:
- the Channel
-
getBmsDischargeMinVoltage
default Value<java.lang.Integer> getBmsDischargeMinVoltage()
Gets the BMS Discharge-Min-Voltage in [V]. SeeGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
.- Returns:
- the Channel
Value
-
_setBmsDischargeMinVoltage
default void _setBmsDischargeMinVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.BMS_DISCHARGE_MIN_VOLTAGE
Channel.- Parameters:
value
- the next value
-
setBmsDischargeMinVoltage
default void setBmsDischargeMinVoltage(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
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
default IntegerReadChannel getWbmsChargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getWbmsChargeMaxCurrent
default Value<java.lang.Integer> getWbmsChargeMaxCurrent()
Gets the Wbms Charge Max Current in [A]. SeeGoodWe.ChannelId.WBMS_CHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
getWbmsDischargeMaxCurrentChannel
default IntegerReadChannel getWbmsDischargeMaxCurrentChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
-
getWbmsDischargeMaxCurrent
default Value<java.lang.Integer> getWbmsDischargeMaxCurrent()
Gets the Wbms Discharge Max Current in [A]. SeeGoodWe.ChannelId.WBMS_DISCHARGE_MAX_CURRENT
.- Returns:
- the Channel
Value
-
getWbmsVoltageChannel
default IntegerReadChannel getWbmsVoltageChannel()
Gets the Channel forGoodWe.ChannelId.WBMS_VOLTAGE
.- Returns:
- the Channel
-
getWbmsVoltage
default Value<java.lang.Integer> getWbmsVoltage()
Gets the Wbms voltage in [V]. SeeGoodWe.ChannelId.WBMS_VOLTAGE
.- Returns:
- the Channel
Value
-
getMaxAcExportChannel
default IntegerReadChannel getMaxAcExportChannel()
Gets the Channel forGoodWe.ChannelId.MAX_AC_EXPORT
.- Returns:
- the Channel
-
getMaxAcExport
default Value<java.lang.Integer> getMaxAcExport()
Gets the Max AC-Export Power in [W]. Positive Values. SeeGoodWe.ChannelId.MAX_AC_EXPORT
.- Returns:
- the Channel
Value
-
_setMaxAcExport
default void _setMaxAcExport(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_EXPORT
Channel.- Parameters:
value
- the next value
-
getMaxAcImportChannel
default IntegerReadChannel getMaxAcImportChannel()
Gets the Channel forGoodWe.ChannelId.MAX_AC_IMPORT
.- Returns:
- the Channel
-
getMaxAcImport
default Value<java.lang.Integer> getMaxAcImport()
Gets the Max AC-Import Power in [W]. Negative Values. SeeGoodWe.ChannelId.MAX_AC_IMPORT
.- Returns:
- the Channel
Value
-
_setMaxAcImport
default void _setMaxAcImport(java.lang.Integer value)
Internal method to set the 'nextValue' onGoodWe.ChannelId.MAX_AC_IMPORT
Channel.- Parameters:
value
- the next value
-
-