victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

[VRM - Bug]: sell to grid has a to high priority #115

Closed pokeplayer2 closed 4 months ago

pokeplayer2 commented 7 months ago

Contact Details

No response

VRM portal ID

b827eb6ff17f

Country / region

Germany (de)

B max

26

TB max

7

FB max

7

TG max

30

FG max

30

Battery costs

0,02

Buy price

(p+0.21)*1.19

Sell price

0,115

feed-in possible

yes

feed-in control

yes

What happened?

Sell solar power to grid and battery do nothing

When did it happen?

04/11/2023 09:45

Screenshots

grafik

I had to switch off dynamic ESS ~ 9:45 to stop selling to grid

schwede70 commented 7 months ago

Same behavior on my system. Priority for an ESS system should still remain in buffering solar energy in battery instead of selling to grid. Sell price was defined with 8ct/kWh (true selling value). I now reduced to 1ct/kWh to enforce the charging of the battery instead of selling to the grid - Just to try it out. Now the system is charging with 70% of solar power and selling 30% to grid. Behavior is not understandable.

BR Dirk

vrm-batteryCharging

dirkjanfaber commented 7 months ago

We are aware of this and working on it. Priority will likely become based on the cheapest price between storing it into the battery vs buying it from the grid.

dirkjanfaber commented 7 months ago

With version 0.1.10 we've largely solved this by adding restrictions per scheduled timeslot. These are automatically set to the most useful restriction, mainly depending on buy / sell price. Currently there are the following options:

The global restrictions still have persistence above these settings. Also see here.

With the Node-RED flow, you can always add extra logic to the flow, if you need more or less strict restrictions during specific hours.

schwede70 commented 6 months ago

Hi, Is there any further update on this topic? Last days my system was still selling solar power to the grid instead of charging the battery. Do I have an influence on that behavoiur while using the "betavrm" with V3.20~18 on my Cerbo GX device? BR

schwede70 commented 5 months ago

Hi, I'm still stuggeling with the behavior of charging the battery from solar power. In the example below (screenshot from today), I have a battery SOC of around 88% (discharge is only allowed until 75%), sun is shining and the solar power is higher than my consumption, but the system is not charging the battery, but selling for 8cent/kWh to the grid. Is this a feature (intended behaviour)? In my opinion, the system should charge the battery first before selling to the grid (basic strategy of an ESS). Is there the possibilty to change parameters for changing this behavior?

vrm-batteryCharging2

dirkjanfaber commented 5 months ago

At the moment that is still not covered by the system. Priorities have been slightly different last weeks, but we are currently working on solving this issue. I expect it to be added to a candidate release before the end of the month.

Edrettikketet commented 4 months ago

I noticed the same problem.
My system is always pumping the solar energy straight into the grid, while I would rather prefer to store it in the batteries (until their full) and prefer usage of it myself. It seems to me that pumping it to the grid is only profitable when the grid price is high enough, but using the current from the battery seems to me preferable in the peak hours as well.

dirkjanfaber commented 4 months ago

Can you try again with running version 0.0.14 with firmware 3.30~7 (or above when released)? This adds extra strategies for not blaming the wrong forecasts on the grid all of the time.

Closing this issue. Please re-open a new issue if the problem persists.