@ProviderType public interface ManagedSymmetricEss extends SymmetricEss
Modifier and Type | Interface and Description |
---|---|
static class |
ManagedSymmetricEss.ChannelId |
POWER_DOC_TEXT
Modifier and Type | Method and Description |
---|---|
default void |
_setAllowedChargePower(int value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER Channel. |
default void |
_setAllowedChargePower(java.lang.Integer value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER Channel. |
default void |
_setAllowedDischargePower(int value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER Channel. |
default void |
_setAllowedDischargePower(java.lang.Integer value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER Channel. |
default void |
_setApplyPowerFailed(boolean value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.APPLY_POWER_FAILED Channel. |
default void |
_setDebugSetActivePower(int value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER Channel. |
default void |
_setDebugSetActivePower(java.lang.Integer value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER Channel. |
default void |
_setDebugSetReactivePower(int value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER Channel. |
default void |
_setDebugSetReactivePower(java.lang.Integer value)
Internal method to set the 'nextValue' on
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER Channel. |
default Constraint |
addPowerConstraint(java.lang.String description,
Phase phase,
Pwr pwr,
Relationship relationship,
double value)
Adds a Power Constraint for the current Cycle.
|
default Constraint |
addPowerConstraintAndValidate(java.lang.String description,
Phase phase,
Pwr pwr,
Relationship relationship,
double value)
Adds a Power Constraint for the current Cycle.
|
void |
applyPower(int activePower,
int reactivePower)
Apply the calculated Power.
|
default Constraint |
createPowerConstraint(java.lang.String description,
Phase phase,
Pwr pwr,
Relationship relationship,
double value)
Creates a Power Constraint.
|
default Value<java.lang.Integer> |
getAllowedChargePower()
Gets the Allowed Charge Power in [W], range "<= 0".
|
default IntegerReadChannel |
getAllowedChargePowerChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER . |
default Value<java.lang.Integer> |
getAllowedDischargePower()
Gets the Allowed Discharge Power in [W], range "<= 0".
|
default IntegerReadChannel |
getAllowedDischargePowerChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER . |
default Value<java.lang.Boolean> |
getApplyPowerFailed()
Gets the Apply Power Failed State.
|
default StateChannel |
getApplyPowerFailedChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.APPLY_POWER_FAILED . |
default Value<java.lang.Integer> |
getDebugSetActivePower()
Gets the last Active Power setpoint in [W].
|
default IntegerReadChannel |
getDebugSetActivePowerChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER . |
default Value<java.lang.Integer> |
getDebugSetReactivePower()
Gets the last Reactive Power setpoint in [var].
|
default IntegerReadChannel |
getDebugSetReactivePowerChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER . |
static ModbusSlaveNatureTable |
getModbusSlaveNatureTable(AccessMode accessMode)
Used for Modbus/TCP Api Controller.
|
Power |
getPower()
Gets an instance of the 'Power' class, which allows to set limitations to
Active and Reactive Power.
|
int |
getPowerPrecision()
Gets the smallest positive power that can be set (in W, VA or var).
|
default IntegerWriteChannel |
getSetActivePowerEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS . |
default IntegerWriteChannel |
getSetActivePowerEqualsWithPidChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS_WITH_PID . |
default IntegerWriteChannel |
getSetActivePowerGreaterOrEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_GREATER_OR_EQUALS . |
default IntegerWriteChannel |
getSetActivePowerLessOrEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_LESS_OR_EQUALS . |
default IntegerWriteChannel |
getSetReactivePowerEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_EQUALS . |
default IntegerWriteChannel |
getSetReactivePowerGreaterOrEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_GREATER_OR_EQUALS . |
default IntegerWriteChannel |
getSetReactivePowerLessOrEqualsChannel()
Gets the Channel for
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_LESS_OR_EQUALS . |
default Constraint[] |
getStaticConstraints()
Gets static Constraints for this Ess.
|
default void |
setActivePowerEquals(java.lang.Integer value)
Sets an Active Power Equals setpoint in [W].
|
default void |
setActivePowerEqualsWithPid(java.lang.Integer value)
Sets an Active Power Equals setpoint in [W] with applied PID filter.
|
default void |
setActivePowerGreaterOrEquals(java.lang.Integer value)
Sets an Active Power Greater Or Equals setpoint in [W].
|
default void |
setActivePowerLessOrEquals(java.lang.Integer value)
Sets an Active Power Less Or Equals setpoint in [W].
|
default void |
setReactivePowerEquals(java.lang.Integer value)
Sets a Reactive Power Equals setpoint in [var].
|
default void |
setReactivePowerGreaterOrEquals(java.lang.Integer value)
Sets a Reactive Power Greater Or Equals setpoint in [var].
|
default void |
setReactivePowerLessOrEquals(java.lang.Integer value)
Sets a Reactive Power Less Or Equals setpoint in [var].
|
_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
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, logDebug, logError, logInfo, logWarn, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
static ModbusSlaveNatureTable getModbusSlaveNatureTable(AccessMode accessMode)
OpenemsComponent
getModbusSlaveNatureTable
in interface OpenemsComponent
getModbusSlaveNatureTable
in interface SymmetricEss
accessMode
- the AccessMode
of the ControllerModbusSlaveNatureTable
Power getPower()
default IntegerReadChannel getAllowedChargePowerChannel()
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER
.default Value<java.lang.Integer> getAllowedChargePower()
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER
.Value
default void _setAllowedChargePower(java.lang.Integer value)
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER
Channel.value
- the next valuedefault void _setAllowedChargePower(int value)
ManagedSymmetricEss.ChannelId.ALLOWED_CHARGE_POWER
Channel.value
- the next valuedefault IntegerReadChannel getAllowedDischargePowerChannel()
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER
.default Value<java.lang.Integer> getAllowedDischargePower()
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER
.Value
default void _setAllowedDischargePower(java.lang.Integer value)
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER
Channel.value
- the next valuedefault void _setAllowedDischargePower(int value)
ManagedSymmetricEss.ChannelId.ALLOWED_DISCHARGE_POWER
Channel.value
- the next valuedefault IntegerWriteChannel getSetActivePowerEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS
.default void setActivePowerEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetActivePowerEqualsWithPidChannel()
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS_WITH_PID
.default void setActivePowerEqualsWithPid(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_EQUALS_WITH_PID
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetReactivePowerEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_EQUALS
.default void setReactivePowerEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetActivePowerLessOrEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_LESS_OR_EQUALS
.default void setActivePowerLessOrEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_LESS_OR_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetActivePowerGreaterOrEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_GREATER_OR_EQUALS
.default void setActivePowerGreaterOrEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_ACTIVE_POWER_GREATER_OR_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetReactivePowerLessOrEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_LESS_OR_EQUALS
.default void setReactivePowerLessOrEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_LESS_OR_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerWriteChannel getSetReactivePowerGreaterOrEqualsChannel()
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_GREATER_OR_EQUALS
.default void setReactivePowerGreaterOrEquals(java.lang.Integer value) throws OpenemsError.OpenemsNamedException
ManagedSymmetricEss.ChannelId.SET_REACTIVE_POWER_GREATER_OR_EQUALS
.value
- the next write valueOpenemsError.OpenemsNamedException
- on errordefault IntegerReadChannel getDebugSetActivePowerChannel()
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER
.default Value<java.lang.Integer> getDebugSetActivePower()
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER
.Value
default void _setDebugSetActivePower(java.lang.Integer value)
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.value
- the next valuedefault void _setDebugSetActivePower(int value)
ManagedSymmetricEss.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.value
- the next valuedefault IntegerReadChannel getDebugSetReactivePowerChannel()
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER
.default Value<java.lang.Integer> getDebugSetReactivePower()
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER
.Value
default void _setDebugSetReactivePower(java.lang.Integer value)
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER
Channel.value
- the next valuedefault void _setDebugSetReactivePower(int value)
ManagedSymmetricEss.ChannelId.DEBUG_SET_REACTIVE_POWER
Channel.value
- the next valuedefault StateChannel getApplyPowerFailedChannel()
ManagedSymmetricEss.ChannelId.APPLY_POWER_FAILED
.default Value<java.lang.Boolean> getApplyPowerFailed()
ManagedSymmetricEss.ChannelId.APPLY_POWER_FAILED
.Value
default void _setApplyPowerFailed(boolean value)
ManagedSymmetricEss.ChannelId.APPLY_POWER_FAILED
Channel.value
- the next valuevoid applyPower(int activePower, int reactivePower) throws OpenemsError.OpenemsNamedException
Careful: do not adjust activePower and reactivePower in this method, e.g.
setting it to zero on error. The purpose of this method is solely to apply
the calculated power to the ESS. If you need to constrain the allowed power,
add Constraints using the getStaticConstraints()
method.
activePower
- the active power in [W]reactivePower
- the reactive power in [var]OpenemsError.OpenemsNamedException
- on error; causes activation of
APPLY_POWER_FAILED StateChannelint getPowerPrecision()
default Constraint[] getStaticConstraints() throws OpenemsError.OpenemsNamedException
OpenemsException
- on errorOpenemsError.OpenemsNamedException
default Constraint createPowerConstraint(java.lang.String description, Phase phase, Pwr pwr, Relationship relationship, double value) throws OpenemsException
description
- a description for the Constraintphase
- the affected power phasepwr
- Active or Reactive powerrelationship
- equals, less-than or greater-thanvalue
- the function valueOpenemsException
- on errordefault Constraint addPowerConstraint(java.lang.String description, Phase phase, Pwr pwr, Relationship relationship, double value) throws OpenemsException
To add a Constraint on every Cycle, use getStaticConstraints()
description
- a description for the Constraintphase
- the affected power phasepwr
- Active or Reactive powerrelationship
- equals, less-than or greater-thanvalue
- the function valueOpenemsException
- on errordefault Constraint addPowerConstraintAndValidate(java.lang.String description, Phase phase, Pwr pwr, Relationship relationship, double value) throws OpenemsException
To add a Constraint on every Cycle, use getStaticConstraints()
description
- a description for the Constraintphase
- the affected power phasepwr
- Active or Reactive powerrelationship
- equals, less-than or greater-thanvalue
- the function valueOpenemsException
- on error