article

Dirk-Jan Faber (Victron Energy) avatar image
Dirk-Jan Faber (Victron Energy) posted

CLOSED - Dynamic ESS on Beta VRM - part 5 (use new topic please)

Update: 20-3-2024: This article has been closed, please use the article "Dynamic ESS on VRM" instead.

Update: 14-3-2024: Venus firmware 3.30~17 got released today, which fixes several bugs that where reported in the comments below:

  • Fix issue where battery was always charging at full speed if grid feed-in is set to not allowed for the installation. Now, as was already the case for all other systems, Dynamic ESS calculates the required charge rate to meet the target SOC at the end of the hour
  • Increase charge rate with 10% to better meet the target SOC. (much better to get there a little earlier rather than not at all)
  • Fix issue where PV is not used for loads when feed-in is disallowed and SOC target is 100%
  • Fix bug where in some case loads were powered from the grid when they could be powered from the battery.
  • And more Dynamic ESS improvements and bug fixes


Check https://community.victronenergy.com/questions/265862/venus-os-v33010-available-for-testing.html for the full changelog.


Welcome to the fifth and possibly final update on the progress of Dynamic ESS on Beta VRM. We anticipate this to be the last update before transitioning from beta VRM to the official release.

All signs indicate that we got the final blocking issues out of the way.

The first being the potential of tripping fuses when there were too many high loads in the system (with the BMS being one of them). This has been resolved by adding peak shaving for ESS systems with an energy meter. This allows you to set an input current as well as an export current for systems having an energy meter. The limit is applied to the whole system. You can read more about this functionality in highlight 1 in the release notes of Venus firmware V3.30~11.

Another improvement in this version is to stop using the grid when the forecast does not match the consumption. This has been resolved by adding a strategy to each schedule, allowing the system to manage these discrepancies more effectively.

Additionally, this version also introduces support for different currencies.

To ensure thorough testing and validation, we will keep it in beta for a brief additional period. Please note that, for these solutions to be effective, it’s necessary to run the latest beta feed of the Venus firmware, currently version v3.30~11, installable via Settings -> Firmware -> Online updates -> Update feed -> Beta release, check for updates, and update.

After go-live, we will continue to improve the system. Some enhancements currently in progress are:

  • Maximizing battery charge by the end of the day to cover consumption until sunrise.
  • Periodically fully charge the battery to allow balancing
  • Adding support for varying service fees based on the time of day
  • Allowing users to enter a fixed schedule for grid-battery restrictions
  • Supporting fixed prices that change on the half-hour instead of the whole hour
  • Introducing (smart) support for high-consumption loads such as EV charging and heat pumps

In case you are unfamiliar with Dynamic ESS: Dynamic ESS is an algorithm that aims to minimise the costs made on the grid and battery. Please check the four previous posts on the subject for further information.

You can get started with it on beta-VRM via Settings → Dynamic ESS. For more information on how to set this up, you can check out the manual.

Note that Dynamic ESS applies mostly to countries in Europe that work with so-called “day ahead pricing”. For fixed priced contracts, the VRM version can also be used outside Europe.

For those unfamiliar with beta VRM, you can log in through this link. Additionally, a webinar on this subject was conducted on September 26th, and the recording is available on our YouTube tech channel: YouTube link.

As always, we appreciate your feedback. Feel free to let us know how to improve, and thank you for being part of the development journey. To streamline communication, older posts are closed for comments, and any new feedback can be provided in this post.

When reporting a possible issue, please also mention your VRM id.

ESSdynamic essbeta
146 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

john245 avatar image john245 commented ·

Not a question specific on DESS, but in my opinion the question is related to that.

