victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

ESS doesn't discharge battery to grid #27

Closed Mableeker closed 11 months ago

Mableeker commented 11 months ago

Hi,

I've setup the ESS, charging goes well according to the calculated schedule.

Discharging is not going well, the ESS sets the setting "self-consumption above limit" to "PV" instead of "PV & Battery".

If I change it manually it starts to discharge, until the ESS resets the settings.

Furthermore, the discharging is limited to 300 Watts, while the limits are set to 2000 Watts. I can't find this eather.

Where can I modify this?

Regards, Marc

Mableeker commented 11 months ago

IMG_3613 IMG_3612

MichaKersloot commented 11 months ago

Hi,

is this with the Dynamic ESS Node-red setup? I'm not sure, but I think the schedules are used to set the battery to 'idle' and not to charge or discharge your batteries, that is done with the grid setpoint. You can look in the node-red dashboard at the bottom what the current settings are.

Mableeker commented 11 months ago

Yes it is with Node-red. It sets a schedule every 10 minutes and changes "self consumption above limit" to PV, so only PV is fed in the grid. If I select PV&Battery then it feeds in battery.

MichaKersloot commented 11 months ago

That is the method that is used to set the battery to 'idle' So if the ESS algorithm says the battery should be idle (as you can see in the dashboard at the bottom) it creates a 10 minute schedule. If the algorithm thinks you should discharge your battery (and PV if available) it wil disable the schedule and set the setpoint to the greatest minimal , -2000 for example. The settings that are used for charging your battery.... I'm still finding out ;-)

Mableeker commented 11 months ago

According to the dashboard it should be feeding in right now. Grid setpoint is set to negative number (-2000), schedule is active with SOC limit 10%. The only setting that prevents feeding in is the "self consumption above limit"-> PV instead of PV&Battery....

I'm also still finding out, but I'm stuck at some points.

MichaKersloot commented 11 months ago

What is the: image

if that one is true, there is a schedule with a SOC setting and only from PV. My understanding is that when the 'set battery idle' is false no schedules should be enabled.

Also just found out: Charging battery from solar means: Grid Setpoint: 0 , Set battery idle: false

Mableeker commented 11 months ago

Rightnow it is feeding in (at the lowest price of the day...): Grid setpoint (gs_min_max) -0.6 Set battery idle false Enable Grid feed-in true

I'll wait another 24 hrs tosee what happens and how the behaviour is.

MichaKersloot commented 11 months ago

I suspect there is no active schedule anymore?

I'm not sure how new your system is, but it seems some historical data in the VRM is needed ( I also only have 2 weeks of data now). I find the lower graph in the node-red dashboard with all the information (except prices) very informative. I'm not sure why the actions are not always the proposed actions, but that is a different issue ;-)

Mableeker commented 11 months ago

Correct, no active schedule right now. I'll see how it works next 24 hrs.

I still have to solve the issue that the maximum feedin is 300 watts. This is with and without node-red / ESS

I think I have to revert the Venus OS on the MP II GX to a 2.x version via an USB stick, but the MP keeps teling me that there is no firmware. Reverting via remote VRM didn't do the trick.

MichaKersloot commented 11 months ago

As the MP II GX is the device that is inside the EasySolar II GX and I'm running V3.00 Large on my GX, I don't think a downgrade is necessary per sé. There are Quite a lot settings that could influence the feed-in I think. Maybe you already know them, or you know more than I do, but I've found:

Mableeker commented 11 months ago

Yes I know them all and checked them all.

There is something different, because it worked ok until I installed a home assistant integration on my ha server that fiddled with the Victron. Since then discharge is limited till 300 watts. Integration has been removed but issue persists.

MichaKersloot commented 11 months ago

Hmm, I've also seen there are a lot more settings 'under the hood' which are exported to HA. I think there is a reason the HA integration suggests to be read-only ;-)

But I think you are more looking to revert back to default settings and probably a firmware change even won't help as most settings should be unaltered. Just an suggestion. But there is an option to set all settings to 'Default' in the VE Configure 3 app. Maybe that is an option?

Mableeker commented 11 months ago

I tried that option, without result. I did veflash the firmware of the mp, without result. And some specific settings were not touched by these actions, what makes me think they are stored somewhere else, perhaps the gx section. That's why i want to revert the os.

MichaKersloot commented 11 months ago

Maybe: https://www.victronenergy.com/media/pg/Cerbo-S_GX/en/reset-to-factory-defaults-procedure.html this clears the /data partition on your device with some exeptions. This is what I see the script does, never tried it myself.

Mableeker commented 11 months ago

Thanks, didn't see this before, I'll try tomorrow!

Mableeker commented 11 months ago

Result! That procedure did the trick. A lot of reconfiguration had to be done offcourse.... the hardest was to get dynamic Ess on node-red running again. I solved that by deleting the site in VRM and adding a new one.

Thanks for the help!