Class EssGenericManagedSymmetricImpl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.ess.generic.common.AbstractGenericManagedEss<EssGenericManagedSymmetric,Battery,ManagedSymmetricBatteryInverter>
io.openems.edge.ess.generic.symmetric.EssGenericManagedSymmetricImpl
- All Implemented Interfaces:
OpenemsComponent
,ModbusSlave
,StartStoppable
,HybridEss
,ManagedSymmetricEss
,SymmetricEss
,GenericManagedEss
,EssGenericManagedSymmetric
,org.osgi.service.event.EventHandler
public class EssGenericManagedSymmetricImpl
extends AbstractGenericManagedEss<EssGenericManagedSymmetric,Battery,ManagedSymmetricBatteryInverter>
implements EssGenericManagedSymmetric, GenericManagedEss, ManagedSymmetricEss, HybridEss, SymmetricEss, OpenemsComponent, org.osgi.service.event.EventHandler, StartStoppable, ModbusSlave
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.ess.generic.symmetric.EssGenericManagedSymmetric
EssGenericManagedSymmetric.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.ess.generic.common.GenericManagedEss
GenericManagedEss.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.ess.api.HybridEss
HybridEss.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.ess.api.ManagedSymmetricEss
ManagedSymmetricEss.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
Nested classes/interfaces inherited from interface io.openems.edge.ess.api.SymmetricEss
SymmetricEss.ChannelId
-
Field Summary
Fields inherited from class io.openems.edge.ess.generic.common.AbstractGenericManagedEss
startStopTarget
Fields inherited from interface io.openems.edge.ess.generic.common.GenericManagedEss
EFFICIENCY_FACTOR, RETRY_COMMAND_MAX_ATTEMPTS, RETRY_COMMAND_SECONDS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.debugLog()
Gets some output that is suitable for a continuous Debug log.protected Battery
protected ManagedSymmetricBatteryInverter
protected ChannelManager
Helper wrapping class to handle everything related to Channels.protected ComponentManager
getPower()
Gets an instance of the 'Power' class, which allows to set limitations to Active and Reactive Power.Gets the Surplus Power of theEssDcCharger
s of thisHybridEss
.void
handleEvent
(org.osgi.service.event.Event event) protected void
Handles the State-Machine.boolean
Gets a boolean if the ess is managed or not.void
setStartStop
(StartStop value) Starts or stops the device or service represented by this OpenEMS Component.Methods inherited from class io.openems.edge.ess.generic.common.AbstractGenericManagedEss
activate, activate, applyPower, genericDebugLog, getModbusSlaveTable, getPowerPrecision, getStartStopTarget, getStaticConstraints
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.ess.generic.symmetric.EssGenericManagedSymmetric
getModbusSlaveTable
Methods inherited from interface io.openems.edge.ess.generic.common.GenericManagedEss
_setMaxBatteryInverterStartAttemptsFault, _setMaxBatteryInverterStopAttemptsFault, _setMaxBatteryStartAttemptsFault, _setMaxBatteryStopAttemptsFault, getMaxBatteryInverterStartAttemptsFault, getMaxBatteryInverterStartAttemptsFaultChannel, getMaxBatteryInverterStopAttemptsFault, getMaxBatteryInverterStopAttemptsFaultChannel, getMaxBatteryStartAttemptsFault, getMaxBatteryStartAttemptsFaultChannel, getMaxBatteryStopAttemptsFault, getMaxBatteryStopAttemptsFaultChannel, getStartStopTarget
Methods inherited from interface io.openems.edge.ess.api.HybridEss
_setDcChargeEnergy, _setDcChargeEnergy, _setDcDischargeEnergy, _setDcDischargeEnergy, _setDcDischargePower, getDcChargeEnergy, getDcChargeEnergyChannel, getDcDischargeEnergy, getDcDischargeEnergyChannel, getDcDischargePower, getDcDischargePowerChannel
Methods inherited from interface io.openems.edge.ess.api.ManagedSymmetricEss
_setAllowedChargePower, _setAllowedChargePower, _setAllowedDischargePower, _setAllowedDischargePower, _setApplyPowerFailed, _setDebugSetActivePower, _setDebugSetActivePower, _setDebugSetReactivePower, _setDebugSetReactivePower, addPowerConstraint, addPowerConstraintAndValidate, applyPower, createPowerConstraint, getAllowedChargePower, getAllowedChargePowerChannel, getAllowedDischargePower, getAllowedDischargePowerChannel, getApplyPowerFailed, getApplyPowerFailedChannel, getDebugSetActivePower, getDebugSetActivePowerChannel, getDebugSetReactivePower, getDebugSetReactivePowerChannel, getPowerPrecision, getSetActivePowerEqualsChannel, getSetActivePowerEqualsWithPidChannel, getSetActivePowerGreaterOrEqualsChannel, getSetActivePowerLessOrEqualsChannel, getSetReactivePowerEqualsChannel, getSetReactivePowerGreaterOrEqualsChannel, getSetReactivePowerLessOrEqualsChannel, getStaticConstraints, setActivePowerEquals, setActivePowerEqualsWithPid, setActivePowerGreaterOrEquals, setActivePowerLessOrEquals, setReactivePowerEquals, setReactivePowerGreaterOrEquals, setReactivePowerLessOrEquals
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
Methods inherited from interface io.openems.edge.common.startstop.StartStoppable
_setStartStop, getStartStop, getStartStopChannel, isStarted, isStopped, start, stop
Methods inherited from interface io.openems.edge.ess.api.SymmetricEss
_setActiveChargeEnergy, _setActiveChargeEnergy, _setActiveDischargeEnergy, _setActiveDischargeEnergy, _setActivePower, _setActivePower, _setCapacity, _setCapacity, _setGridMode, _setMaxApparentPower, _setMaxApparentPower, _setMaxCellTemperature, _setMaxCellTemperature, _setMaxCellVoltage, _setMaxCellVoltage, _setMinCellTemperature, _setMinCellTemperature, _setMinCellVoltage, _setMinCellVoltage, _setReactivePower, _setReactivePower, _setSoc, _setSoc, getActiveChargeEnergy, getActiveChargeEnergyChannel, getActiveDischargeEnergy, getActiveDischargeEnergyChannel, getActivePower, getActivePowerChannel, getCapacity, getCapacityChannel, getGridMode, getGridModeChannel, getMaxApparentPower, getMaxApparentPowerChannel, getMaxCellTemperature, getMaxCellTemperatureChannel, getMaxCellVoltage, getMaxCellVoltageChannel, getMinCellTemperature, getMinCellTemperatureChannel, getMinCellVoltage, getMinCellVoltageChannel, getReactivePower, getReactivePowerChannel, getSoc, getSocChannel
-
Constructor Details
-
EssGenericManagedSymmetricImpl
public EssGenericManagedSymmetricImpl()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
handleStateMachine
protected void handleStateMachine()Description copied from class:AbstractGenericManagedEss
Handles the State-Machine.- Specified by:
handleStateMachine
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
handleEvent
public void handleEvent(org.osgi.service.event.Event event) - Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
- Overrides:
handleEvent
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
debugLog
Description copied from interface:OpenemsComponent
Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.- Specified by:
debugLog
in interfaceOpenemsComponent
- Returns:
- the debug log output
-
getPower
Description copied from interface:ManagedSymmetricEss
Gets an instance of the 'Power' class, which allows to set limitations to Active and Reactive Power.- Specified by:
getPower
in interfaceManagedSymmetricEss
- Returns:
- the Power instance
-
getChannelManager
Description copied from class:AbstractGenericManagedEss
Helper wrapping class to handle everything related to Channels.- Specified by:
getChannelManager
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter> - Returns:
- the
ChannelManager
-
getBattery
- Specified by:
getBattery
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
getBatteryInverter
- Specified by:
getBatteryInverter
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
getSurplusPower
Description copied from interface:HybridEss
Gets the Surplus Power of theEssDcCharger
s of thisHybridEss
.This value is usually calculated from the
EssDcCharger.getActualPower()
when the battery is full. It is used by the Ess.Hybrid.Surplus-Feed-To-Grid Controller to feed the surplus power to grid.- Specified by:
getSurplusPower
in interfaceHybridEss
- Overrides:
getSurplusPower
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter> - Returns:
- the surplus power, or 'null' if there is no surplus power
-
getComponentManager
- Specified by:
getComponentManager
in classAbstractGenericManagedEss<EssGenericManagedSymmetric,
Battery, ManagedSymmetricBatteryInverter>
-
isManaged
public boolean isManaged()Description copied from interface:ManagedSymmetricEss
Gets a boolean if the ess is managed or not.Returns false if the ess itself is not managed or in a read only mode.
- Specified by:
isManaged
in interfaceManagedSymmetricEss
- Returns:
- is managed or not
-
setStartStop
Description copied from interface:StartStoppable
Starts or stops the device or service represented by this OpenEMS Component.- Specified by:
setStartStop
in interfaceStartStoppable
- Parameters:
value
- targetStartStop
state
-