Package io.openems.edge.battery.test
Class DummyBattery
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.common.test.AbstractDummyOpenemsComponent<DummyBattery>
io.openems.edge.battery.test.AbstractDummyBattery<DummyBattery>
io.openems.edge.battery.test.DummyBattery
- All Implemented Interfaces:
Battery
,OpenemsComponent
,StartStoppable
public class DummyBattery
extends AbstractDummyBattery<DummyBattery>
implements Battery, OpenemsComponent, StartStoppable
Provides a simple, simulated
Battery
component that can be used
together with the OpenEMS Component test framework.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.battery.api.Battery
Battery.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.startstop.StartStoppable
StartStoppable.ChannelId
-
Constructor Summary
-
Method Summary
Methods inherited from class io.openems.edge.battery.test.AbstractDummyBattery
setStartStop, withCapacity, withChargeMaxCurrent, withChargeMaxVoltage, withCurrent, withDischargeMaxCurrent, withDischargeMinVoltage, withMaxCellTemperature, withMaxCellVoltage, withMinCellTemperature, withMinCellVoltage, withSoc, withSoh, withStartStop, withVoltage
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, deactivate, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.battery.api.Battery
_setCapacity, _setCapacity, _setChargeMaxCurrent, _setChargeMaxCurrent, _setChargeMaxVoltage, _setChargeMaxVoltage, _setCurrent, _setCurrent, _setDischargeMaxCurrent, _setDischargeMaxCurrent, _setDischargeMinVoltage, _setDischargeMinVoltage, _setMaxCellTemperature, _setMaxCellTemperature, _setMaxCellVoltage, _setMaxCellVoltage, _setMinCellTemperature, _setMinCellTemperature, _setMinCellVoltage, _setMinCellVoltage, _setSoc, _setSoc, _setSoh, _setSoh, _setVoltage, _setVoltage, getCapacity, getCapacityChannel, getChargeMaxCurrent, getChargeMaxCurrentChannel, getChargeMaxVoltage, getChargeMaxVoltageChannel, getCurrent, getCurrentChannel, getDischargeMaxCurrent, getDischargeMaxCurrentChannel, getDischargeMinVoltage, getDischargeMinVoltageChannel, getMaxCellTemperature, getMaxCellTemperatureChannel, getMaxCellVoltage, getMaxCellVoltageChannel, getMinCellTemperature, getMinCellTemperatureChannel, getMinCellVoltage, getMinCellVoltageChannel, getSoc, getSocChannel, getSoh, getSohChannel, getVoltage, getVoltageChannel
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
-
Constructor Details
-
DummyBattery
-
-
Method Details
-
self
- Specified by:
self
in classAbstractDummyOpenemsComponent<DummyBattery>
-