Problem Getting SetActivePower for ESS Cluster

Hi,

We have been using ManagedSymmetricEss for our storage systems. Now to combine multiple ESS, we have implemented ESSCluster. The power is divided among them all by the PID controller.
Now to set the power remotely, we are having trouble.
I have followed this https://community.openems.io/t/ess-that-can-talk-with-openems-using-modbus-tcp/1029/4 very useful guide and similar ones but unable to get it done.

I am connected to the edge via backend and can successfully get EdgeConfig etc.But when I try setActivePower like this:

{
“method”: “edgeRpc”,
“params”: {
“edgeId”: “edge1”,
“payload”: {
“method”: “updateComponentConfig”,
“params”: {
“componentId”: “ess0”,
“properties”: [{
“name”: “SetActivePower”,
“value”: 4000
}]
}
}
}
}

I get something like this in the console:

image

P.S: By following the above mentioned guide, I have added the setActivePower channel and called it in applyPower(activePower, reactivePower) function:

Thanks in advance!

Regards
Abdullah

Hi Abdullah,

This doesn’t work because SetActivePower is a Channel of ess0, but the updateComponentConfig-Request updates a configuration property of the component, and the property “SetActivePower” does not exist.
Instead, you can use a setChannelValue-Request like that:

{
“method”: “edgeRpc”,
“params”: {
    “edgeId”: “edge1”,
    “payload”: {
        “method”: “setChannelValue”,
        “params”: {
            “componentId”: “ess0”,
            “channelId”: “SetActivePowerEquals”,
            “value”: 4000
            }
        }
    }
}

The channels you created are not needed if ess0 is an ess-cluster, because as you correctly mention, this is handled by the Ess-Power object.

1 Like

Thank you very much!
It solved the issue.