Competitors are introducing battery systems that can trade on the energy imbalance market. Zonneplan is currently going to the market with this (https://www.zonneplan.nl/thuisbatterij) and Sessy is investigating the possibilities (https://www.sessy.nl/verdienmodellen-van-een-thuisbatterij/).

Is Victron Energy currently also investigation this business model for Victron System owners?

For example the Nexus generated Euro 20,41 on February 27th.

Update 05 March 2024:. Frank Energy will support trading on energy imbalance markets for a lot of Victron’s competitors. (https://www.frankenergie.nl/nl/slimme-diensten/slim-handelen).

1709658197859.png


1 Like 1 ·
1709658197859.png (198.3 KiB)
kudos50 avatar image kudos50 john245 commented ·

Considering the size of part 4 you probably missed the reply from Dirk-Jan:

Dirk-Jan commented

<CUT>

No, afaik we are not investigating that business model. And if we were, I could and would not disclose it here.

<PASTE>

It's an interesting topic for sure !

0 Likes 0 ·
john245 avatar image john245 kudos50 commented ·

@kudos50 I did not missed the answer, but did not want to add the update to the closed topic.

1 Like 1 ·
stefan-db avatar image stefan-db kudos50 commented ·

Anyhow the DESS can easy be adapted with adding the 'onbalans timing' ; in fact this extra you get is aprox the battery cost. Without this extra is charging on low tarif & discharging in high tarif mostly not profitable. I tested this already on historical data. But selling the left over after the night (morning price peak) & what you don't need till the morning in the evening peak is for sure profitable. This what in fact I expect from DESS.

0 Likes 0 ·
Show more comments
grua avatar image grua commented ·

Absolutely great! I'm particularly pleased that these two points are being implemented:

  • Maximizing battery charge by the end of the day to cover consumption until sunrise.
  • Periodically fully charge the battery to allow balancing

I will probably use DESS permanently as soon as these two, or at least the first of the two points, have actually been implemented! Thanks a lot!


I only notice two further things:


1. Grid set point is ignored when DESS is acitvated. However, I would always like to adjust slightly into the negative in order to avoid purchasing from the grid as much as possible:
1709659177498.png

I have tested values up to -150W: When DESS is deactivated, it is regulated to this value, but when DESS is activated, it is always regulated to setpoint 0W.


2. SOC-values are not shown correctly:
1709659331944.png

1 Like 1 ·
1709659177498.png (17.6 KiB)
1709659331944.png (12.4 KiB)
ojack avatar image ojack grua commented ·

But the two mentioned point are not implemented yet as I understood. They are on the list after DESS is live or not beta any more.

0 Likes 0 ·
grua avatar image grua ojack commented ·

correct, both not yet implemented, but in my opinion very important! For me, the first point "Maximizing battery charge by the end of the day to cover consumption until sunrise" in particular is an absolute must have for being able to use DESS.

0 Likes 0 ·
ojack avatar image ojack grua commented ·

Yes, for me too. I would want DESS to charge battery to 100% before selling to grid because it's every time better to use then to sell. Charging battery to maximum gives reserves for a unplanned bad day. We had an example on monday this week. Forecast was 45kWh and then the whole day thick dust so at the end Solar was only 4kWh.

1 Like 1 ·
simonyoungtree avatar image simonyoungtree commented ·

I still have some weird things in the ESS energy graphs on beta VRM:

fyi: In my settings I have disabled the possibility to charge the battery from the grid.

See the Grid to Battery (Orange) at 10-11h and 15-16h.:

1709654236913.png

Compare the to the graph below of the same time frame: nothing from the grid going to the battery:

1709654191816.png

I think the orange part in the DESS Energy graph should have been solar (DC solar in my case, which is forced by me by setting the inverter capacity to 0 - via Node-Red). I hope it is just a visual thing and not something messing-up the calculations

0 Likes 0 ·
1709654191816.png (18.4 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ simonyoungtree commented ·

This does indeed look like a graphing issue. We are investigating this.

0 Likes 0 ·
simonyoungtree avatar image simonyoungtree Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Having the inverter set to 0 has nothing to do with it: between 8 and 9 I had the same issue at the time the inverter was not limited.

1709800315443.png
0 Likes 0 ·
1709800315443.png (13.0 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ simonyoungtree commented ·

There is a known misleading assumption with the Energy graph: It assumes if there is more production than consumption, all consumption is met by production and the other way around: if there is more consumption than production, then all the production goes to consumption.This is quite an assumption but this is how DESS considers it internally, so that’s why the visuals reflect it that way. If we do not have that assumption, the energy graph would be even more complicated.

0 Likes 0 ·
Show more comments
daniel-feist avatar image daniel-feist commented ·

Great progress. Are there any details on how the alogrithm works within the hours slots to adjust to actual realtime PV and usage? Is it using a set-point? I did try looking in the documentaiton, but didn't see this described.

0 Likes 0 ·
Juha Tuomala avatar image Juha Tuomala commented ·

Do you plan to renew the Dynamic ESS promotion? It would be very welcome!


img-9427.jpeg


0 Likes 0 ·
img-9427.jpeg (373.6 KiB)
marceldb avatar image marceldb Juha Tuomala commented ·

The Multiplus prices have been decreased so much that the new price comes very close to the old promotion price.

1 Like 1 ·
grua avatar image grua marceldb commented ·

Correct, I currently only own one MP and am now buying two more due to the good prices!

0 Likes 0 ·
Juha Tuomala avatar image Juha Tuomala marceldb commented ·

Does this apply to Quattro as well? Put my handle into response, these notifications are broken by design.

0 Likes 0 ·
dirks-1 avatar image dirks-1 commented ·

Great progress! I'm really looking forward to the next release.


Do the enhancements also account a heater like MyPV ACthor? Of course it is just a high load for the system but the operation usecase is slightly different than a EV or heat pump.

My understanding for EV or heat pump is that they produce the high load when they need it and the ESS just need to deal with it and bring this load into account.

The MyPV heater just steps in when everything is already served as the last high load to use only PV sureplus when it would flow into the grid. But it can be improved to use it with higher efficiency. When the DESS decides to use the grid to charge the battery because of low grid costs it could also feed the MyPV heater with a settable ratio of load sharing. It could be possible, depending on the gas/oil price, that heating the water is cheaper with grid energy. The gas/oil price is always a static contract fee. So calculating it is not that difficult, i guess.

But could be also possible that selling to grid out of PV makes more sense instead of feeding the MyPV heater.

Connected via Modbus TCP, VenusOS has the possiblity to bring that into account. At the moment it is a very simple thing. Every energy what would sold to the grid is going to the MyPV device. But that could be improved with DESS a lot.

At the moment, always if DESS decides to feed the grid this load will be consumed by the MyPV device. I think this produces problems because it is then counted as internal load. So DESS is not able to sell to the grid (when the water temperature is lower as the target value of the MyPV device). I think this situation is not good for the DESS alogrithm, DESS expect to feed in but internal load happens. But if VenusOS would be aware of the device it can be included.

I'm using it in that way: https://www.victronenergy.com/live/actor_ess

Also i really would like to see the MyPV device in VRM like an EV Charger.

0 Likes 0 ·
dirks-1 avatar image dirks-1 dirks-1 commented ·

@Dirk-Jan Faber (Victron Energy) any thoughts about this? I think for customers with Acthor in the system DESS will never work as expected when it does not take the device into account.

I also noticed if DESS decided to feed the grid in the morning (even when the SOC is quite low) then it will never charge the battery because of the internal load of the MyPV device what consume the energy planned to go to grid. Because of the internal load matching the PV sureplus the system thinks there is not enough energy to charge the battery. That is disturbing the algorithm a lot, i guess.

In my case there is a 9kW heater connected. So it is able to consume a lot.

I suggested to include a general heater device in dbus https://github.com/victronenergy/venus/issues/1237 with that we could bring any heating device in consideration.

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ dirks-1 commented ·

At the moment we don't do the prediction of heavy loads well enough. That is a known limitation, but there are plans on adding better support for those. But that will require some more patience.

1 Like 1 ·
dirks-1 avatar image dirks-1 Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Will you consider to have a special prediction for MyPV and simliar devices?

0 Likes 0 ·
Show more comments
kudos50 avatar image kudos50 commented ·

After the beta11 update the system now seems to invert the hysteresis percentage back to grid right after it was charged ?

I have my min soc set to 45% and every single morning my DC PV starts charging the battery to 47% before the inverters kick-in to invert excess DC solar to grid. The 2% gained normally gets inverted at the highest price at the end of the day.

But this morning it seems to charge and invert a bit later. Is this related to the code changes for #2 ? At first glance this result seems highly inefficient due to chemical losses and battery costs.

<edit> it seems to have stopped discharging at 46% when the next schedule started and was set to 46%. will set inverter to 0 and see if forcing additional solar charge to battery will act the same at the end of a schedule.

0 Likes 0 ·
kudos50 avatar image kudos50 kudos50 commented ·

@Dirk-Jan Faber (Victron Energy) same thing happened again today but the impact was a lot less (9:58 so only 2mins of inverting ~4kW to grid).

System first tries to charge from low soc (45%) to low hysteresis (47%) but if that value is exceeded then it starts to invert back to grid before the next full hour.

I tried replicating this during the day but to no avail. When attempted you don't have the low soc scenario and behaviour is different.

1% or 2% incorrect inverting to grid like today and yesterday doesn't seem much but for users with larger batteries and reoccurrence on every sunny DC-PV morning gains in numbers easily.

0 Likes 0 ·
Show more comments
dirks-1 avatar image dirks-1 commented ·

I just noticed when i charge my EV from the grid at the time my battery is charged from PV it will show the grid consumption as grid=>battery. But that 6.29kWh was going to EV from the grid. My wallbox is behind the AC Out and i have the ev charger in vrm via dbus-mqtt.

1709729280724.png

0 Likes 0 ·
1709729280724.png (27.7 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ dirks-1 commented ·

This looks related to the graphing issue that simonyoungtree reported. We are investigating the cause.

0 Likes 0 ·
dirks-1 avatar image dirks-1 Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

ok, i had DESS disabled at the moment if this is important information. Because it was not charging the battery. SOC was at 17% in the morning and i collected more than 40kWh today, i guess because of my issue with MyPV ACthor i described beyond at another post.


Additionall information: It was not 6.29kWh to EV as seen here. So there is not only a graph thing but also counting.

1709740738599.png

Wouldn't it be possible to include grid to evcs and pv to evcs and battery to evcs to energy graph and to the EVCS tab?

Another edit:

My OpenWB counted 6,31 kWh at this charging process. So the EVCS counted less but in the engery graph it is correct.

1709741665583.png

0 Likes 0 ·
1709740738599.png (13.2 KiB)
1709741665583.png (11.3 KiB)
ronaldt avatar image ronaldt commented ·

It seems that Target SOC still has high priority and is not flexible when circumstances change. There is more sun then expected and PV brings 6000+ Watt. But target soc is reached and excess is sold to the grid. But at this moment the grid price is low. So I rather have this excess in my battery (even better my car but my Victron EV charger on auto does not want to start, but that is another challenge).
I presume this is unwanted?

schermafbeelding-2024-03-06-om-141927.png

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ ronaldt commented ·

I am unable to check it on your system, but am I right in assuming that you are running 0.1.14 with and imported the latest flow? I mean the one that looks like this: https://raw.githubusercontent.com/victronenergy/dynamic-ess/main/doc/img/dynamic-ess-flow.png

0 Likes 0 ·
ronaldt avatar image ronaldt Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

@Dirk-Jan Faber (Victron Energy) Thanks for the reply.

I was running on Auto (not node red). Installed 0.1.14 but missed the new flow. I have installed the new flow now and configured the node. Switched to node-red again and will check what happens in the next days when the sun starts shining.

System is: Dynamic ESS - c0619ab2e756 (NL) - Node-RED. Please have a look to see what happens.

0 Likes 0 ·
ronaldt avatar image ronaldt ronaldt commented ·

To better understand what the system decides I would like to understand the graph below. I think it is only showing the buy and sell price, and it is not taking into account the efficiency of the system (90%) and the cycle cost of the battery. The conclusion that you sell at the wrong moment because later you buy for a higher price can not be made solely on the basis of what this graph shows. Is this correct?

schermafbeelding-2024-03-07-om-102255.png

My system sells PV at 11:00 for € 0,212 and plans to buy at 22:00 for € 0,24.
But if I would store PV in the battery I have to take into account 10% loss and € 0,01 ct/Kwh cycle cost. And therefore it decides to sell at 11:00 ?????

schermafbeelding-2024-03-07-om-103034.png

0 Likes 0 ·
simonyoungtree avatar image simonyoungtree commented ·

DESS ignoring Active SOC limit (45%) set by Battery Life, causing charging from grid to battery the hour after.


1709798946656.png

1709799189164.png

From the DESS Energy graph, you can see the consumption (car charging) being fed from the battery and while doing so going through the bottom limit:

1709799283993.png

Whether it was smart to dump the battery at that time anyway, given the much higher prices a few hours later is questionable:

1709799502228.png




0 Likes 0 ·
1709798946656.png (25.2 KiB)
1709799189164.png (12.8 KiB)
1709799283993.png (9.3 KiB)
1709799502228.png (16.5 KiB)
peter-neuhoff avatar image peter-neuhoff commented ·

Hello,

something I noticed which is strange behaviour that DESS is start charging the battery from the grid if the solar forecast is not met. THis even happens to peak energy pricings. Anyway to stop this behaviour. from my perspective it would be much more beneficial if DESS is simply adjusting the battery usage for upcmoing forecasted demands rather than charing to highest prices just to be able to provide energy later to maybe even lower grid prices...


Best regards

Peter

0 Likes 0 ·
ronaldt avatar image ronaldt peter-neuhoff commented ·

To me it seems that the target soc is like a holy grail. It must be the result. I also see it the other way around. A lot of PV is available (yeah!), but half of it is dumped to the grid at a low price because it is not needed to make the (low) target soc.
img-6965.png

And I much rather have my PV energy in my car. But it just doesn't start charging and just makes somebody else happy with my energy. First I have to make the minimum soc for the EV charger to start. But even then it doesn't start. Apperently because the system is steering on target soc and sends my energy to the grid or the battery, but never to my car.

I will keep monitoring. But I am monitoring with a lot of guestimations cause I do not know how it is supposed to work.

1 Like 1 ·
img-6965.png (300.5 KiB)
samurai avatar image samurai ronaldt commented ·

This was a concern already posted on https://github.com/victronenergy/dynamic-ess/issues/96

1 Like 1 ·
Show more comments
gloitom avatar image gloitom commented ·

v3.30~13

Still loading peak from the grid

loading-at-hour-change.png


0 Likes 0 ·
christoph007 avatar image christoph007 commented ·

DESS is really exciting. Once all the bugs have been fixed, it will be a really great thing.

Today I aborted another test (v3.30-13) because the behavior is inexplicable and illogical to me: instead of charging the battery as fully as possible with the first photovoltaic surplus, the battery should only be filled a little late in the day and discharged to a minimum SOC of 15% around midnight, as planned by DESS. According to the forecast, the charge level should then miraculously jump from 15% to around 50% after midnight and thus cover further demand during the night. Which miracle should fill the battery at midnight?

Why isn't the battery charged as fully as possible as early as possible during the day? The forecast with charging in the afternoon would also not have been possible due to changes in the weather. I canceled the DESS test in the morning and will now probably get through almost the entire night until sunrise and not just until midnight.

Am I doing anything wrong or dont I understand the logic behind DESS or is there a bug?

Kind regards.


img-3202.jpeg


img-3203.jpeg

img-3208.jpeg

0 Likes 0 ·
img-3202.jpeg (257.1 KiB)
img-3203.jpeg (278.9 KiB)
img-3208.jpeg (216.0 KiB)
Leon Backbier avatar image Leon Backbier commented ·

I am seeking guidance to understand an issue with my Victron energy management system. I've observed that despite the electricity prices being negative, which should ideally lead to my system charging the batteries, it is instead selling the excess solar energy back to the grid. This is puzzling, considering the system should be incentivized to store the energy under these pricing conditions.

Attached are the screenshots from my system's dashboard. As you can see, the grid is showing a negative draw (indicating that energy is being sold back), and the battery state of charge is at 19%, with the system actually discharging instead of charging. The PV inverter is generating 4543W, which seems to be ample for charging.

The second screenshot shows the energy consumption and solar production data, which also suggests that there is enough solar energy being generated that could be stored.

Could this be an issue with my settings, or is there a possible fault in the system that is causing this counterintuitive behavior? Any insights into settings I should check or adjustments I should make would be greatly appreciated.

Thank you all in advance for your time and support.

Best,

Leonschermafbeelding-2024-03-08-om-112008.png

schermafbeelding-2024-03-08-om-112026.png

schermafbeelding-2024-03-08-om-114028.png

Yesterday it sold also amost all my solar energy, for now i switched off DESS and charged my car to get most out of the pricing and solar


0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ Leon Backbier commented ·

Despite of what the provider says, the prices were not negative. Fill out the price in the formula and you still get to pay for grid usage.
The same goes for selling when the provider claims it to be negative. You still get money for it.
The algorithm calculates with the prices that come out of the formula.

0 Likes 0 ·
Leon Backbier avatar image Leon Backbier Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Thanks dirk jan but why selling to earn only the taxes and buying an hour later. Price difference is huge.


1000045323.jpg

0 Likes 0 ·
1000045323.jpg (329.9 KiB)
stefan-db avatar image stefan-db commented ·

During some export testing today I noticed that the target export power wasn't reached. Reason battery temperature was only 15°C so the BMS was limiting the output currect. Maybe it would be idea to have a relay output to start x-time before planned charging/discharging to preheat the battery (like EV's also do). Otherwise big chance planned charging or export shedules will not run complete as planned.

What do you think @Dirk-Jan Faber (Victron Energy) ?

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ stefan-db commented ·

Nice idea. I'll put it on the wish list.
Do note that you can already do that via Node-RED.

0 Likes 0 ·
stefan-db avatar image stefan-db Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Node red is ok but how to get the timing off large planned transfers?

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ stefan-db commented ·

You should be able to get those via either the victron-dynamic-ess node or the victron-vrm-api node.
But I do admit. It will take some effort to make this working.

0 Likes 0 ·
juelo avatar image juelo commented ·

I noticed the following behavior. during the day, buy price were low (~19ct) and during a period of no sun battery was used to drive the loads.
But at evening buy prices will be high (~29ct).
So from my opinion it would be better to feed load from grid during low prices and use battery at high prices in the evening?


I am on beta v3.30~11 and ESS assistent is up to date.

1709926765285.png

1709926804161.png

0 Likes 0 ·
1709926765285.png (31.3 KiB)
Andi avatar image Andi commented ·

Hello @Dirk-Jan Faber (Victron Energy)
Yesterday and today, the electricity price is at 16-17 cents. Rain is forecasted for the next 2-3 days. Why doesn't DESS plan to charge the battery at 16/17 cents?
Andi

0 Likes 0 ·

At the moment the system looks max about 36 hours into the future (if the new day ahead prices get in at 12:00). We also currently only take the solar irradiance forecast into account for the calculations.
The system does not make predictions on day ahead pricing (which is also affected by wind).
Adding that in as a factor will complicate debugging decisions of the system and probably won't add much. But we might investigate it in the future.

1 Like 1 ·
Andi avatar image Andi Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Thanks

0 Likes 0 ·
Andi avatar image Andi Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Hiho
I have now completely disabled DESS and am using a Node-RED flow with a weather forecast to also charge my battery with cheap electricity when bad weather is predicted. I think this is a very important point. That's exactly why I use Tibber. The prices at Tibber are already available today at 1:00 PM for tomorrow.

c0619ab313dc

0 Likes 0 ·
ahtih avatar image ahtih commented ·

Today DESS almost disabled solar power and charged from grid. This is not normal.

Had to disable charger to use solar. Is it possible to limit SOC % from grid to leave room for solar? Sell to grid is disabled.

About to install EVCS next week and this behaviour would make Auto mode for surplus solar useless.

2024-03-10-14-25-48-kaare-2-vrm-portal.pngMP-II charger enabled

2024-03-10-14-23-08-kaare-2-vrm-portal.pngMP-II charger disabled


0 Likes 0 ·
ojack avatar image ojack ahtih commented ·

Are you sure this is a command from DESS? Did you switch off DESS to check this?

0 Likes 0 ·
ahtih avatar image ahtih ojack commented ·

To be honest no. But from DESS schedule I saw that DESS planned to charge battery to 100% and for some reason in the end it preferred grid over solar when battery was 99%

Too late to take screenshots from planned schedule.

vrm-portal3.png

vrm-portal1.png


0 Likes 0 ·
vrm-portal3.png (95.3 KiB)
vrm-portal1.png (59.4 KiB)

With the 3.30~17 release we've added a fix that should fix this:

  • Fix issue where PV is not used for loads when feed-in is disallowed and SOC target is 100%
0 Likes 0 ·
Show more comments
Show more comments
ojack avatar image ojack commented ·

Hello @Dirk-Jan Faber (Victron Energy) , the forecast for the next three days looks pretty optimistic. At Wetteronline.de there are only 3 hours of sunshine and in VRM 100kWh from 20kWp. Something doesn't add up.

1000018862.jpg

1000018860.jpg


0 Likes 0 ·
1000018862.jpg (258.8 KiB)
1000018860.jpg (82.2 KiB)
sarowe avatar image sarowe ojack commented ·

Ja das ist mir gestern auch aufgefallen und hat sich heute auch bestätigt. 17 kwh prognostiziert und 3,2 kwh Ertrag tatsächlich geerntet.

Ich habe auch manchmal das Gefühl die Wettervorhersage müsste bei der Solarprognose stärker gewichtet werden.

0 Likes 0 ·
Show more comments
axel-koning avatar image axel-koning commented ·

Hello, I have a little alarm sign at the status screen on the Cerbo. Looked into VRM: no active alarms, Looked in the Cerbo: no notificatios. Put the multiplus out and on: it w'ont disappear.

Put the BMS out and on. no change.versions-victron.png

Where can I find this errorcode ?status-sign.jpg

Running version 3.30~13

0 Likes 0 ·
status-sign.jpg (80.4 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ axel-koning commented ·

That seems to be a bug in Venus. Thanks for noticing it. I'll pass it on to the developer that can fix it.

0 Likes 0 ·
axel-koning avatar image axel-koning commented ·

Hello, I am missing the little button in VRM from DESS (buy, sell, off) in the top right corner of the VRM screen. Tried to claer cache and diffrent browsers but no change. When I put the slider DESS off and again to on then its apears shortly and goes away again.vrm.png

with regards, Axel

c0619ab4b607

0 Likes 0 ·
vrm.png (334.3 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ axel-koning commented ·

It looks like your site is having troubles connecting to VRM. You see the "Verbinden..." in the screenshot. It needs two way communication to be active in order to use the controls.

0 Likes 0 ·
axel-koning avatar image axel-koning Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Hoi Dirk-Jan, connection is good (every 30 sec) no error in VRM-online menu on the GX.

Still no DESS button and no pop up menu (buy, sell, off, etc). two way communication is also on. with regards, Axel

0 Likes 0 ·
axel-koning avatar image axel-koning Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

vrm-01.jpg may be to do with the performance issues ?

0 Likes 0 ·
vrm-01.jpg (1.0 MiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ axel-koning commented ·

It should show that it last updated "realtime". Which is does now. I also get to see the controls now as well when checking your site. Not entirely sure what caused it, but I doubt it had to do with the performance issues.

1710180868542.png

0 Likes 0 ·
1710180868542.png (10.8 KiB)
axel-koning avatar image axel-koning Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Found it: In VRM (Beta) in settings-general slider realtime set to on. Solved.

0 Likes 0 ·
ahtih avatar image ahtih commented ·

Solar irradiance forecast for today is 3 times less than yesterday but DESS still thinks that there will be more production (6,0kWh) than yesterday (5,8kWh). It doesn't make sense. Or what am I missing? Forecast for yesterday was almost spot-on. id 48e7da86cd8b

irradiance.pngSolar irradiance forecast forecast.pngSolar production forecast for today

0 Likes 0 ·
irradiance.png (18.5 KiB)

This is indeed an issue that we are working on resolving. If you encounter it again, please also include a screenshot of the 6kWh forecast. I think you did try to do that, but for some reason I don't see the forecast.png image.


0 Likes 0 ·
ahtih avatar image ahtih Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

I'll try to keep an eye on it and let you know. Didn't take screenshot of whole forecast. forecast.png only shows current total (0,1kWh) and forecasted total (6,0kWh) but not detailed information.

0 Likes 0 ·
gloitom avatar image gloitom commented ·

v3.30~15

Still the same issue, DESS is throttling production of pv inverter

https://community.victronenergy.com/questions/265862/venus-os-v33010-available-for-testing.html?childToView=266052#answer-266052

throttling.png

0 Likes 0 ·
throttling.png (51.6 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ gloitom commented ·

This seems to be related to https://github.com/victronenergy/venus/issues/1175. Can you add your findings to that issue?

0 Likes 0 ·
stefan-db avatar image stefan-db commented ·

Protocol continues having problem :

Current situation :

SOC = 10% (= minimum)

Forecasted consumption till 24h = 6.1KwH

Forecasted production till 24h = 7.9 KwH

Result till 24h there is a theoretical left over off 1.8KwH

DESS planning = injecting 1.8KwH in grid during production time

BUTT

From 24h till production next day is higher then consumption there is a need for 1.58KwH & this won't be there annymore. We started on min SOC and will end on min SOC at 24h.

Conclusion : grid export should be blocked!

Any export is blocked if (Sum consumption untill next day production is large then consumption) >= (forecast production in the same period + safety margin)

Quiet sure if you add this in 99% off the cases DES will work correct. Weak point stays off course that the predictions must be correct but rechecking the condition every hour will correct a lot.

@Dirk-Jan Faber (Victron Energy)


0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ stefan-db commented ·

Making predictions that always come into fruition is unfortunately impossible. So that is something that we need to live with.
But we've put "Maximizing battery charge by the end of the day to cover consumption until sunrise" high on our todo list to match the reality as much as possible.
The solution of simply blocking grid export might work in your case. For other users the solar production will exceed the battery space (some users have small batteries and large solar arrays), so they won't be happy if we do that.

0 Likes 0 ·
grua avatar image grua Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

"Maximizing battery charge by the end of the day to cover consumption until sunrise" high on our todo list


Yes!!!

0 Likes 0 ·
ojack avatar image ojack Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Maybe blocking any export if SoC is under a user defined limit.

Like a feed-in minSoC.

For node red. Is the parameter 'can I sell to grid' editable in NodeRed?

0 Likes 0 ·
stefan-db avatar image stefan-db Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Then maybe just put target SOC end off the day simply @90% or more. Then you maximise selfconsumption automatic. In the case there stays to mush energy in the battery when sunrise is there selling can be done in the morning as well (to make space for storing energy when the prices are to low to export). Prices are high in morning 7-8h & in the evening 19-20h.

By the way large solar array & small battery is a hardware configuration that is not ideal configured for these dynamic systems. Battery must minimal be able to cover the day consumption ; if you want to optimise injection price battery must be a lot larger otherwise doesn't make sense.

0 Likes 0 ·
ojack avatar image ojack stefan-db commented ·

Just increasing target SoC could lead to uneconomical charging from grid if there is not enough PV to reach the target.

0 Likes 0 ·
Show more comments
Jeroen Peters avatar image Jeroen Peters commented ·

Firstly, great work! Very happy with DESS so far.

A few questions regarding system efficiency:

- Is the current RTE used by DESS still 85%? Looking at the Multiplus 2 efficiency curves for the charger and inverter that seems a bit too high in most cases for energy arbitrage.

- Would it be possible to expose the round trip efficiency in the VRM interface?

- Would it be possible to use the full efficiency curves for the charger and inverter? So taking into account that slow charge/discharge is sometimes more beneficial due to efficiency gains?

- Is AC charging from grid and DC charging from MPPT handled differently efficiency wise by the optimization algorithm?

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ Jeroen Peters commented ·

At the moment it is indeed set to 85% (it is stored on the dbus under com.victronenergy.settings, path /Settings/DynamicEss/SystemEfficiency (and easiest to read/adjust using the custom Victron nodes in Node-RED).
It is likely to be exposed in VRM at some point in an advanced settings section. But at the moment that is not too high on the list of things to do, so if you don't want to wait for that, I'd go the Node-RED route.
The same goes for using the efficiency curves from the charger and inverter. It would be real nice to use those, but at the moment we are not working on that. Most of the data can probably be retrieved using the https://flows.nodered.org/node/victron-vrm-api node.
And lastly, we handle charging AC and DC charging the same right now. But that is also a point on our (long) todo list.

2 Likes 2 ·
ojack avatar image ojack Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

By the way. The DESS Parameter 'max. charging power' is the base to calculate the timeslots for charging the batterie, correct? So it should be set to for example 5kW at a system of 3xMulti3000 because this is the max. charging power from ac/grid.

But if the system has additional DC mppt Chargers the DESS then limits the charging to 5kW too. Even if AC+DC could give much more PV Power. But setting the parameter for example to 5kW AC + 4kW mppt = 9kW would leed to problems if DESS wants to charge at night and calculates with 9kW and only gets 5kW.

Or did I understand something wrong here?

1 Like 1 ·
That is correct. And there is definitely room for improvement and adding some more advanced settings here. Though, as the system does recalculate the schedule each hour, it probably won't make too big of a difference. The night time prices tend to not change too much; it still has time to make up for charging less as intended in most cases.
1 Like 1 ·
ojack avatar image ojack commented ·

@Dirk-Jan Faber (Victron Energy) Can I edit this parameter depending on my actual SoC via NodeRed? I would like to try to allow feed in only if SoC > xy %

I could not find it or searched the wrong nodes.

1710426149966.png

0 Likes 0 ·
1710426149966.png (25.8 KiB)

This is indeed possible, but not supported. You could use the custom output node to write the restriction to `com.victronenergy.settings`, path `/Settings/DynamicEss/Restrictions`. Valid entries are:

  • 0 = No restrictions
  • 1 = No exporting from battery to grid
  • 2 = No importing from grid to battery

Update: That might not be the one that you circled. Alternative is to write to the currently active schedule. Same service, path: `Settings/DynamicEss/Schedule/0/AllowGridFeedIn`. Valid entries are:

  • 0 = Not allowed to feed into grid
  • 1 = Allowed to feed into grid

If you use the first suggestion, you could also use the `/Settings/DynamicESS/Schedule/0/Restrictions` path for setting the restrictions _only_ during that hour; perhaps that is the safer option.

As mentioned, this is not supported use of the system. The paths with the schedule in it will get overwritten automatically each schedule update (hourly). In order to get it to work, you might want to write the value after it has change. If you set an custom input node that listens to changes on the field, you would be able to change it to your need most quickly.

0 Likes 0 ·
ojack avatar image ojack Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Thank you very much, I actually meant the second option and will try writing '0' in the schedule until the battery is full enough. I'll let you know, but it could be next week.

0 Likes 0 ·
Ants Kosmos avatar image Ants Kosmos commented ·


Dirk-Jan Faber (Victron Energy)

Please set in Estonia battery usage one hour earlier. Us day electricity day tariff started at 7:00 and ended 22.00. Weekdays. 7.00 is is a strategically important time. People wake up to go to work, and that's when electricity is used the most in the morning.


The biggest change concerns the night transmission fee. It is undoubtedly positive for the customer that the time of use of the nightly, or cheaper transmission fee, will be extended by one hour on weekdays and will be valid all year round from 10:00 p.m. to 7:00 a.m. Also, in the future, the cheaper transmission fee will apply 24 hours a day, in addition to weekends, on national holidays from Monday to Friday.

https://www.elektrilevi.ee/en/uudised/avaleht/-/newsv2/2022/02/18/1-martsist-pikeneb-elektrilevi-kliendile-soodsama-oohinna-kasutamise-aeg-ja-lisanduvad-uued-vorgupaketid

screenshot-2024-03-14-at-172508.png

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ Ants Kosmos commented ·

Thanks for reporting. Can you tell me the vrm id of your installation so I can check where the cause lies?

0 Likes 0 ·
thiemoh avatar image thiemoh commented ·

Hello team,
I'm curios why my system plans to not charge the battery more with Dynamic ESS Active:
Actually currently he doesn't want to charge the battery and only feeds in.
1710489552806.png


VRM ID: c0619ab1f6b5
I configured it yesterday evening (Tibber dynamic price for buying and quite low price for feed in). As I have some Server equipment my battery needs a minimum of 45% at 00:00 to be full enough to not use grid during night and in the morning beeing at ca. 15% which is my SoC lower limit.
Lateron I'll update the Multiplus and install ESS 18c and see if that changes anything.

Additionally there might be an issue with the future price, as price for the next day is published roughly at 13:00 for the next day thus maybe tempering with proper calculation.

0 Likes 0 ·
1710489552806.png (222.0 KiB)
gloitom avatar image gloitom thiemoh commented ·

v3.30~17

same here, not loading anymore, with activated DESS.

dess-not-loading.png

0 Likes 0 ·
dess-not-loading.png (136.3 KiB)
Show more comments
daniel-feist avatar image daniel-feist commented ·

Thougt I would download latest Cerbo firmware and give DESS another go. It's still making weird decisions though.

Why would it not charge battery from 3-5am @ 7.5p/kWh (for use once cheap rate ends) rather than the 8kWh @ 30p/kWh from the grid between 5-8am?


VRM ID: c0619ab38079



1710494215655.png


0 Likes 0 ·
1710494215655.png (55.4 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ daniel-feist commented ·

Thanks for reporting. That indeed looks wrong. At the moment we haven't been able to find the cause for this. Can you leave DESS on for at least one more day so we can gather some more data? The plan for tomorrow seems to be not to do this.

0 Likes 0 ·
daniel-feist avatar image daniel-feist Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

I think I worked out the reason! I'm pretty certain that consumption is from my car-charger which is on AC-in. In ESS configuration I have "Self-Consumption From Battery: Critical Loads Only" set. Given this, this behaviour does make sense and I would say is correct. If I didn't want this I should change this setting. (this also explains why this wasn't in the plan I guess).

I've been running DESS for just over a day now and it seems to be running much better than before in terms of dealing with the realities of actual usage/consumption. Is there a description somewhere of how it is doing this? Is it using a grid-setpoint and/or import/export limits?

In terms of other feedback:

1) It is not charging battery to 100% once a day, which would be ideal. Maybe it would if I enabled battery-life though?

2) My overnight import is 7.5p/kWh and my export rate (all day) is 15pkWh. Even though my battery cost is set at only 0.01 €/kWh if makes no attempt to make any profit from this difference in tarriff. I know you are considering efficiency, but still, there should be profit.

3) It is great that during the day is does no put all PV production to battery if it knows there is already sufficient SoC for the evening. I wonder though, is it using a buffer above the forcast amount for this? Because what is not ideal is if you use a bit more electicity in the evening than forcast, and then it starts importing.

4) I still need to artifically reduce my charge rate from 11kW -> 5kW to ensure that DESS will gently charge battery over the whole cheap period. If I leave charge rate at 11kW it does this, which is not ideal either for battery or for efficiency:


1710586829327.png




0 Likes 0 ·
1710586829327.png (33.3 KiB)
daniel-feist avatar image daniel-feist daniel-feist commented ·

I spoke to soon. Doing weird stuff again:

1) Hardly charged battery on overnight cheap rate, then discharged 2.6kWh to grid 5-6am, only to import again from 5-9am.

2) Whe the sun finally came at at 2pm, rather than charge the battery to have cheap power for the evening it was exporting it all and planning to use the grid in the evening.

This is a lot worse that scheduled overnight charge and ESS, the idea is that it should be better. Turned it off at 14.45.


screenshot-2024-03-17-at-144649.png

screenshot-2024-03-17-at-144637.png


0 Likes 0 ·
Show more comments
dirk-s avatar image dirk-s commented ·

@mvader (Victron Energy)

I more often get the below error message in VRM regarding DSS. What's the reason for this? I often oberserve it after Firmware Update of GX. An additional switch off and on of DESS in VRM seems to clear it. Is it on your side or on my side? ESS assistant of MP is already updated.

1710504097134.png

0 Likes 0 ·
1710504097134.png (92.7 KiB)

I haven't seen this error often before. I was just searching for the cause when it cleared. I'll keep an eye on it.

0 Likes 0 ·
dirk-s avatar image dirk-s Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

@mvader (Victron Energy)

thanks. Nearly every time it happens directly after Venus Firmware Update.

0 Likes 0 ·
grua avatar image grua Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Also had this after last Venus OS update

0 Likes 0 ·
Show more comments
david-hruska avatar image david-hruska commented ·

Hello, I noticed that the battery charging schedule is often not fulfilled. In the attached photos, there is a day when DESS was supposed to charge the battery from solar excess all day. Unfortunately, I don't have a photo from the morning. In the end, it hardly charged from solar panels at all, but only from the grid. Yesterday, I upgraded the FW to version 3.30~17, and today DESS behaved very well. Could it be that the issue is already resolved?


img-5551.pngimg-5556.png

0 Likes 0 ·
img-5551.png (233.7 KiB)
img-5556.png (334.0 KiB)
emilleopold avatar image emilleopold commented ·

DESS do not feed to grid when battery is full.

I am using DESS for several months and in general it works fine.

Now I found a problem and may be it is related to DESS :
- I am from Germany and here it is not allowed to feed battery power into the grid, if you buy batterie power from the grid. But i can feed solar power to the grid. Therefore I have disabled sell to grid in the DESS configuration.
- Now I have seen several times that, if the battery is full and DESS wants to keep it full (DESS final SOC is 100%) the output power of the MPPTs is reduced to a very small value.
- If the battery is not at 100% then the output power of the MPPTs is again maximum and charge the battery.

I have made in NODE-RED a logic to switch to SELL Mode (DESS MODE = 3) when the battery SOC is > 99% and switch back to AUTO Mode (DESS MODE = 1) if the battery SOC is < 98%. Now the MPPTs output power keeps the maximum and I feed into the grid.

Question : Is this the wanted behavior or do I need to change any configuration ?
I do not want to sell battery power to the grid, but I want to sell the maximum solar power to the grid.

Thanks for any information.

0 Likes 0 ·
ojack avatar image ojack emilleopold commented ·

You need to check at section system that you can feed into grid. And you should enter your sell price at the section sell price.

And at section battery you need to check 'do not feed from battery to grid'.

0 Likes 0 ·
grua avatar image grua ojack commented ·

No, if I remember correctly, it was the same for me, some days ago:

Sell energy to the grid: activated

Discharge battery to the grid: deactivated

At SOC 100%, the MPPT is regulated down when DESS is activated. As soon as DESS is deactivated, the MPPT regulates up again and feeds into the grid, as it should be.

@Dirk-Jan Faber (Victron Energy) I think, that's a bug

0 Likes 0 ·
gloitom avatar image gloitom commented ·

v3.30~21: consumption forecast wrong

Since my system went live, I have never had a nighttime consumption of less than 250W, typically 300W.

Nevertheless, the forecast regularly (every day for some time) manages to predict 0 consumption.
There are no large household atypical consumers.

Is it just my system that has this behavior?

forecast.png


0 Likes 0 ·
forecast.png (45.7 KiB)
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ gloitom commented ·

Thanks for reporting. We are aware that there still needs some extra work to be done (which is ongoing) on improving the forecasting.

0 Likes 0 ·
andrii-podanenko avatar image andrii-podanenko commented ·

Using DESS since the very beginning.

Seems like working for me. Thank you.


What I have lack of - would be great to have "Keep batteries charged - 0 price" or add ESS modes prices during specific periods during a day.


Example - I have AC in for my DESS from another Solar setup. I'm switching from "Optimized without Battery life" to "Keep batteries charged" when there is a solar excess on AC in 1.

DESS is not showing this timeframe has 0 cost , it calculates based on my DESS fixed prices table data. Which is not correct for the graph.



screenshot-2024-03-19-22-33-13-320-comandroidchrom.jpg

On above graph - arrows show bars, that must become "economy"

screenshot-2024-03-19-22-34-55-446-comandroidchrom.jpg

Above in the red square - "Keep batteries charged" mode, forced by me via NodeRed, cause 230V on AC in 1 - excess solar from previous system in cascade.


https://betavrm.victronenergy.com/installation/380883/share/813a14fb


Previous system in cascade just for the reference

https://betavrm.victronenergy.com/installation/370388/share/c0152a83


Technically , I see this as adding column for mode's price in DESS table

screenshot-2024-03-19-22-40-18-301-comandroidchrom.jpg

This would be helpful.


Thank you @Dirk-Jan Faber (Victron Energy)

0 Likes 0 ·
ronaldt avatar image ronaldt commented ·

@Dirk-Jan Faber (Victron Energy)
After updating to release 3.30 (not beta) and installing the v510 on the GX (including New Assistant) I get an error on VRM. "Gateway - Dynamic ESS error code: ESS functionality not available"
After upgrading (two days ago) to 3.30~18 I already got an error "Dynamic ESS error code: No matching schedule available". But after a restart ot the Cerbo this seems to be gone (although I didn't see it in the graph on VRM.
I also updated Node-Red version to 0.1.17.
I am not able to see the dess dashboard anymore via the proxy since about one week. It just doesn't load anymore.
And I am not able to see the node-red directly on Cerbo (venus.local:1880/dess) because I get an error: site can not be reached. Where venus.local is my local ip. Just going to the ip brings me to the console.
So I am going into the blind right now. The first thing I like to fix is the Dess is working again. Thanks for any help.
schermafbeelding-2024-03-20-om-111304.png

schermafbeelding-2024-03-20-om-111825.png

Old screenshot from dashboard:

schermafbeelding-2024-03-20-om-112801.png

Update: 12:36
After resetting the Cerbo (again) the error has disappeared. But I still do not have pricing info.
schermafbeelding-2024-03-20-om-123827.png

0 Likes 0 ·
Dirk-Jan Faber (Victron Energy) avatar image Dirk-Jan Faber (Victron Energy) ♦♦ ronaldt commented ·

You will probably need to re-import the correct flow (it got an update from 0.1.14 to 0.1.17).

0 Likes 0 ·
ronaldt avatar image ronaldt Dirk-Jan Faber (Victron Energy) ♦♦ commented ·

Thanks, that worked for proxyrelay/dess. And venus.local:1881/dess works as well :)

And also DESS VRM is working again.

schermafbeelding-2024-03-20-om-205651.png

1 Like 1 ·

Article

Contributors

dfaber contributed to this article