# Another Strange DESS behaviour

**URL:** <https://community.victronenergy.com/t/another-strange-dess-behaviour/36706>\
**Category:** DESS\
**Tags:** domestic, dess, diy\
**Created:** [21 June 2025 13:10 UTC](https://community.victronenergy.com/t/another-strange-dess-behaviour/36706 "2025-06-21T13:10:22Z")\
**Posts on this page:** 1\
**Showing post:** 54

<div class="post-metadata">

**Author:** ![snowwie](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/snowwie/32/32261_2.png) [@snowwie](https://community.victronenergy.com/u/snowwie)\
**Post date:** [10 July 2025 23:38 UTC](https://community.victronenergy.com/t/another-strange-dess-behaviour/36706/54 "2025-07-10T23:38:58Z")

</div>

And I have been following this thread, pondering how to combine trade mode & green mode.

I “think” trade mode is right when it draws energy from the grid at night when there is not much energy being used. Efficiency at low power is very bad. I draw ~1kWh between 00:00 and 08:00.  
But on the other hand ESS thinks my consumption is 0 between 23:00 and 02:00, only setting strategy=1 after 03:00.

I like 0 grid usage and, like UpCycleElectric (kudos 🙂 ), I feel this needs a fix.

First I feel the rounding is a bit off. When I enable the node-red (or VRM) trade-mode ESS, the target SOC is always off from current SOC, between 1 and 0.1%. This results in a forced discharge on high SOC, and a forced charge on low SOC.

Second ([and this has been asked before](https://community.victronenergy.com/t/dynamic-ess-add-soc-level-below-which-not-to-sell-energy-to-grid-but-only-support-ac-loads/353)) both Trade and Green-mode discharge until minimum SOC. We could use a “trade until” SOC after which the system could switch to green-mode for self consumption.

For the first one I made a workaround in the node-red ESS flow on the cerbo:

Add a SOC node and a solar production node to the ESS pane:

 ![image](https://europe1.discourse-cdn.com/victron/original/3X/c/e/ce8f1de51eb65ec17858d89a3ac355c4ef470fd0.png)

And edit the “Split schedule 0 node” adding this in between the `node.status...` and `return ..`  
Effectively telling ESS when the SOC change is less then 1%: just use green mode, unless there is enough solarpower to cover your needs (250W in this case).

At night it will run green-mode but during the day it will still feed in exess solar.  
(I am actually testing this right now so it might receive updates.)

```auto
var battery_soc = flow.get("battery_soc");
var solar_power = flow.get("solar_power");

if (solar_power < 250) {
    if (msg.soc > battery_soc - 1.0) {
        if (msg.soc <= battery_soc + 1.0) {
            msg.strategy = 1;
        }    
    }
}

```

 ![image](https://europe1.discourse-cdn.com/victron/original/3X/c/4/c4096143b0a80ed914ebf1e4ed4a9d8c6332923b.png)

For the second one I like Jan’s solution of increasing minimum SOC in the morning and lowering it again in the evening but I did not add it to my flow just yet.

Keep up the good work everyone!

---

_[View the full topic](https://community.victronenergy.com/t/another-strange-dess-behaviour/36706)._
