victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

sell to grid (still) has a to high priority, the charging of the batteries is oscillating #127

Closed Edrettikketet closed 4 months ago

Edrettikketet commented 4 months ago

This issue is a continuation of issue #115. ESS settings 66% load schedule 67% loadschedule VRM scheme

My SOC is set to 65%. When the sun comes out, the MPPT starts loading the batteries until it is 67%. Then it starts to push solar and battery power into the grid. When the charge level is back to 65% it starts loading the batteries again. This all happens in the same hour (same sell price of the current and the dynamic ESS node is updated to 0.1.14).

It starts oscillating within the 2%. How?

dirkjanfaber commented 4 months ago

Did you import the new flow that adds the strategies and restrictions? Can you provide your site id?

Edrettikketet commented 4 months ago

102c6b644cfd

dirkjanfaber commented 4 months ago

I see that you are running firmware 3.21. Please use the latest beta feed for the strategies and restrictions to function.

You can switch via the remote console to this: Settings -> Firmware -> Online updates -> Update feed.

Edrettikketet commented 4 months ago

This doesn't make a difference. The batteries are discharging again at 67%. uncharging again

dirkjanfaber commented 4 months ago

You still need to import the latest flow: https://github.com/victronenergy/dynamic-ess/blob/main/examples/fetch-dynamic-ess.json

Or do that from Node-RED: image

AbelLykens commented 4 months ago

image I tried importing into a new flow, I got this error. Any thoughts?

I would really like some UPGRADING.md, because I have not used NR before and this is all new for me.

dirkjanfaber commented 4 months ago

You need to install node-red-dashboard first, which you can do from the palette manager. I overlooked the need for that.

dirkjanfaber commented 4 months ago

I've updated the README to handle this. Btw the VRM implementation is really comparable to the Node-RED implementation. If you want to go for the more user friendly approach, I'd advice to go that route. You can read about that on https://community.victronenergy.com/articles/256073/dynamic-ess-on-beta-vrm-part-4.html

AbelLykens commented 4 months ago

Thanks, that is a step in the right direction. After installing node-red-dashboard I still get:

Flows stopped due to missing node types. ui_template

image

I did this, first install node-red-dashboard. image

Then I deleted the existing flow, then re-imported. Seems broken [?].

dirkjanfaber commented 4 months ago

That MODULE_NOT_FOUND is unexpected. It looks like node-red-dashboard did not install properly.

You can safely delete that unkown: ui_template node. But this is a bit strange.

Edrettikketet commented 4 months ago

I have exactly the same problem. How to remove these nodes and reinstall them again?

dirkjanfaber commented 4 months ago

A click on the node, hitting the backspace button and deploying should be sufficient.

AbelLykens commented 4 months ago

A restart seems to be required after installing node-red-dashboard. It now works here.

AbelLykens commented 4 months ago

Wait no it does not: image But the flow now runs...

AbelLykens commented 4 months ago

(I opened #128 for this question so the original question remains)

dirkjanfaber commented 4 months ago

Can you click on the box left from the "Enable Dynamic ESS (mode: Node-RED)" inject node? image There should be a 4 below both orange nodes.

Edrettikketet commented 4 months ago

That MODULE_NOT_FOUND is unexpected. It looks like node-red-dashboard did not install properly.

You can safely delete that unkown: ui_template node. But this is a bit strange.

How can we correct this? Is there a way to delete these nodes and reload them? I have indeed removed the unknown "ui_template" node, and it works now, however, I like to repair this issue.

dirkjanfaber commented 4 months ago

I see that you have remote support enabled. If you don't mind, I can fix it remotely for you. Alternative is that you wait another day until I've finished describing on how to do it yourself.

Edrettikketet commented 4 months ago

You may do it, but I always like to know how I can do it myself. So you may also describe it tomorrow. (I have some patience ;-)

dirkjanfaber commented 4 months ago

It turns out that it was just a matter of restarting Node-RED. No more "MODULE_NOT_FOUND" messages. It was less work that I had in mind to describe.

However I will describe the more thorough method here tomorrow.

AbelLykens commented 4 months ago

@dirkjanfaber I'd like to take this opportunity to thank you for the work, in depth analysis and help over all. It's easy to get VERY annoyed by Victron/the product, but your help was very good. So: thanks!

dirkjanfaber commented 4 months ago

You are welcome. Happy to help.

You probably already know, but on https://community.victronenergy.com/ there are also a lot of knowledgeable and helpful people for all Victron products. In case of trouble, that is also an excellent place to ask questions.

I'll close this issue now as it has derailed a bit from the original problem. And, with the updates, I am fairly sure it has been resolved. If you still encounter the problem, just open a new issue.

Edrettikketet commented 3 months ago

This comment was closed, but after updating as recommended the problem still persist. The system is still oscillating between 55% (SoC) and 57% battery charge percentage.