Interface OffGridBatteryInverter
- All Superinterfaces:
ManagedSymmetricBatteryInverter
,OpenemsComponent
,StartStoppable
,SymmetricBatteryInverter
- All Known Subinterfaces:
BatteryInverterSinexcel
- All Known Implementing Classes:
BatteryInverterSinexcelImpl
,DummyOffGridBatteryInverter
@ProviderType
public interface OffGridBatteryInverter
extends ManagedSymmetricBatteryInverter, SymmetricBatteryInverter, StartStoppable, OpenemsComponent
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Field Summary
Fields inherited from interface io.openems.edge.batteryinverter.api.SymmetricBatteryInverter
POWER_DOC_TEXT
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setInverterState
(Boolean value) Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.INVERTER_STATE
Channel.default void
_setOffGridFrequency
(int value) Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
Channel.default void
_setOffGridFrequency
(Integer value) Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
Channel.Gets theStateChannel
forOffGridBatteryInverter.ChannelId.INVERTER_STATE
.default BooleanReadChannel
Gets the Channel forOffGridBatteryInverter.ChannelId.INVERTER_STATE
.default IntegerReadChannel
Gets the Channel forinvalid reference
ChannelId#FREQUENCY
default IntegerWriteChannel
Gets the Channel forOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
.void
setTargetGridMode
(OffGridBatteryInverter.TargetGridMode targetGridMode) Tells the Battery-Inverter to go to ON_GRID or OFF_GRID mode.default void
setTargetOffGridFrequency
(Integer value) Sets an Off Grid Frequency set point in [Hz].Methods inherited from interface io.openems.edge.batteryinverter.api.ManagedSymmetricBatteryInverter
getPowerPrecision, getStaticConstraints, isManaged, isOffGridPossible, run
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
Methods inherited from interface io.openems.edge.common.startstop.StartStoppable
_setStartStop, getStartStop, getStartStopChannel, isStarted, isStopped, setStartStop, start, stop
Methods inherited from interface io.openems.edge.batteryinverter.api.SymmetricBatteryInverter
_setActiveChargeEnergy, _setActiveChargeEnergy, _setActiveDischargeEnergy, _setActiveDischargeEnergy, _setActivePower, _setActivePower, _setGridMode, _setMaxApparentPower, _setMaxApparentPower, _setReactivePower, _setReactivePower, getActiveChargeEnergy, getActiveChargeEnergyChannel, getActiveDischargeEnergy, getActiveDischargeEnergyChannel, getActivePower, getActivePowerChannel, getGridMode, getGridModeChannel, getMaxApparentPower, getMaxApparentPowerChannel, getReactivePower, getReactivePowerChannel
-
Method Details
-
getOffGridFrequencyChannel
Gets the Channel forinvalid reference
ChannelId#FREQUENCY
- Returns:
- the Channel
-
getOffGridFrequency
- Returns:
- the Channel
Value
-
_setOffGridFrequency
Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
Channel.- Parameters:
value
- the next value
-
_setOffGridFrequency
default void _setOffGridFrequency(int value) Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
Channel.- Parameters:
value
- the next value
-
getSetOffGridFrequencyChannel
Gets the Channel forOffGridBatteryInverter.ChannelId.OFF_GRID_FREQUENCY
.- Returns:
- the Channel
-
setTargetOffGridFrequency
Sets an Off Grid Frequency set point in [Hz]. Seeinvalid reference
ChannelId#SET_ACTIVE_POWER_EQUALS
- Parameters:
value
- the next write value- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getInverterStateChannel
Gets the Channel forOffGridBatteryInverter.ChannelId.INVERTER_STATE
.- Returns:
- the Channel
-
getInverterState
Gets theStateChannel
forOffGridBatteryInverter.ChannelId.INVERTER_STATE
.- Returns:
- the Channel
Value
-
_setInverterState
Internal method to set the 'nextValue' onOffGridBatteryInverter.ChannelId.INVERTER_STATE
Channel.- Parameters:
value
- the next value
-
setTargetGridMode
Tells the Battery-Inverter to go to ON_GRID or OFF_GRID mode. Be sure to call this method before you callStartStoppable.start()
.- Parameters:
targetGridMode
- theOffGridBatteryInverter.TargetGridMode
-