Class ControllerEssPrepareBatteryExtensionImpl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.controller.ess.fixstateofcharge.api.AbstractFixStateOfCharge
io.openems.edge.controller.ess.fixstateofcharge.ControllerEssPrepareBatteryExtensionImpl
- All Implemented Interfaces:
OpenemsComponent
,Controller
,FixStateOfCharge
public class ControllerEssPrepareBatteryExtensionImpl
extends AbstractFixStateOfCharge
implements FixStateOfCharge, Controller, OpenemsComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.controller.api.Controller
Controller.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.controller.ess.fixstateofcharge.api.FixStateOfCharge
FixStateOfCharge.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Field Summary
Fields inherited from class io.openems.edge.controller.ess.fixstateofcharge.api.AbstractFixStateOfCharge
BOUNDARIES_POWER_FACTOR, DEFAULT_DEAD_BAND_SOC_DIFFERENCE, DEFAULT_POWER_FACTOR, DEFAULT_TARGET_SOC_BOUNDARIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.Get theComponentManager
reference.org.osgi.service.cm.ConfigurationAdmin
Get theConfigurationAdmin
reference.getEss()
Get theManagedSymmetricEss
reference.getSum()
Get theSum
reference.Get theTimedata
reference.void
run()
Executes the Controller logic.Methods inherited from class io.openems.edge.controller.ess.fixstateofcharge.api.AbstractFixStateOfCharge
activate, activate, calculateRequiredTime, calculateTargetPower, getLastValidValue, getLastValidValue, modified, resetController
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, addChannel, addChannels, addChannels, alias, channels, 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.controller.api.Controller
_setRunFailed, getRunFailed, getRunFailedChannel
Methods inherited from interface io.openems.edge.controller.ess.fixstateofcharge.api.FixStateOfCharge
_setAtTargetEpochSeconds, _setAtTargetEpochSeconds, _setCtrlIsBlockingEss, _setCtrlIsChargingEss, _setCtrlIsDischargingEss, _setCtrlWasSelfTerminated, _setDebugRampPower, _setDebugRampPower, _setDebugSetActivePower, _setDebugSetActivePower, _setDebugSetActivePowerRaw, _setDebugSetActivePowerRaw, _setEssCapacity, _setEssCapacity, _setExpectedStartEpochSeconds, _setExpectedStartEpochSeconds, _setStateMachine, getAtTargetEpochSeconds, getAtTargetEpochSecondsChannel, getCtrlIsBlockingEss, getCtrlIsBlockingEssChannel, getCtrlIsChargingEss, getCtrlIsChargingEssChannel, getCtrlIsDischargingEss, getCtrlIsDischargingEssChannel, getCtrlWasSelfTerminated, getCtrlWasSelfTerminatedChannel, getDebugRampPower, getDebugRampPowerChannel, getDebugSetActivePower, getDebugSetActivePowerChannel, getDebugSetActivePowerRaw, getDebugSetActivePowerRawChannel, getEssCapacity, getEssCapacityChannel, getExpectedStartEpochSeconds, getExpectedStartEpochSecondsChannel, getStateMachine, getStateMachineChannel
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
-
Constructor Details
-
ControllerEssPrepareBatteryExtensionImpl
public ControllerEssPrepareBatteryExtensionImpl()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractFixStateOfCharge
-
run
Description copied from interface:Controller
Executes the Controller logic.- Specified by:
run
in interfaceController
- Overrides:
run
in classAbstractFixStateOfCharge
- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getComponentManager
Description copied from class:AbstractFixStateOfCharge
Get theComponentManager
reference.- Specified by:
getComponentManager
in classAbstractFixStateOfCharge
- Returns:
- Current
ComponentManager
-
getSum
Description copied from class:AbstractFixStateOfCharge
Get theSum
reference.- Specified by:
getSum
in classAbstractFixStateOfCharge
- Returns:
- Current
Sum
-
getEss
Description copied from class:AbstractFixStateOfCharge
Get theManagedSymmetricEss
reference.- Specified by:
getEss
in classAbstractFixStateOfCharge
- Returns:
- Current
ManagedSymmetricEss
-
getTimedata
Description copied from class:AbstractFixStateOfCharge
Get theTimedata
reference.- Specified by:
getTimedata
in classAbstractFixStateOfCharge
- Returns:
- Current
Timedata
-
getConfigurationAdmin
public org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()Description copied from class:AbstractFixStateOfCharge
Get theConfigurationAdmin
reference.- Specified by:
getConfigurationAdmin
in classAbstractFixStateOfCharge
- Returns:
- Current
ConfigurationAdmin
-